mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: glibc-for-bootstrap: Build with GCC 7.
Fixes <https://issues.guix.gnu.org/52066>. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[native-inputs]: Add gcc-7.
This commit is contained in:
parent
0c7d324339
commit
48b754553a
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
;;; Copyright © 2018, 2019, 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -86,6 +87,12 @@ (define glibc-for-bootstrap
|
|||
"--enable-static-nss"
|
||||
,flags))))
|
||||
|
||||
;; Make sure to build glibc with the same compiler version as the rest
|
||||
;; of the bootstrap. Otherwise it fails to statically link on aarch64.
|
||||
(native-inputs
|
||||
`(("gcc" ,gcc-7)
|
||||
,@(package-native-inputs base)))
|
||||
|
||||
;; Remove the 'debug' output to allow bit-reproducible builds (when the
|
||||
;; 'debug' output is used, ELF files end up with a .gnu_debuglink, which
|
||||
;; includes a CRC of the corresponding debugging symbols; those symbols
|
||||
|
|
Loading…
Reference in a new issue