|
Message-ID: <20121125133733.GF10895@port70.net> Date: Sun, 25 Nov 2012 14:37:33 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: OpenWrt Development List <openwrt-devel@...ts.openwrt.org> Cc: musl@...ts.openwall.com, Isaac Dunham <idunham@...abit.com> Subject: Re: [OpenWrt-Devel] Support for musl libc in OpenWrt * Florian Fainelli <florian@...nwrt.org> [2012-11-25 12:46:26 +0100]: > Cop1 registers. After patching setjmp not to access these it works flawlessly > on MIPS (big-endian) but MIPS (little-endian) still segfaults while being > executed either from the kernel or qemu-mipsel. > so there is endian issue with dynamic linking musl c code should not depend on endianness (eg on x86 it works fine) so i guess the issue is mips specific maybe something in mips asm or maybe there is some difference between mips and mipsel other than the endianness? (elf header or auxv something, or the build toolchain is different in some way) can you run libc.so itself? /lib/libc.so should print a usage message if it works then try to run it as ldd on a dynlinked binary
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.