[klibc] shared klibc broken on x86_64 with binutils >= 2.17.50.0.2

Sergey Vlasov vsu at altlinux.ru
Sun Feb 18 09:28:20 PST 2007


On Sun, Feb 18, 2007 at 07:30:08PM +0300, Sergey Vlasov wrote:
> Adding "-z max-page-size=0x100000" to KLIBCSHAREDFLAGS fixes klibc.so
> build on new binutils - the resulting binaries run fine even on
> kernels with the exec-shield patch.  Probably this option can even be
> added unconditionally - GNU ld silently ignores all "-z KEYWORD"
> options which it does not understand, therefore the added options
> should not break linking with old ld versions (although I did not
> actually test this yet).

Now tested with binutils-2.15.94.0.2.2 (older versions don't seem to
compile here), which does not know about the "-z max-page-size=SIZE"
option - linking still works (ld ignores the unknown option), and the
resulting klibc.so is good (max-page-size is 0x100000 there).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.zytor.com/pipermail/klibc/attachments/20070218/a84da089/attachment.bin 


More information about the klibc mailing list