From: Chris Marusich <cmmarusich@gmail.com>
To: 29402@debbugs.gnu.org
Subject: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target
Date: Wed, 22 Nov 2017 08:57:46 -0800 [thread overview]
Message-ID: <877euixncl.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2782 bytes --]
Hi,
On my x86_64 GuixSD machine, using Guix commit
77f921587c6b784e84b98a9f2e9c821f73114340, GNU Hello fails to build for
the armhf-linux target. It builds for the i686-linux, aarch64-linux,
and mip64el-linux targets.
I'm trying to build it using the following command, invoked from the
Guix source tree:
./pre-inst-env guix build --no-substitutes --target=armhf-linux hello
Here are the last few lines of output:
--8<---------------cut here---------------start------------->8---
starting phase `configure'
source directory: "/tmp/guix-build-binutils-cross-armhf-linux-2.28.drv-0/binutils-2.28" (relative from build: ".")
build directory: "/tmp/guix-build-binutils-cross-armhf-linux-2.28.drv-0/binutils-2.28"
configure flags: ("CONFIG_SHELL=/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash" "SHELL=/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash" "--prefix=/gnu/store/gaap2chgcwkhk6z0vp4z47cy6rsxds1q-binutils-cross-armhf-linux-2.28" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--target=armhf-linux" "--with-sysroot=/" "LDFLAGS=-static-libgcc" "--with-lib-path=/no-ld-lib-path" "--enable-install-libbfd" "--enable-deterministic-archives")
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... Invalid configuration `armhf-linux': machine `armhf' not recognized
configure: error: /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash ./config.sub armhf-linux failed
phase `configure' failed after 0.2 seconds
builder for `/gnu/store/3gqs8b7ch1w8xsc2adjnn8v7gm2ls8s1-binutils-cross-armhf-linux-2.28.drv' failed with exit code 1
@ build-failed /gnu/store/3gqs8b7ch1w8xsc2adjnn8v7gm2ls8s1-binutils-cross-armhf-linux-2.28.drv - 1 builder for `/gnu/store/3gqs8b7ch1w8xsc2adjnn8v7gm2ls8s1-binutils-cross-armhf-linux-2.28.drv' failed with exit code 1
cannot build derivation `/gnu/store/qhqngzgc0q7c1s3l25sm5y7mhqp99ciy-hello-2.10.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/qhqngzgc0q7c1s3l25sm5y7mhqp99ciy-hello-2.10.drv' failed
--8<---------------cut here---------------end--------------->8---
It looks like the configure phase of the derivation that builds
binutils-cross-armhf-linux-2.28 failed because "armhf" is supposedly not
a recognized machine. However, "armhf-linux" is listed as a supported
platform in the Guix manual ((guix) GNU Distribution), so I expected
this to work. What's going on here?
GNU Hello successfully builds on my machine for the x86_64-linux,
i686-linux, aarch64-linux, and mips64el-linux platforms (i.e., all of
the other platforms listed as supported in the Guix manual).
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2017-11-22 16:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-22 16:57 Chris Marusich [this message]
2017-11-23 11:13 ` bug#29402: Failure to cross-compile GNU Hello for armhf-linux target Ludovic Courtès
2017-11-24 0:52 ` Chris Marusich
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=877euixncl.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=29402@debbugs.gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
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.