[hardening-discuss] Linker fails on i386 and amd64 with hardening options
Jörg Sommer
joerg at alea.gnuu.de
Mon Apr 28 16:43:36 UTC 2008
Hello everybody,
I've got a bug report #478057 and I'm seeking for help. I've enabled
hardening support for slrn. The configure script tries to run
gcc -g -O2 -Wall -g -O2 -fPIC -fPIE -fstack-protector -Wformat=2 -Wextra \
-D_FORTIFY_SOURCE=2 -Wl,-zrelro,-pie conftest.c
but this fails on i386 and amd64.
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib64/crt1.o: relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib64/crt1.o: could not read symbols: Bad value
Can someone of you help me? The build also fails on Sparc, but I don't
have the config.log to tell why. I expect it's the same reason.
Regards, Jörg.
--
“Computer games don't affect kids. If Pacman would have affected us as
children, we would now run around in darkened rooms, munching yellow
pills and listening to repetetive music.”
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Url : http://lists.alioth.debian.org/pipermail/hardening-discuss/attachments/20080428/1465711c/attachment.pgp
More information about the hardening-discuss
mailing list