From: Mike Frysinger <vapier@gentoo.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] toolchain-external: improve sysroot lookup with multilib
Date: Mon, 13 Dec 2010 17:08:30 -0500 [thread overview]
Message-ID: <201012131708.30797.vapier@gentoo.org> (raw)
In-Reply-To: <20101213222903.2232b63f@surf>
On Monday, December 13, 2010 16:29:03 Thomas Petazzoni wrote:
> On Sun, 12 Dec 2010 11:25:25 -0500 Mike Frysinger wrote:
> > If the external toolchain we're using starts in a path other than
> > /usr/lib, the sysroot detection fails as it has /usr/lib hardcoded.
> > Improve the code to strip out any lib suffixes to handle the most common
> > behavior.
>
> Could you point me to a specific toolchain for which the problem is
> occuring ? Just to make it clear: I do believe that the problem exists
> and that the patch is useful in that case, I just want to be sure to
> understand it completely, and potentially add a new test case to my
> testing stuff.
Gentoo defaults x86_64 to lib64
$ gcc -print-file-name=libc.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib64/libc.a
$ gcc -print-multi-os-directory
../lib64
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101213/fd51ed46/attachment.pgp>
prev parent reply other threads:[~2010-12-13 22:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-12 16:25 [Buildroot] [PATCH] toolchain-external: improve sysroot lookup with multilib Mike Frysinger
2010-12-13 21:29 ` Thomas Petazzoni
2010-12-13 22:08 ` Mike Frysinger [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=201012131708.30797.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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