[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with cross-toolchain support for Hurd
From: |
Ludovic Courtès |
Subject: |
Re: Problem with cross-toolchain support for Hurd |
Date: |
Tue, 28 Aug 2018 11:12:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Manolis & Rene!
Manolis Ragkousis <address@hidden> skribis:
> On current master I tried running `./pre-inst-env guix build -e '((@@
> (gnu packages cross-base) cross-kernel-headers) "i586-pc-gnu")'` and it
> fails with
Not sure how much of a difference it makes, but I run this command
instead:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build coreutils --target=i586-pc-gnu -K
[...]
checking if i586-pc-gnu-gcc accepts -fno-tree-loop-distribute-patterns with
__attribute__ ((__optimize__))... yes
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for _FORTIFY_SOURCE predefine... no
checking whether i586-pc-gnu-gcc implicitly enables -fstack-protector... no
checking whether the linker provides working __ehdr_start... yes
checking for __builtin_trap with no external dependencies... yes
checking whether the C++ compiler supports thread_local... no
running configure fragment for sysdeps/mach/hurd
checking Hurd header version... bad
configure: error: Hurd headers not installed or too old
Backtrace:
4 (primitive-load "/gnu/store/vmqv7p9kv7nkpihq708745lghq1…")
In ice-9/eval.scm:
191:35 3 (_ _)
In srfi/srfi-1.scm:
640:9 2 (for-each #<procedure 843900 at /gnu/store/f95ghy8mx00…> …)
In
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
799:31 1 (_ _)
In
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
616:6 0 (invoke _ . _)
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6:
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
arguments: ("../glibc-2.23-hurd+libpthread-20161218/configure"
"CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
"SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
"--prefix=/gnu/store/ba5affambbmg72chssvb13kc18hg4in0-glibc-hurd-headers-cross-i586-pc-gnu-2.23"
"--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--enable-add-ons"
"--host=i586-pc-gnu" "--enable-obsolete-rpc") exit-status: 1 term-signal: #f
stop-signal: #f] a47740>)'.
note: keeping build directory
`/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0'
builder for
`/gnu/store/fhhyd783ax7n697ngymazqn8y2s1g44d-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv'
failed with exit code 1
@ build-failed
/gnu/store/fhhyd783ax7n697ngymazqn8y2s1g44d-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv
- 1 builder for
`/gnu/store/fhhyd783ax7n697ngymazqn8y2s1g44d-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv'
failed with exit code 1
cannot build derivation
`/gnu/store/nqzms08in49xwsxjwamanx04d58dy6in-hurd-minimal-cross-i586-pc-gnu-0.9.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/1wpn6zk131ca284zqhvifsgm1mv8ap8v-hurd-core-headers-cross-i586-pc-gnu-0.9.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/gncvwffzqcw0khrh53k3q38y6xnbq5qd-perl-5.26.1.drv': 1 dependencies
couldn't be built
guix build: error: build failed: build of
`/gnu/store/gncvwffzqcw0khrh53k3q38y6xnbq5qd-perl-5.26.1.drv' failed
$ git describe
v0.15.0-1202-ga0a2c2f16
--8<---------------cut here---------------end--------------->8---
… but as you can see the end result is the same. :-)
I think we can skip this issue though: since ‘core-updates’ has
glibc 2.28, how about merging ‘glibc/linux’ and ‘glibc/hurd’ on
‘core-updates’, removing the Hurd’s ‘libpthread’, and starting from
there?
(Note that the two glibc packages must be merged in a way that does not
involve a full rebuild because ‘core-updates’ is frozen now.)
Thanks,
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Problem with cross-toolchain support for Hurd,
Ludovic Courtès <=