DT_TEXTREL and zlib

Robert Connolly robert at linuxfromscratch.org
Mon Nov 2 09:35:59 PST 2009

On Monday November 2 2009 03:14:31 am Dean Takemori wrote:
> I've been attempting to build a new HLFS system from the
> Onward rsync branch.  When building zlib-1.2.3, I've run
> into the DT_TEXTREL error.
> I've used the scripts, packages and patches from branches/Onward
> branches/Onward/temporary_system
> branches/Onward/downloads/packages.txt
> branches/Onward/downloads/patches.txt
> with the following differences:
> 1) I've used the released glibc-2.9 rather than the snapshot
> listed in packages.txt
> 2) I've used the released gcc-4.2.4 rather than the snapshot
> listed in packages.txt
> Is this a known issue?  Should I be using a different set
> of patches or packages?
> -dean takemori

Are you using CFLAGS? This shouldn't happen because GCC should be using -fPIC. 
For a workaround, add -fPIC to zlib's Makefile. And pay attention to see if 
this happens with other packages.

-------------- 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/20091102/f7ac9a61/attachment.sig>

More information about the hlfs-dev mailing list