DT_TEXTREL and zlib

Dean Takemori deant at hawaii.rr.com
Tue Nov 3 10:07:40 PST 2009


On Nov 2, 2009, at 9:00 PM Robert Connolly wrote:
> No. Separate clean sources. GCC pass2 has an fPIE patch, which also  
> uses -fPIC
> when building libraries. That patch also
> adds --warn-shared-textrel --fatal-warnings, which is causing your  
> error.
>
> Zlib's Makefile uses -fPIC, unless you have set CFLAGS. So it  
> doesn't make
> sense that you would get textrel. Can you show the log of the Zlib  
> build
> please.

Well, I don't know what in the environment it was, but
I cleared it out completely and started from a fresh
lfs-live cd boot and started over.

That seems to have done it. Thanks.

-dean takemori



More information about the hlfs-dev mailing list