On 16 June 2014 14:25, James Greenhalgh wrote: > On Thu, Jun 12, 2014 at 09:37:19PM +0100, Tom Tromey wrote: >> 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: The issue here appears to be that libiberty configure script probes for and finds an appropriate AR for the --build/--target combination. However, the gdbserver configure does not probe for AR but does override the AR used in the libiberty build by explicitly passing AR to the sub-builds. This has the effect of passing the systems 'ar' rather than an ar appropriate for the --build/--target combination. An alternative approach to that suggested by James is to have the gdbserver configure scri[t probe for AR to ensure that something sane is passed on to the sub-builds. Patch attached. OK ? /Marcus