On Monday 29 November 2010 02:35:14 Gilles Espinasse wrote:
> As I have said, ipcop compile mostly LFS dev current (except gcc-4.4,
> linux-2.6.32) with some hardening options :
> glibc hardening
> CFLAGS="-Os -march=${MACHINE} -mtune=pentium -pipe -fomit-frame-pointer
> -D_F ORTIFY_SOURCE=2 -fstack-protector-all -fPIE -Wl,-z,now"
> LDFLAGS="-Wl,--hash-style=gnu"
> 
> There is still some TEXTREL in code but we live with that actually.
> Except when I try the compilation from a centos-5.5 box whre new problem
> happen.

Compile Zlib with -fPIC instead of -fPIE and the TEXTREL should go away. The 
TEXTREL is probably because of -fPIE.

robert

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to