From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Can't use output/host/ as "SDK" with external toolchain
Date: Thu, 12 Jan 2012 00:03:22 +0100 [thread overview]
Message-ID: <87mx9t970l.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <CAJpxd065CgUHOd=RN7gU-G+T+HoJT-iD4REwwJedwGjVsSROdw@mail.gmail.com> (Bryce Schober's message of "Wed, 11 Jan 2012 11:49:31 -0800")
>>>>> "Bryce" == Bryce Schober <bryce.schober@gmail.com> writes:
Hi,
Bryce> I just tried that, and I get the same results. Both the binutils
Bryce> symbolic links and?ext-toolchain-wrapper?still use absolute
Bryce> paths. These patches don't touch the logic used to assemble a
Bryce> full sysroot with the compiler and buildroot host outputs in the
Bryce> same place.
Bryce> It seems that the current importing and wrapping of any type of
Bryce> external toolchain would have to be fundamentally re-worked in
Bryce> order to be relocatable.
Sorry, I haven't read the entire thread, but are you aware of the
discussions we had at the Buildroot developers day in October?
Thomas made a nice summary of it:
http://lists.busybox.net/pipermail/buildroot/2011-November/047229.html
Bryce> It seems that two things would need to change:
Bryce> 1. Any symbolic links created would have to have any absolute paths converted
Bryce> to relative.
Bryce> 2. Any paths used in the ext-toolchain-wrapper would have to be relative, and
Bryce> the wrapper itself would have to determine the path to itself in order to
Bryce> correctly exec the programs it wraps.
Other things need to be fixed as well (as listed in the summary):
- Host tools
- .la files / cmake / qmake configuraiton
- pkg-config
- ..
So it's a fairly major change.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2012-01-11 23:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-09 22:54 [Buildroot] Can't use output/host/ as "SDK" with external toolchain Bryce Schober
2012-01-10 11:26 ` Thomas De Schampheleire
2012-01-10 20:22 ` Bryce Schober
2012-01-11 7:38 ` Thomas De Schampheleire
2012-01-11 14:19 ` Michael S. Zick
2012-01-11 19:49 ` Bryce Schober
2012-01-11 23:03 ` Peter Korsgaard [this message]
2012-01-12 9:17 ` Thomas Petazzoni
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=87mx9t970l.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.