From: Szabolcs Nagy <nsz@port70.net>
To: OpenWrt Development List <openwrt-devel@lists.openwrt.org>
Cc: Isaac Dunham <idunham@lavabit.com>, musl@lists.openwall.com
Subject: Re: [musl] Support for musl libc in OpenWrt
Date: Sun, 25 Nov 2012 14:37:33 +0100 [thread overview]
Message-ID: <20121125133733.GF10895@port70.net> (raw)
In-Reply-To: <201211251246.27100.florian@openwrt.org>
* Florian Fainelli <florian@openwrt.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
next prev parent reply other threads:[~2012-11-25 13:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-23 20:10 Florian Fainelli
2012-11-23 22:19 ` Szabolcs Nagy
2012-11-23 22:52 ` Florian Fainelli
2012-11-24 6:15 ` Isaac Dunham
2012-11-24 10:01 ` Szabolcs Nagy
2012-11-25 11:46 ` [musl] " Florian Fainelli
2012-11-25 13:37 ` Szabolcs Nagy [this message]
2012-11-25 18:41 ` Re: [OpenWrt-Devel] " John Spencer
2012-11-25 19:29 ` Florian Fainelli
2012-12-01 4:15 ` Rich Felker
2012-12-01 9:16 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121125133733.GF10895@port70.net \
--to=nsz@port70.net \
--cc=idunham@lavabit.com \
--cc=musl@lists.openwall.com \
--cc=openwrt-devel@lists.openwrt.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).