mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 04:12:36 -03:00
Merge bitcoin/bitcoin#21799: guix: Use gcc-8
across the board
c90f6e5109
guix: Consistently use gcc-8 for $HOST (Carl Dong) Pull request description: Only non-base commit is the last commit:b5abb07d0d
Right now, here's what we use in Gitian: - Linux: Focal's [`g++-8-<arch>-linux-gnu`](https://packages.ubuntu.com/focal/g++-8-aarch64-linux-gnu) (`8.4.0-3ubuntu1cross1`) - MinGW-w64: Focal's [`g++-mingw-w64`](https://packages.ubuntu.com/focal/g++-mingw-w64) (`9.3.0-7ubuntu1+22~exp1ubuntu4`) In Guix right now we use `gcc-9` across the board. I think it makes more sense to use `gcc-8` across the board, as it doesn't suffer from the `memcmp` bug, and is what debian buster (stable) does, meaning it will be well tested ([`g++-mingw-w64`](https://packages.debian.org/buster/g++-mingw-w64), [`g++-aarch64-linux-gnu`](https://packages.debian.org/buster/g++-aarch64-linux-gnu)). We can accomplish this somewhat easily using Guix as we have tighter control over the toolchain (see:b5abb07d0d
). Let me know your thoughts! ACKs for top commit: MarcoFalke: Approach ACKc90f6e5109
, haven't reviewed laanwj: Code review ACKc90f6e5109
hebasto: ACKc90f6e5109
, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: 3e5b9297305232273323aa745ec417ed1be2418ead0e432db7742f5d5f45efe6e4a2ed44328731512cff4bfde80e5f2dc350a131b8b8fb9207a2ef66bce27ed2
This commit is contained in:
commit
00a9b0647e
2 changed files with 3 additions and 3 deletions
|
@ -255,7 +255,7 @@ case "$HOST" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$HOST" in
|
case "$HOST" in
|
||||||
powerpc64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
|
powerpc64-linux-*|riscv64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Make $HOST-specific native binaries from depends available in $PATH
|
# Make $HOST-specific native binaries from depends available in $PATH
|
||||||
|
|
|
@ -129,7 +129,7 @@ chain for " target " development."))
|
||||||
(base-gcc-for-libc gcc-7)
|
(base-gcc-for-libc gcc-7)
|
||||||
(base-kernel-headers linux-libre-headers-5.4)
|
(base-kernel-headers linux-libre-headers-5.4)
|
||||||
(base-libc glibc) ; glibc 2.31
|
(base-libc glibc) ; glibc 2.31
|
||||||
(base-gcc (make-gcc-rpath-link gcc-9)))
|
(base-gcc (make-gcc-rpath-link gcc-8)))
|
||||||
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
|
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
|
||||||
desirable for building Bitcoin Core release binaries."
|
desirable for building Bitcoin Core release binaries."
|
||||||
(make-cross-toolchain target
|
(make-cross-toolchain target
|
||||||
|
@ -147,7 +147,7 @@ desirable for building Bitcoin Core release binaries."
|
||||||
(pthreads-xlibc mingw-w64-x86_64-winpthreads)
|
(pthreads-xlibc mingw-w64-x86_64-winpthreads)
|
||||||
(pthreads-xgcc (make-gcc-with-pthreads
|
(pthreads-xgcc (make-gcc-with-pthreads
|
||||||
(cross-gcc target
|
(cross-gcc target
|
||||||
#:xgcc (make-ssp-fixed-gcc gcc-9)
|
#:xgcc (make-ssp-fixed-gcc gcc-8)
|
||||||
#:xbinutils xbinutils
|
#:xbinutils xbinutils
|
||||||
#:libc pthreads-xlibc))))
|
#:libc pthreads-xlibc))))
|
||||||
;; Define a meta-package that propagates the resulting XBINUTILS, XLIBC, and
|
;; Define a meta-package that propagates the resulting XBINUTILS, XLIBC, and
|
||||||
|
|
Loading…
Reference in a new issue