mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
Merge bitcoin/bitcoin#35993: guix: build glibc with --enable-kernel=3.17.0
5548818115guix: build glibc with --enable-kernel=3.17.0 (fanquake) Pull request description: Our minimum required kernel version is documented as `3.17.0`. Pass `--enable-kernel=3.17.0` when building glibc, so that version is reflected in the binary, and the version checked in the symbol-check script, aligns with the expected minimum. ACKs for top commit: hebasto: ACK5548818115, tested on Ubuntu 24.04: willcl-ark: ACK5548818115Tree-SHA512: fc23561d77da80f53cf7564bdb87f5f3c0b23401de79e0801168190d7a99c96e6a60e9437779680b43173572aededf4242b0fba0fe255970f83e6529e3149870
This commit is contained in:
@@ -232,12 +232,13 @@ chain for " target " development."))
|
||||
((#:configure-flags flags)
|
||||
`(append ,flags
|
||||
;; https://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html
|
||||
(list "--enable-stack-protector=all",
|
||||
(list "--enable-bind-now",
|
||||
"--enable-cet",
|
||||
"--enable-bind-now",
|
||||
"--disable-werror",
|
||||
"--disable-timezone-tools",
|
||||
"--enable-kernel=3.17.0",
|
||||
"--enable-stack-protector=all",
|
||||
"--disable-profile",
|
||||
"--disable-timezone-tools",
|
||||
"--disable-werror",
|
||||
building-on)))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
|
||||
@@ -72,17 +72,17 @@ ELF_INTERPRETER_NAMES: dict[lief.ELF.ARCH, dict[lief.Header.ENDIANNESS, str]] =
|
||||
|
||||
ELF_ABIS: dict[lief.ELF.ARCH, dict[lief.Header.ENDIANNESS, list[int]]] = {
|
||||
lief.ELF.ARCH.X86_64: {
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,2,0],
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,17,0],
|
||||
},
|
||||
lief.ELF.ARCH.ARM: {
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,2,0],
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,17,0],
|
||||
},
|
||||
lief.ELF.ARCH.AARCH64: {
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,7,0],
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,17,0],
|
||||
},
|
||||
lief.ELF.ARCH.PPC64: {
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,10,0],
|
||||
lief.Header.ENDIANNESS.BIG: [3,2,0],
|
||||
lief.Header.ENDIANNESS.LITTLE: [3,17,0],
|
||||
lief.Header.ENDIANNESS.BIG: [3,17,0],
|
||||
},
|
||||
lief.ELF.ARCH.RISCV: {
|
||||
lief.Header.ENDIANNESS.LITTLE: [4,15,0],
|
||||
|
||||
Reference in New Issue
Block a user