[Detaolb-devel] [Qemu-devel] ANN: DetaolB v0.4 is released

Rob Landley rob at landley.net
Wed Jul 11 17:33:49 UTC 2007


On Wednesday 11 July 2007 9:34:17 am Christian MICHON wrote:
> I just managed a compilation of bash-3.2 using ncurses-5.6 and
> uClibc-0.9.29 inside a qemu-system-sparc (native compilation,
> no cross compilation).
>
> "ldd ./bash" points naturally to libdl.so.0, libc.so.0, ld-uClibc.so.0
>
> ./bash
> Segmentation fault

When you get that kind of segmentation fault, see if "hello world" segfaults 
too.  (In general, when building with a new toolchain, new C library, new 
kernel, new root filesystem packaging method, or a new system in general, if 
anything goes wrong back up a few steps and make sure "hello world" works 
before trying to debug anything fancier.)

> I do not have gdb compiled yet... I'll check soon with busybox
> ash, since I recompiled uClibc with the sched_affinity patch.

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.



More information about the uClibc mailing list