binutils and zlib

Robert Connolly robert at linuxfromscratch.org
Mon May 25 18:38:02 PDT 2009


Binutils will fail some --static tests if libz.a is missing.

final_system/zlib.txt needs to build and install libz.a. It should be moved 
to /usr/lib/static so Binutils can not link to it during her build. During 
Binutils tests -L/usr/lib/static needs to be added to LDFLAGS... also try 
LDFLAGS_FOR_TARGET,  LDFLAGS_FOR_BUILD, and maybe BOOT_LDFLAGS.  If that 
doesn't work, then libz.a needs to be symlinked or copied for the duration of 
Binutils test suite.

robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20090525/15c37569/attachment.sig>


More information about the hlfs-dev mailing list