From: Luca Barbato <lu_zero@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: GLEP draf for cross-compile support in multilib profiles
Date: Wed, 04 Jul 2012 16:02:46 +0200 [thread overview]
Message-ID: <4FF44D06.4020008@gentoo.org> (raw)
In-Reply-To: <4FF0377C.1060208@gentoo.org>
On 07/01/2012 01:41 PM, Thomas Sachau wrote:
> I guess, you are mixing cross-compile support in multilib profiles and
> cross-compile support with cross-toolchains, multilib-portage is for the
> first one, while crossdev is for the second one.
>
> My suggestion does not support e.g. compiling for ppc with an amd64
> profile, on amd64 it only can support x86 and x32. Since all of these
> binaries can run with an amd64 kernel and you build for at least one
> target, you always have a binary around, no need for an extra HOST
> dependency.
You can run an arm binary on amd64 (through binfmt+qemu-user static)
> I dont know, what exactly you mean with "play properly with ld" and
> "cross-vs-host paths", so cannot respond to those.
multilib works because the runtime linker picked is the right one for
each ABI, thanks to qemu makes no difference if that ABI is native or not.
cross vs host paths is an annoying problem due the slightly different
behaviour between native and cross compiler toolchains, it tends to
ignore environment variables and other small differences making dropping
an native cross compiler in a qemu chroot, QUITE a creative activity.
lu
--
Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero
next prev parent reply other threads:[~2012-07-04 14:03 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-16 10:31 [gentoo-dev] spec draft for cross-compile support in future EAPI (EAPI-5) Thomas Sachau
2012-06-16 20:54 ` [gentoo-dev] " Duncan
2012-06-17 12:02 ` Thomas Sachau
2012-06-17 17:47 ` Duncan
2012-06-19 18:16 ` Thomas Sachau
2012-06-19 18:16 ` Ciaran McCreesh
2012-06-19 18:54 ` Thomas Sachau
2012-06-19 19:02 ` Ciaran McCreesh
2012-06-19 20:36 ` Brian Harring
2012-06-19 21:07 ` Thomas Sachau
2012-06-20 6:19 ` Ciaran McCreesh
2012-06-29 14:30 ` GLEP draf for cross-compile support in multilib profiles (was: Re: [gentoo-dev] Re: spec draft for cross-compile support in future EAPI (EAPI-5)) Thomas Sachau
2012-06-30 17:29 ` Matt Turner
2012-07-01 11:29 ` [gentoo-dev] Re: GLEP draf for cross-compile support in multilib profiles Thomas Sachau
2012-07-01 19:27 ` Matt Turner
2012-07-01 20:52 ` Thomas Sachau
2012-07-01 21:39 ` Matt Turner
2012-07-01 21:52 ` Zac Medico
2012-07-01 22:19 ` Zac Medico
2012-07-02 0:45 ` Jonathan Callen
2012-07-02 17:06 ` Thomas Sachau
2012-07-02 17:08 ` Ciaran McCreesh
2012-07-01 21:12 ` Zac Medico
2012-07-01 21:34 ` Thomas Sachau
2012-07-01 21:56 ` Zac Medico
2012-07-01 22:30 ` Zac Medico
2012-07-02 2:51 ` Michał Górny
2012-07-01 2:55 ` Luca Barbato
2012-07-01 11:41 ` Thomas Sachau
2012-07-04 14:02 ` Luca Barbato [this message]
2012-06-19 17:56 ` [gentoo-dev] spec draft for cross-compile support in future EAPI (EAPI-5) Luca Barbato
2012-06-19 18:14 ` Thomas Sachau
2012-06-20 7:40 ` Luca Barbato
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=4FF44D06.4020008@gentoo.org \
--to=lu_zero@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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