Tell gcc/glibc not to use symbols higher than X.Y

Mike Frysinger vapier@gentoo.org
Tue Nov 22 15:33:00 GMT 2011


On Tuesday 22 November 2011 04:37:59 Yura Pakhuchiy wrote:
> 1) To use LSB.

no idea what this means.  LSB doesn't help with the glibc linking issue.

> 2) Use something like "__asm__(".symver realpath,realpath@GLIBC_2.2.5")"

this sounds error prone.  that rewrites the symbol names, but does nothing for 
symbol availability or changed function arguments.

> 3) Build old glibc and tell gcc to use it header/libs.

this is the sanest route.  grab an old distro like Debian 3 to keep it 
simpler.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20111122/b9d5301c/attachment.sig>


More information about the Libc-help mailing list