some errors to run programs build with uClibc-master

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Aug 5 11:33:49 UTC 2009


2009/8/4 Stephan Raue <mailinglists at openelec.tv>:
> Am 03.08.2009 11:29, schrieb Bernhard Reutner-Fischer:
>
> 2009/8/3 Stephan Raue <mailinglists at openelec.tv>:
>
>
>
> - i have busybox-1.14.2 (and busybox-master) build statically for initramfs
> and shared für system. statically build busybox produces a segfault, when i
> am building busybox shared it works.
>
>
> Test a simple static binary, something like:
> #include <unistd.h>
> int main(void) {
> 	char *msg = "works\n";
> 	return write(STDOUT_FILENO, msg, 6) != 6;
> }
>
> If that static binary also segfaults, then provide a gdb backtrace.
>
>
> Backtrace of this test:
>
> Program received signal SIGSERV, Segmentation fault.
> 0x00000000 in ?? ()
>
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1 0x080483b1 in ?? ()
> #2  0x00000000 in ?? ()

Please provide a backtrace with a non-stripped version (built with -g,
or -g3 -ggdb3).
Can you also try whether it runs if you build everything with -O0?
(which version of gcc and binutils are you using, again)?

> /usr/bin/gst-launch-0.10: symbol 'v4lconvert_needs_conversion': can't
> resolve symbol in lib '/usr/lib/gstreamer-0.10/libgstvideo4linux2.so'.

Is that so stripped? If so, with which strip?


More information about the uClibc mailing list