[uClibc]Re: nanotop segfaults if built with uclibc (was: busybox init and login)

Cristian Ionescu-Idbohrn cii at semera.se
Wed Dec 11 22:50:04 UTC 2002


On Sat, 7 Dec 2002, Cristian Ionescu-Idbohrn wrote:

[snip]

> No problem to build it statically linked and run it too, but defeats the
> purpose :(
>
> I have problems with building it dynamically linked.
> Looks fine on the outside (build and ldd stuff).
> Segfaults when at startup.

Problem solved (I hope). The cause of the problem seems to be the fact
that the debian packages for 0.9.16 are lacking a few important uclibc
.config options:

,----
| UCLIBC_HAS_FLOATS=y
| HAS_FPU=y
| DO_C99_MATH=y
`----

I'm not sure DO_C99_MATH is necessary, but I do believe the othe 2 are
essecial.

I filed a bug against the uclibc package now:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=172686

and I hope the problem will be corrected in the next package revision.

There's another reported bug there:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=171359

which reports another segfault. It might, or it might not have the same
cause.


Cheers,
Cristian



More information about the uClibc mailing list