From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 RESEND] pkg-infra: make sure cross compiling is enabled when host == target
Date: Wed, 26 Sep 2012 09:25:23 +0200 [thread overview]
Message-ID: <20120926092523.6a26c22f@skate> (raw)
In-Reply-To: <1348612962-11310-1-git-send-email-arnout@mind.be>
Dear Arnout Vandecappelle (Essensium/Mind),
On Wed, 26 Sep 2012 00:42:42 +0200, Arnout Vandecappelle
(Essensium/Mind) wrote:
> When compiling for the same architecture and libc as the host,
> GNU_TARGET_NAME and GNU_HOST_NAME are equal. configure scripts use
> these to detect cross-compilation, and will decide that we're doing
> native compilation. This may trigger running of executables,
> which fail because of missing libraries in the host environment.
>
> To solve this, set the vendor part in GNU_TARGET_NAME to buildroot.
>
> This problem exists for instance in xserver_xorg-server on x86_64.
I confirm the problem, and I think this is the right solution, but I
haven't had the time to test it. But anyway:
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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-09-26 7:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 22:42 [Buildroot] [PATCH v3 RESEND] pkg-infra: make sure cross compiling is enabled when host == target Arnout Vandecappelle
2012-09-26 7:25 ` Thomas Petazzoni [this message]
2012-10-03 9:26 ` [Buildroot] [PATCH v3 RESEND-2] " Arnout Vandecappelle
2012-10-04 19:57 ` Thomas Petazzoni
2012-10-04 20:50 ` Peter Korsgaard
2012-10-04 20:57 ` 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=20120926092523.6a26c22f@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