From patchwork Mon Jun 16 13:25:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 1509 Received: (qmail 28648 invoked by alias); 16 Jun 2014 13:26:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 28635 invoked by uid 89); 16 Jun 2014 13:26:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: cam-smtp0.cambridge.arm.com Received: from fw-tnat.cambridge.arm.com (HELO cam-smtp0.cambridge.arm.com) (217.140.96.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 16 Jun 2014 13:26:04 +0000 Received: from arm.com (e106375-lin.cambridge.arm.com [10.1.203.160]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id s5GDPveh019200; Mon, 16 Jun 2014 14:25:57 +0100 Date: Mon, 16 Jun 2014 14:25:57 +0100 From: James Greenhalgh To: Tom Tromey Cc: "gdb-patches@sourceware.org" Subject: Re: [RFC 0/2] let gdbserver use libiberty Message-ID: <20140616132557.GA4317@arm.com> References: <1390243792-31176-1-git-send-email-tromey@redhat.com> <87oaxxrhj4.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87oaxxrhj4.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes On Thu, Jun 12, 2014 at 09:37:19PM +0100, Tom Tromey wrote: > >>>>> "Tom" == Tom Tromey writes: > > Tom> This series changes gdbserver to build its own copy of libiberty > Tom> (using ACX_CONFIGURE_DIR) and then link against it. I've needed this > Tom> at least once (for a cloexec patch) and I've seen other situations > Tom> where it would have been useful. > > This series slipped through the cracks somehow. I'm going to push it > now. I believe I addressed all the review comments upthread. I rebased > it and rebuilt it on x86-64 Fedora 20; let me know if you encounter any > problems. Hi Tom, This seems to cause issues when building gdbserver as part of a larger Canadian Cross ARM/AArch64 build. ar ends up confused having seemingly lost the expected flags: ---- ar ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./setproctitle.o ar: illegal option -- . Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file... ar -M [