From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 7562] musl buildroot-toolchain and BR2_MIPS_SOFT_FLOAT break
Date: Thu, 10 Mar 2016 22:20:24 +0000 [thread overview]
Message-ID: <bug-7562-163-Q3nj1pNTaO@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-7562-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=7562
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed in git by:
commit 348d5edd91abec1fc4cc27965220d54e58217dc3
Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Tue Mar 8 22:20:55 2016 +0100
gcc: fix dynamic linker path for mips soft-float
This commit updates the gcc musl patches for gcc 4.7, 4.8 and 4.9 so
that the path to the dynamic linker encoded as "program interpreter"
in the generated binaries actually matches the symbolic link installed
by musl when building for mips soft-float.
Indeed, musl installs a symlink called ld-musl-mipsel-sf.so.1, but gcc
currently generates binaries that use /lib/ld-musl-mips.so as program
interpreter.
The fix is simply the one from
https://bitbucket.org/GregorR/musl-cross/commits/825219202365, i.e
adjust MUSL_DYNAMIC_LINKER in our musl gcc patches.
Thanks to these patches:
$ ./host/usr/bin/mipsel-linux-readelf -a ./target/bin/busybox
[...]
[Requesting program interpreter: /lib/ld-musl-mipsel-sf.so.1]
[...]
gcc 5.x doesn't need any fix because the musl patches already use the
right value.
Fixes bug #7562.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
prev parent reply other threads:[~2016-03-10 22:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 18:19 [Buildroot] [Bug 7562] New: musl buildroot-toolchain and BR2_MIPS_SOFT_FLOAT break bugzilla at busybox.net
2014-11-07 7:37 ` [Buildroot] [Bug 7562] " bugzilla at busybox.net
2014-11-09 10:33 ` bugzilla at busybox.net
2014-11-09 13:23 ` bugzilla at busybox.net
2016-03-10 22:20 ` bugzilla at busybox.net [this message]
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=bug-7562-163-Q3nj1pNTaO@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox