Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 7568] New: musl buildroot-toolchain does not put libgcc_s.so.1 into place
Date: Sun, 26 Oct 2014 18:25:33 +0000 (UTC)	[thread overview]
Message-ID: <bug-7568-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=7568

           Summary: musl buildroot-toolchain does not put libgcc_s.so.1
                    into place
           Product: buildroot
           Version: 2014.08
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: alex+buildroot at digriz.org.uk
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


I use the following settings:

BR2_mipsel=y
BR2_TOOLCHAIN_BUILDROOT_MUSL=y

When trying to run non-busybox tools (such as 'nft', nftables) I get a
grumbling that libgcc_s.so.1 does not exist.

To workaround the problem, I slipped into my post-build.sh script the
following:
----
cp output/host/usr/mipsel-buildroot-linux-musl/sysroot/lib/libgcc_s.so.1
"$1/lib"
./output/host/usr/mipsel-buildroot-linux-musl/bin/strip "$1/lib/libgcc_s.so.1"
ln -f -s libgcc_s.so.1 "$1/lib/libgcc_s.so"
----

I vaguely recall there used to be a BR2_GCC_SHARED_LIBGCC that did this for
you, but it seems to have gone.  Digging around, and if I am following through
the makefiles correctly, it looks like the external toolchains do plumb this
in.  Not sure how this should actually be fixed.

Let me know if you need anything from me to help get this fixed.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

             reply	other threads:[~2014-10-26 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 18:25 bugzilla at busybox.net [this message]
2014-11-07  7:33 ` [Buildroot] [Bug 7568] musl buildroot-toolchain does not put libgcc_s.so.1 into place bugzilla at busybox.net
2014-11-09 11:00 ` bugzilla at busybox.net
2014-11-09 13:24 ` bugzilla at busybox.net
2014-11-09 19:35 ` bugzilla at busybox.net
2014-11-09 19:56 ` bugzilla at busybox.net
2014-11-09 20:08 ` bugzilla at busybox.net
2014-11-10  9:15 ` bugzilla at busybox.net

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-7568-163@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