From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] external toolchains and sysroot
Date: Sun, 21 Oct 2012 11:41:54 +0200 [thread overview]
Message-ID: <20121021114154.3d23d89b@skate> (raw)
In-Reply-To: <50813429.3010107@6wind.com>
On Fri, 19 Oct 2012 13:06:17 +0200, Jean-Mickael Guerin wrote:
> Not exactly: let the toolchain use its own sysroot, and use -I /-L to
> look up in the staging directory. Original sysroot is read-only &
> shared, staging belongs to your build directory.
>
> In another words my point is that the copy of sysroot is useless,
> using --sysroot=<my copy of built-in sysroot path, computed from the
> toolchain's compiler> cannot be safer than let it use the built-in
> syroot. Removing this copy will save time, space, and compatible
> whatever the directory layout of the toolchain.
I am the one who wrote the external toolchain support as it is now.
Initially, things were working as you suggested, i.e keep the sysroot
in its original place, and use -I/-L to point to the headers and
libraries that Buildroot adds. It /mostly/ works, but causes for some
packages horrible problems with libtool.
I don't have the time right now to dig into the archives, but this is a
problem we worked on around December 2008, and it has allowed the
external toolchain support to work nicely and properly since then.
If you have problems with external toolchain support, don't hesitate to
point me to the toolchain you're using, and how to reproduce your
problem. I am fairly sure it is not related to the fact that we're
copying the sysroot.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2012-10-21 9:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-19 9:10 [Buildroot] external toolchains and sysroot Jean-Mickael Guerin
2012-10-19 9:38 ` Richard Braun
2012-10-19 9:46 ` Jean-Mickael Guerin
2012-10-19 9:57 ` Richard Braun
2012-10-19 10:02 ` Richard Braun
2012-10-19 11:06 ` Jean-Mickael Guerin
2012-10-19 11:26 ` Richard Braun
2012-10-21 9:41 ` Thomas Petazzoni [this message]
2012-10-23 6:45 ` Jean-Mickael Guerin
2012-10-23 7:28 ` Thomas Petazzoni
2012-10-23 8:46 ` Arnout Vandecappelle
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=20121021114154.3d23d89b@skate \
--to=thomas.petazzoni@free-electrons.com \
--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