diff --git a/ci/test/00_setup_env_native_centos.sh b/ci/test/00_setup_env_native_centos.sh index 25b9923dc7c..94002b63493 100755 --- a/ci/test/00_setup_env_native_centos.sh +++ b/ci/test/00_setup_env_native_centos.sh @@ -10,11 +10,11 @@ export CONTAINER_NAME=ci_native_centos export CI_IMAGE_NAME_TAG="quay.io/centos/centos:stream10" export CI_BASE_PACKAGES="gcc-c++ glibc-devel libstdc++-devel ccache make ninja-build git python3 python3-pip which patch xz procps-ng ksh rsync coreutils bison e2fsprogs cmake" export PIP_PACKAGES="pyzmq" +export DEP_OPTS="DEBUG=1" export GOAL="install" export BITCOIN_CONFIG="\ -DWITH_ZMQ=ON \ -DBUILD_GUI=ON \ -DREDUCE_EXPORTS=ON \ - -DAPPEND_CPPFLAGS='-D_GLIBCXX_ASSERTIONS' \ -DCMAKE_BUILD_TYPE=Debug \ " diff --git a/src/musig.h b/src/musig.h index d46a67f65ec..69c82ddda37 100644 --- a/src/musig.h +++ b/src/musig.h @@ -14,7 +14,12 @@ struct secp256k1_musig_keyagg_cache; //! MuSig2 chaincode as defined by BIP 328 using namespace util::hex_literals; -constexpr uint256 MUSIG_CHAINCODE{"868087ca02a6f974c4598924c36b57762d32cb45717167e300622c7167e38965"_hex_u8}; +constexpr uint256 MUSIG_CHAINCODE{ + // Use immediate lambda to work around GCC-14 bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117966 + []() consteval { return uint256{"868087ca02a6f974c4598924c36b57762d32cb45717167e300622c7167e38965"_hex_u8}; }(), +}; + + //! Create a secp256k1_musig_keyagg_cache from the pubkeys in their current order. This is necessary for most MuSig2 operations bool GetMuSig2KeyAggCache(const std::vector& pubkeys, secp256k1_musig_keyagg_cache& keyagg_cache);