0.9.29 segfaulting.

Bernhard Fischer rep.dot.nop at gmail.com
Mon Jul 14 14:32:31 UTC 2008


On Mon, Jul 14, 2008 at 06:39:57AM -0500, Rob Landley wrote:
>On Monday 14 July 2008 03:05:27 Bernhard Fischer wrote:
>> On Mon, Jul 14, 2008 at 01:36:32AM -0500, Rob Landley wrote:
>> >The gcc ./configure is compiling the following program and trying to run
>> > it:
>> >
>> >  main() {return 0;}
>> >
>> >Dynamically linked, it works.  Statically linked, running it segfaults
>> >immediately, because __uClibc_init() is attempting to call _stdio_init()
>> > and never making it.  (If you add any function call to main, it works
>> > fine even statically linked.  Not sure why.)
>>
>> Does it work on trunk?
>
>Following up:
>
>Attempt to build current svn against 2.6.25 kernel headers died with:
>
>  CC libc/misc/statfs/fstatfs64.os
>libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a 
>function)
>libc/misc/statfs/fstatfs64.c:29: warning: type defaults to 'int' in 
>declaration of 'fstatfs'

Should be fixed in r22829. Sorry for the breakage..

cheers,
Bernhard



More information about the uClibc mailing list