Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] cpanminus: works with arm & mips
Date: Sat, 2 Mar 2013 14:50:43 +0100	[thread overview]
Message-ID: <20130302145043.0f45c2f4@skate> (raw)
In-Reply-To: <1362220740-17593-2-git-send-email-francois.perrad@gadz.org>

Dear Francois Perrad,

On Sat,  2 Mar 2013 11:38:59 +0100, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/cpanminus/Config.in    |   15 +++++++++++----
>  package/cpanminus/cpanminus.mk |    2 +-
>  2 files changed, 12 insertions(+), 5 deletions(-)
> 
> diff --git a/package/cpanminus/Config.in b/package/cpanminus/Config.in
> index b10d211..cf93a7e 100644
> --- a/package/cpanminus/Config.in
> +++ b/package/cpanminus/Config.in
> @@ -1,9 +1,16 @@
>  config BR2_PACKAGE_CPANMINUS
>  	bool "cpanminus"
> -	# Requires host-qemu, which cannot work properly due to kernel
> -	# headers mismatch between the build environment and the
> -	# target.
> -	depends on BR2_BROKEN

Sorry, but I don't see where the problem mentioned in the comment here
has been solved. Anything using host-qemu to help in cross-compilation
cannot work: it is very likely that the kernel headers used to build
the target toolchain are much more recent than the kernel running on
the build machine. Since the Qemu user-mode emulation works by
converting the target syscall into host syscall, it cannot work when
kernel headers are more recent than the kernel version running on the
build machine.

I don't see how this can be solved, it is a fundamental problem in the
approach.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-03-02 13:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-02 10:38 [Buildroot] [PATCH 1/3] microperl: remove it Francois Perrad
2013-03-02 10:38 ` [Buildroot] [PATCH 2/3] cpanminus: works with arm & mips Francois Perrad
2013-03-02 13:50   ` Thomas Petazzoni [this message]
2013-08-13 21:36     ` Thomas Petazzoni
2013-03-02 10:39 ` [Buildroot] [PATCH 3/3] cpanminus: bump to version 1.6002 Francois Perrad
2013-03-04 16:18   ` Peter Korsgaard
2013-03-03 18:56 ` [Buildroot] [PATCH 1/3] microperl: remove it Thomas Petazzoni
2013-03-04 16:17 ` Peter Korsgaard

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=20130302145043.0f45c2f4@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