Skip to content

Commit fa1d847

Browse files
author
MarcoFalke
committed
ci: Enable DEBUG=1 for one GCC-12 build to catch 117966 regressions
1 parent 477b357 commit fa1d847

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/test/00_setup_env_win64.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export LC_ALL=C.UTF-8
88

99
export CONTAINER_NAME=ci_win64
1010
export CI_IMAGE_NAME_TAG="docker.io/amd64/debian:bookworm" # Check that https://packages.debian.org/bookworm/g++-mingw-w64-x86-64-posix (version 12.2, similar to guix) can cross-compile
11+
export DEP_OPTS="DEBUG=1" # Temporarily enable a DEBUG=1 build to check for GCC-bug-117966 regressions. This can be removed once the minimum GCC version is bumped to 12 in the previous releases task, see https://github.com/bitcoin/bitcoin/issues/31436#issuecomment-2530717875
1112
export HOST=x86_64-w64-mingw32
1213
export DPKG_ADD_ARCH="i386"
1314
export PACKAGES="nsis g++-mingw-w64-x86-64-posix wine-binfmt wine64 wine32 file"
@@ -20,4 +21,4 @@ export GOAL="deploy"
2021
# cross-compiling for Windows. https://sourceforge.net/p/mingw-w64/bugs/306/
2122
# https://github.com/mingw-w64/mingw-w64/commit/1690994f515910a31b9fb7c7bd3a52d4ba987abe
2223
export BITCOIN_CONFIG="-DREDUCE_EXPORTS=ON -DBUILD_GUI_TESTS=OFF \
23-
-DCMAKE_CXX_FLAGS='-Wno-error=return-type -Wno-error=maybe-uninitialized -Wno-error=array-bounds'"
24+
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS='-Wno-error=return-type -Wno-error=maybe-uninitialized -Wno-error=array-bounds'"

0 commit comments

Comments
 (0)