[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49565] [PATCH core-updates] gnu: bootstrap: Use %current-target-sys
From: |
Maxime Devos |
Subject: |
[bug#49565] [PATCH core-updates] gnu: bootstrap: Use %current-target-system to decide bootstrap path |
Date: |
Fri, 16 Jul 2021 10:20:20 +0200 |
User-agent: |
Evolution 3.34.2 |
Hi,
> diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
> index 5a8028a4652c..b14dc63062e8 100644
> --- a/gnu/packages/bootstrap.scm
> +++ b/gnu/packages/bootstrap.scm
> @@ -927,7 +927,7 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
> (define (%bootstrap-inputs)
> ;; The initial, pre-built inputs. From now on, we can start building our
> ;; own packages.
> - (match (%current-system)
> + (match (or (%current-target-system) (%current-system))
> ((or "i686-linux" "x86_64-linux")
> `(("linux-libre-headers" ,%bootstrap-linux-libre-headers)
> ("bootstrap-mescc-tools" ,%bootstrap-mescc-tools)
This makes sense to me.
However, you may need to modify 'package-from-tarball' as well,
replacing
("tarball" ,(bootstrap-origin (source (%current-system))))))
with
("tarball" ,(bootstrap-origin (source (or (%current-target-system)
(%current-system)))))))
Could you verify the architecture of the binaries in the output
of "./pre-inst-env guix build gcc-toolchain@11 --target=powerpc64le-linux-gnu",
and its references (you can use "guix gc --references /gnu/store/..." and
objdump)?
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#49565] [PATCH] gnu: glibc-headers-mesboot: Use %build-inputs in setenv phase, Thiago Jung Bauermann, 2021/07/14
- [bug#49565] [PATCH core-updates] gnu: bootstrap: Use %current-target-system to decide bootstrap path, Thiago Jung Bauermann, 2021/07/15
- [bug#49565] [PATCH core-updates] gnu: bootstrap: Use %current-target-system to decide bootstrap path,
Maxime Devos <=
- [bug#49565] [PATCH core-updates v2] gnu: bootstrap: Use %current-target-system to decide bootstrap path, Thiago Jung Bauermann, 2021/07/19
- [bug#49565] [PATCH core-updates v2] gnu: bootstrap: Use %current-target-system to decide bootstrap path, Thiago Jung Bauermann, 2021/07/20
- [bug#49565] [PATCH core-updates v2] gnu: bootstrap: Use %current-target-system to decide bootstrap path, Thiago Jung Bauermann, 2021/07/21
- [bug#49565] [PATCH] gnu: glibc-headers-mesboot: Use %build-inputs in setenv phase, Ludovic Courtès, 2021/07/21
- [bug#49565] [PATCH] gnu: glibc-headers-mesboot: Use %build-inputs in setenv phase, Thiago Jung Bauermann, 2021/07/21