improve config [was: Re: Stubbing out unavailable syscalls?]

Bernhard Fischer rep.dot.nop at gmail.com
Fri May 30 07:54:43 PDT 2008


On Thu, May 29, 2008 at 11:37:29PM +0200, Joakim Tjernlund wrote:
>> -----Original Message-----
>> From: Bernhard Fischer [mailto:rep.dot.nop at gmail.com]
>> Sent: den 29 maj 2008 21:21
>> To: Joakim Tjernlund
>> Cc: uclibc at uclibc.org
>> Subject: Re: Stubbing out unavailable syscalls?
>> 
>> On Tue, May 27, 2008 at 07:03:28PM +0200, Bernhard Fischer wrote:
>> >>> >I can live with stubs behind a config option, default off.
>> >
>> >My motivations comes from being able to turn them off, so i fully agree.
>> 
>>    text	   data	    bss	    dec	    hex	filename
>>   14319	    244	     84	  14647	   3937	lib-4.4-HEAD/ld-uClibc.so
>>   14200	    244	     84	  14528	   38c0	new-4.4-HEAD/ld-uClibc.so
>>    2108	    188	      0	   2296	    8f8	lib-4.4-HEAD/librt.so
>> size: 'new-4.4-HEAD/librt.so': No such file
>>  112684	    860	   9988	 123532	  1e28c	lib-4.4-HEAD/libuClibc-0.9.29.so
>>  105024	    872	   9956	 115852	  1c48c	new-4.4-HEAD/libuClibc-0.9.29.so
>>    2604	    240	      0	   2844	    b1c	lib-4.4-HEAD/libutil.so
>>    1720	    220	      0	   1940	    794	new-4.4-HEAD/libutil.so
>
>Don't see a patch in here, but I am good anyway as the default
>will be no stubs.

Sorry, patch is here:
uclibc.org/~aldot/uClibc/uClibc-0.9.29-optional-features.01p3.diff

As said, i've dropped the syscall-stubs for now and just added
config-knobs for stuff that should be optional.
Allnoconfig (with termios support turned on since this is not yet
finished) gives:

   text	   data	    bss	    dec	    hex	filename
  78553	    648	   9192	  88393	  15949	lib/libuClibc-0.9.29.so

Which starts to be ok for me.
TODOs: - fix turning off or give up on termios
       - make sure that IPv6-only works.


More information about the uClibc mailing list