On (11/12/08 01:57), Denys Vlasenko wrote: > On Wednesday 10 December 2008 15:57, Tino Keitel wrote: > > So, _stdio_init() was called because the NULL check failed for some > > reason: > > > > if (likely(_stdio_init != NULL)) > > _stdio_init(); > > > > Without the likely(), the segfault also happens. > > gcc thinks that function address is never NULL. Check assembly. > I bet condition check got optimized away.
try -fno-delete-null-pointer-checks for experimenting. _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc