From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] perl: update config.{sub, guess} using autotools hook
Date: Tue, 25 Oct 2016 23:36:52 +0200 [thread overview]
Message-ID: <20161025233652.46faa126@free-electrons.com> (raw)
In-Reply-To: <1477430469-17537-1-git-send-email-nunes.erico@gmail.com>
Hello,
On Tue, 25 Oct 2016 23:21:09 +0200, Erico Nunes wrote:
> perl may fail to build on newer host architectures such as aarch64 due
> to its inability to guess the host architecture to build 'miniperl',
> which is built during the process. An error message looks like this:
>
> Configuring build-time miniperl for unknown
> ERROR: No $target defined (?!)
> ERROR: configure --mode=buildmini failed
>
> This happens because the config.sub and config.guess files from perl are
> not modified and may become outdated.
> These files are normally updated automatically by a Buildroot hook for
> autotools packages, to avoid problems like these.
> Although perl uses the config.sub and config.guess files, it is not a
> strict autotools package, so it is not defined as an "autotools-package"
> in Buildroot and so it doesn't inherit the hook.
> This commit makes perl borrow the hook from the autotools infrastructure
> so that it can build on newer build architectures.
> This has been tested by building it on an aarch64 host machine.
>
> Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Please use the get-developers script when sending patches, so that the
appropriate developers are CC'ed. In this case, Fran?ois should have
been CC'ed.
Fran?ois, can you have a look at Erico's patch? See
https://patchwork.ozlabs.org/patch/686713/.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-10-25 21:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 21:21 [Buildroot] [PATCH 1/1] perl: update config.{sub, guess} using autotools hook Erico Nunes
2016-10-25 21:36 ` Thomas Petazzoni [this message]
2016-10-26 8:00 ` François Perrad
2016-10-26 20:34 ` 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=20161025233652.46faa126@free-electrons.com \
--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