0.9.29 segfaulting.
Rob Landley
rob at landley.net
Mon Jul 14 11:39:57 UTC 2008
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'
and so on.
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
More information about the uClibc
mailing list