This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix configure test for ELF in BFD for static libraries


On Fri, Jul 18, 2008 at 12:09:20PM +0000, Joseph S. Myers wrote:
> GDB has a configure test for ELF support in BFD.  This is a link test, 
> linking with $LIBS -lbfd -liberty $intl.  If using zlib, this means -lz 
> comes before -lbfd, and with static libraries that means -lz will not be 
> used to resolve symbols needed by -lbfd - so the configure test fails when 
> BFD requires zlib and a static zlib is being used.
> 
> This patch puts the previous $LIBS setting after the extra libraries being 
> tested rather than before, so that -lz can be used to resolve symbols 
> needed by -lbfd.  OK to commit?
> 
> 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* configure.ac: Put old value of $LIBS after -lbfd -liberty $intl
> 	in BFD ELF check.
> 	* configure: Regenerate.

OK.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]