0.9.29 segfaulting.

Bernhard Fischer rep.dot.nop at gmail.com
Mon Jul 14 13:15:52 UTC 2008


On Mon, Jul 14, 2008 at 07:24:11AM -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? If so, which rev fixed it? (IIRC this was
>> fixed on trunk)
>
>After the previous build break, I did a make distclean and poked around in 

The previous build-break is mine. Please turn on LINUX_SPECIFIC in the
"Advanced" menu for now. I'll fix that ASAP.

>menuconfig a bit to make sure that the 0.9.29 miniconfig I was using was 
>sufficiently updated to current svn that I wasn't missing anything obvious.  
>Among other things, I enabled the build at once mode.
>
>Now it's dying with:
>
>libc/misc/internals/__errno_location.c:10: warning: asm declaration ignored 
>due to conflict with previous rename
>libc/misc/internals/__errno_location.c:16: error: '__EI___errno_location' 
>aliased to undefined symbol '__GI___errno_location'

Yes, that's apparently coming from an allegedly incomplete merge from
mjn3 in the I/O layer. Dunno about details.



More information about the uClibc mailing list