limit glibc symbol by version script
Steven Munroe
munroesj@us.ibm.com
Wed Jul 12 22:14:00 GMT 2006
Nix wrote:
>On Mon, 10 Jul 2006, Steven Munroe murmured woefully:
>
>>Hiroki Kaminaga writes
>>
>>
>>>>I would like to limit exported symbol from glibc in my system.
>>>>
>>>>Background is, I would like to eliminate unused API in my system from glibc,
>>>>and for first step, I would like to disable them.
>>>>
>>>>First thought is to limit exported symbol by using version script.
>>>>
>>>>How can I do it?
>>>>Is there better approach?
>>>>
>>try configuring with:
>>
>>--enable-oldest-abi=ABI configure the oldest ABI supported [e.g.
>>2.2][default=glibc default]
>>
>
>This isn't often tested, as far as I can tell: my attempt to build
>with an oldest-abi of 2.4 failed on i386 (I didn't investigate
>further: foolish of me).
>
>
Then try:
--disable-versioning do not include versioning information in the
library objects
More information about the Libc-alpha
mailing list