guix: compute --build triplet when lowering, not at load time #36709

Manually merged
jespada merged 1 commit from guix-building-on-system into master 2026-11-25 20:06:15 +00:00 AGit
jespada commented 2026-10-30 14:53:45 +00:00 (Migrated from github.com)

Why

building-on in contrib/guix/toolchains.scm reads (%current-system) once, when the module is loaded. guix shell loads the manifest before it applies --system, so the value is the system of the machine that runs the build, not the system that Guix builds for.

So a build with ADDITIONAL_GUIX_ENVIRONMENT_FLAGS="--system=aarch64-linux" on an x86_64 machine (for example with qemu-binfmt-service-type, to get an aarch64 build machine) configures the aarch64 cross toolchain with --build=x86_64-guix-linux-gnu. gcc-cross-sans-libc then fails to configure:

checking for CET support... configure: error: compiler and assembler with CET support are required for --enable-cet

What changes

building-on becomes a procedure, and its three call sites call it. Guix then computes the triplet for each derivation, under the system that the derivation is built for.

How I checked

  • On master, HOST=x86_64-linux-gnu guix shell -n --system=aarch64-linux -m contrib/guix/linux_static.scm (with toolchains.scm on the load path, as guix-build does) gives gcc-cross-sans-libc with --build=x86_64-guix-linux-gnu. With this PR it gives --build=aarch64-guix-linux-gnu. That is the same derivation that guix build -d --system=aarch64-linux gives on master.
  • Native builds (no --system): the toolchain derivations from linux_static.scm and manifest_gui.scm are identical on master and with this PR. So this PR does not change release builds.
  • With this PR, an emulated aarch64 build of x86_64-linux-gnu on x86_64 built the whole cross toolchain and the non-GUI binaries. The GUI environment then failed in the tests of python-pylint (timeout under emulation) and maturin (snapshot mismatch). These packages have no aarch64 substitutes at the pinned Guix commit, and the failures are not related to this change.
### Why `building-on` in `contrib/guix/toolchains.scm` reads `(%current-system)` once, when the module is loaded. `guix shell` loads the manifest before it applies `--system`, so the value is the system of the machine that runs the build, not the system that Guix builds for. So a build with `ADDITIONAL_GUIX_ENVIRONMENT_FLAGS="--system=aarch64-linux"` on an x86_64 machine (for example with `qemu-binfmt-service-type`, to get an aarch64 build machine) configures the aarch64 cross toolchain with `--build=x86_64-guix-linux-gnu`. `gcc-cross-sans-libc` then fails to configure: ``` checking for CET support... configure: error: compiler and assembler with CET support are required for --enable-cet ``` ### What changes `building-on` becomes a procedure, and its three call sites call it. Guix then computes the triplet for each derivation, under the system that the derivation is built for. ### How I checked - On master, `HOST=x86_64-linux-gnu guix shell -n --system=aarch64-linux -m contrib/guix/linux_static.scm` (with `toolchains.scm` on the load path, as `guix-build` does) gives `gcc-cross-sans-libc` with `--build=x86_64-guix-linux-gnu`. With this PR it gives `--build=aarch64-guix-linux-gnu`. That is the same derivation that `guix build -d --system=aarch64-linux` gives on master. - Native builds (no `--system`): the toolchain derivations from `linux_static.scm` and `manifest_gui.scm` are identical on master and with this PR. So this PR does not change release builds. - With this PR, an emulated aarch64 build of `x86_64-linux-gnu` on x86_64 built the whole cross toolchain and the non-GUI binaries. The GUI environment then failed in the tests of `python-pylint` (timeout under emulation) and `maturin` (snapshot mismatch). These packages have no aarch64 substitutes at the pinned Guix commit, and the failures are not related to this change.
DrahtBot commented 2026-10-30 14:53:56 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK hebasto, fanquake

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #25573 (guix: produce a -static-pie bitcoind by fanquake)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36709 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36709.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36709#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [hebasto](https://github.com/bitcoin/bitcoin/pull/36709#pullrequestreview-5811900875), [fanquake](https://github.com/bitcoin/bitcoin/pull/36709#issuecomment-7173176317) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#25573](https://github.com/bitcoin/bitcoin/pull/25573) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/25573.svg"></sub> (guix: produce a `-static-pie` bitcoind by fanquake) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
sedited commented 2026-10-30 15:24:48 +00:00 (Migrated from github.com)

How and why did you run into this?

How and why did you run into this?
hebasto (Migrated from github.com) reviewed 2026-10-30 15:33:03 +00:00
hebasto (Migrated from github.com) left a comment

Concept ACK.

Concept ACK.
jespada commented 2026-10-30 15:38:55 +00:00 (Migrated from github.com)

How and why did you run into this?

I hit it while trying to build https://github.com/bitcoin/bitcoin/pull/36708 with an aarch64 build machine (QEMU binfmt emulation on an x86_64 box, via ADDITIONAL_GUIX_ENVIRONMENT_FLAGS="--system=aarch64-linux"), to check that the build is reproducible across build architectures. I have a Guix box so I was looking for Guix issues to help with.

> How and why did you run into this? I hit it while trying to build https://github.com/bitcoin/bitcoin/pull/36708 with an aarch64 build machine (QEMU binfmt emulation on an x86_64 box, via ADDITIONAL_GUIX_ENVIRONMENT_FLAGS="--system=aarch64-linux"), to check that the build is reproducible across build architectures. I have a Guix box so I was looking for Guix issues to help with.
First-time contributor

I found no actionable issues in this static review.


Reviewed: d7a8360f4ef5 · Full review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:4d44b6ffa09c54db24f8f0ab27ae388beae06a733efcae741ca64db76bb1c938:7efd3c3ba41667382004cfa7a7db56605da7d8f9b7ab69bc483f27117390ba48 --> <!-- ralph-base:377c7711cf66d3f449c3a743d7ca1db111ea4516 --> <!-- ralph-head:d7a8360f4ef5ff90b71d87b15ec4c5048b9ea0a9 --> <!-- ralph-case:5190518bc8247c2fbb02cc59fa98671a7099280934a33a1532212d4fa4a5c122 --> I found no actionable issues in this static review. <!-- Review tier: standard --> --- Reviewed: [`d7a8360f4ef5`](<https://git.fish.foo/bitcoin/bitcoin/commit/d7a8360f4ef5ff90b71d87b15ec4c5048b9ea0a9>) · [Full review report](<https://review.fish.foo/traces/36709-d7a8360f4ef5ff90b71d87b15ec4c5048b9ea0a9-2228-2.html>) · [Previous reports](<https://review.fish.foo/traces/36709/>) [permalink](<https://review.fish.foo/traces/36709-d7a8360f4ef5ff90b71d87b15ec4c5048b9ea0a9-2228-2.html>)
DrahtBot commented 2026-11-05 12:00:46 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
hebasto (Migrated from github.com) reviewed 2026-11-07 11:22:11 +00:00
hebasto (Migrated from github.com) left a comment

ACK d7a8360f4e.

My Guix build:

$ uname -m && find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
aarch64
91a491a191ea0f1d7b0d79d05dff3cc42bd3da7b5f8d3d5a1b0cfeeba7871c06  guix-build-d7a8360f4ef5/output/aarch64-linux-gnu/SHA256SUMS.part
f1f4cfe7c8b474ab0fa1f53977e98d7c5c2a21bf805cba2e58ef583188362b1a  guix-build-d7a8360f4ef5/output/aarch64-linux-gnu/bitcoin-d7a8360f4ef5-aarch64-linux-gnu-debug.tar.gz
7dd49b58b70ff587fc307619e4e032834aee70e7d184d68ea3aee8af39efeabf  guix-build-d7a8360f4ef5/output/aarch64-linux-gnu/bitcoin-d7a8360f4ef5-aarch64-linux-gnu.tar.gz
f9ce8636376feecc8f9f739f2637caf57aa70fd421255051fe85d5264a5cc194  guix-build-d7a8360f4ef5/output/arm-linux-gnueabihf/SHA256SUMS.part
e24a061817591fc49cb00ef85f87283be296a28b457290c58b17da888c336c1d  guix-build-d7a8360f4ef5/output/arm-linux-gnueabihf/bitcoin-d7a8360f4ef5-arm-linux-gnueabihf-debug.tar.gz
b166eadc8ce042b7a354ef87ef641e618f9b35515b2a109f887c9af9eaf06a24  guix-build-d7a8360f4ef5/output/arm-linux-gnueabihf/bitcoin-d7a8360f4ef5-arm-linux-gnueabihf.tar.gz
f8f92ea423dff5373bc248318074221ac900f6935cbb0cfe031757fdc8f7696f  guix-build-d7a8360f4ef5/output/arm64-apple-darwin/SHA256SUMS.part
4762f28a99268c8393f98ba2ac296fe797b55c06eef97618c4519fe743f736a5  guix-build-d7a8360f4ef5/output/arm64-apple-darwin/bitcoin-d7a8360f4ef5-arm64-apple-darwin-codesigning.tar.gz
5bd5d1aaab7bf99580c09236cf2294eda1872efd9adfcf002e8321952d156363  guix-build-d7a8360f4ef5/output/arm64-apple-darwin/bitcoin-d7a8360f4ef5-arm64-apple-darwin-unsigned.tar.gz
b134bed7bde1b8c74f633ede6f174a69aa1364d5f7b3cde04a21c5dbed994965  guix-build-d7a8360f4ef5/output/arm64-apple-darwin/bitcoin-d7a8360f4ef5-arm64-apple-darwin-unsigned.zip
df38c7fd1056800d9aa999147f023dafd625ddcb6f7130a953475110702830cb  guix-build-d7a8360f4ef5/output/dist-archive/bitcoin-d7a8360f4ef5.tar.gz
9a185354e3adc402fd5e95530d973b355c6be9b4cfd3cbddcb82526bdafe1a71  guix-build-d7a8360f4ef5/output/powerpc64-linux-gnu/SHA256SUMS.part
2917a3424c03ec1d78c85410c8c315d46fd656168159c16c3a115ce2b06da1e7  guix-build-d7a8360f4ef5/output/powerpc64-linux-gnu/bitcoin-d7a8360f4ef5-powerpc64-linux-gnu-debug.tar.gz
7e7e1b3b898a496827cfc289730b63bf4a769ba6424314f9464672902146401e  guix-build-d7a8360f4ef5/output/powerpc64-linux-gnu/bitcoin-d7a8360f4ef5-powerpc64-linux-gnu.tar.gz
d19566acb20e218ad22b4f0b99af8d2fb75b399ecb1f0f4d3993cc903acf2a1b  guix-build-d7a8360f4ef5/output/riscv64-linux-gnu/SHA256SUMS.part
7576a31e2bceac71f02b800db57b6b1f19ad3f404c80db5c07aaa14392466af5  guix-build-d7a8360f4ef5/output/riscv64-linux-gnu/bitcoin-d7a8360f4ef5-riscv64-linux-gnu-debug.tar.gz
5ac65dc63adf4576d7cbeb46f4846e0ffe7ac7fb1ef21d8a5425e853a3d98605  guix-build-d7a8360f4ef5/output/riscv64-linux-gnu/bitcoin-d7a8360f4ef5-riscv64-linux-gnu.tar.gz
7088fd8d1d5b37bccb9ba942d0fe2c7589d94e9fbbf4cd5ca380b03d088b486d  guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/SHA256SUMS.part
d8b2e5e352c19a0129bf709e6a19f00990e4b11ef12838267516fb05a1cb3b88  guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/bitcoin-d7a8360f4ef5-x86_64-apple-darwin-codesigning.tar.gz
29acba17822404376983cbbffbf0db496b81c51e0c3bba09bec2987452d0b134  guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/bitcoin-d7a8360f4ef5-x86_64-apple-darwin-unsigned.tar.gz
2c4ea6cba004f4c8a004a956314c89c23e6f240af26d254d2041ba67c77c7770  guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/bitcoin-d7a8360f4ef5-x86_64-apple-darwin-unsigned.zip
c197f8f43640af8f973a9d8f9fd481abd7f265efad2e626b4d0fd73d813365e4  guix-build-d7a8360f4ef5/output/x86_64-linux-gnu/SHA256SUMS.part
337fe665a56c0379e7a413fbaec7f65bcdc464e4275e15a25c89db083859088f  guix-build-d7a8360f4ef5/output/x86_64-linux-gnu/bitcoin-d7a8360f4ef5-x86_64-linux-gnu-debug.tar.gz
f5ff0ec1b709ca5d7f03f290865a7c5d17fc074aa9101d58d82a442ccb300999  guix-build-d7a8360f4ef5/output/x86_64-linux-gnu/bitcoin-d7a8360f4ef5-x86_64-linux-gnu.tar.gz
c7ad1779489725c473a43ab4d6477d0debf8e750197ea5486a29a8a371469328  guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/SHA256SUMS.part
c6bdef8b70041e1938182fbeae8c93fe2f1ab741d4b564d6236865aaa700ca1c  guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-codesigning.tar.gz
8c0236964f5710e876759716d414c60593c6e7815a4d5d261c4413bdcbbb684e  guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-debug.zip
f112496188630e14fe6a7f073629420d2aa1eaef3312abcbd4f09fd61577391b  guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-setup-unsigned.exe
3fc7ffe189433c1cabc5f8ae8a8fb50caaed772ebbac9309ca803cf88754a108  guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-unsigned.zip
ACK d7a8360f4ef5ff90b71d87b15ec4c5048b9ea0a9. My Guix build: ```console $ uname -m && find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum aarch64 91a491a191ea0f1d7b0d79d05dff3cc42bd3da7b5f8d3d5a1b0cfeeba7871c06 guix-build-d7a8360f4ef5/output/aarch64-linux-gnu/SHA256SUMS.part f1f4cfe7c8b474ab0fa1f53977e98d7c5c2a21bf805cba2e58ef583188362b1a guix-build-d7a8360f4ef5/output/aarch64-linux-gnu/bitcoin-d7a8360f4ef5-aarch64-linux-gnu-debug.tar.gz 7dd49b58b70ff587fc307619e4e032834aee70e7d184d68ea3aee8af39efeabf guix-build-d7a8360f4ef5/output/aarch64-linux-gnu/bitcoin-d7a8360f4ef5-aarch64-linux-gnu.tar.gz f9ce8636376feecc8f9f739f2637caf57aa70fd421255051fe85d5264a5cc194 guix-build-d7a8360f4ef5/output/arm-linux-gnueabihf/SHA256SUMS.part e24a061817591fc49cb00ef85f87283be296a28b457290c58b17da888c336c1d guix-build-d7a8360f4ef5/output/arm-linux-gnueabihf/bitcoin-d7a8360f4ef5-arm-linux-gnueabihf-debug.tar.gz b166eadc8ce042b7a354ef87ef641e618f9b35515b2a109f887c9af9eaf06a24 guix-build-d7a8360f4ef5/output/arm-linux-gnueabihf/bitcoin-d7a8360f4ef5-arm-linux-gnueabihf.tar.gz f8f92ea423dff5373bc248318074221ac900f6935cbb0cfe031757fdc8f7696f guix-build-d7a8360f4ef5/output/arm64-apple-darwin/SHA256SUMS.part 4762f28a99268c8393f98ba2ac296fe797b55c06eef97618c4519fe743f736a5 guix-build-d7a8360f4ef5/output/arm64-apple-darwin/bitcoin-d7a8360f4ef5-arm64-apple-darwin-codesigning.tar.gz 5bd5d1aaab7bf99580c09236cf2294eda1872efd9adfcf002e8321952d156363 guix-build-d7a8360f4ef5/output/arm64-apple-darwin/bitcoin-d7a8360f4ef5-arm64-apple-darwin-unsigned.tar.gz b134bed7bde1b8c74f633ede6f174a69aa1364d5f7b3cde04a21c5dbed994965 guix-build-d7a8360f4ef5/output/arm64-apple-darwin/bitcoin-d7a8360f4ef5-arm64-apple-darwin-unsigned.zip df38c7fd1056800d9aa999147f023dafd625ddcb6f7130a953475110702830cb guix-build-d7a8360f4ef5/output/dist-archive/bitcoin-d7a8360f4ef5.tar.gz 9a185354e3adc402fd5e95530d973b355c6be9b4cfd3cbddcb82526bdafe1a71 guix-build-d7a8360f4ef5/output/powerpc64-linux-gnu/SHA256SUMS.part 2917a3424c03ec1d78c85410c8c315d46fd656168159c16c3a115ce2b06da1e7 guix-build-d7a8360f4ef5/output/powerpc64-linux-gnu/bitcoin-d7a8360f4ef5-powerpc64-linux-gnu-debug.tar.gz 7e7e1b3b898a496827cfc289730b63bf4a769ba6424314f9464672902146401e guix-build-d7a8360f4ef5/output/powerpc64-linux-gnu/bitcoin-d7a8360f4ef5-powerpc64-linux-gnu.tar.gz d19566acb20e218ad22b4f0b99af8d2fb75b399ecb1f0f4d3993cc903acf2a1b guix-build-d7a8360f4ef5/output/riscv64-linux-gnu/SHA256SUMS.part 7576a31e2bceac71f02b800db57b6b1f19ad3f404c80db5c07aaa14392466af5 guix-build-d7a8360f4ef5/output/riscv64-linux-gnu/bitcoin-d7a8360f4ef5-riscv64-linux-gnu-debug.tar.gz 5ac65dc63adf4576d7cbeb46f4846e0ffe7ac7fb1ef21d8a5425e853a3d98605 guix-build-d7a8360f4ef5/output/riscv64-linux-gnu/bitcoin-d7a8360f4ef5-riscv64-linux-gnu.tar.gz 7088fd8d1d5b37bccb9ba942d0fe2c7589d94e9fbbf4cd5ca380b03d088b486d guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/SHA256SUMS.part d8b2e5e352c19a0129bf709e6a19f00990e4b11ef12838267516fb05a1cb3b88 guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/bitcoin-d7a8360f4ef5-x86_64-apple-darwin-codesigning.tar.gz 29acba17822404376983cbbffbf0db496b81c51e0c3bba09bec2987452d0b134 guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/bitcoin-d7a8360f4ef5-x86_64-apple-darwin-unsigned.tar.gz 2c4ea6cba004f4c8a004a956314c89c23e6f240af26d254d2041ba67c77c7770 guix-build-d7a8360f4ef5/output/x86_64-apple-darwin/bitcoin-d7a8360f4ef5-x86_64-apple-darwin-unsigned.zip c197f8f43640af8f973a9d8f9fd481abd7f265efad2e626b4d0fd73d813365e4 guix-build-d7a8360f4ef5/output/x86_64-linux-gnu/SHA256SUMS.part 337fe665a56c0379e7a413fbaec7f65bcdc464e4275e15a25c89db083859088f guix-build-d7a8360f4ef5/output/x86_64-linux-gnu/bitcoin-d7a8360f4ef5-x86_64-linux-gnu-debug.tar.gz f5ff0ec1b709ca5d7f03f290865a7c5d17fc074aa9101d58d82a442ccb300999 guix-build-d7a8360f4ef5/output/x86_64-linux-gnu/bitcoin-d7a8360f4ef5-x86_64-linux-gnu.tar.gz c7ad1779489725c473a43ab4d6477d0debf8e750197ea5486a29a8a371469328 guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/SHA256SUMS.part c6bdef8b70041e1938182fbeae8c93fe2f1ab741d4b564d6236865aaa700ca1c guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-codesigning.tar.gz 8c0236964f5710e876759716d414c60593c6e7815a4d5d261c4413bdcbbb684e guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-debug.zip f112496188630e14fe6a7f073629420d2aa1eaef3312abcbd4f09fd61577391b guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-setup-unsigned.exe 3fc7ffe189433c1cabc5f8ae8a8fb50caaed772ebbac9309ca803cf88754a108 guix-build-d7a8360f4ef5/output/x86_64-w64-mingw32/bitcoin-d7a8360f4ef5-win64-unsigned.zip ```
fanquake commented 2026-11-24 17:35:24 +00:00 (Migrated from github.com)

Concept ACK

Concept ACK
fanquake commented 2026-11-25 20:05:25 +00:00 (Migrated from github.com)

ACK d7a8360f4e

Prior when using ADDITIONAL_GUIX_ENVIRONMENT_FLAGS="--system=*-linux"

checking for exported symbols... yes
checking for -rdynamic... yes
checking for library containing dlopen... (cached) none required
checking for -fPIC -shared... yes
gcc_driver_version: 14.3.0
checking for -fno-PIE option... yes
checking for -no-pie option... yes
checking for CET support... configure: error: compiler and assembler with CET support are required for --enable-cet
make[1]: *** [Makefile:4614: configure-gcc] Error 1
make[1]: Leaving directory '/tmp/guix-build-gcc-cross-sans-libc-x86_64-linux-gnu-14.3.0.drv-0/build'
make: *** [Makefile:1040: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "32" "--max-load=32" "CFLAGS=-g0 -O2") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 207.2 seconds
command "make" "-j" "32" "--max-load=32" "CFLAGS=-g0 -O2" failed with status 2
build process 20 exited with status 256
ACK d7a8360f4ef5ff90b71d87b15ec4c5048b9ea0a9 Prior when using `ADDITIONAL_GUIX_ENVIRONMENT_FLAGS="--system=*-linux"` ```bash checking for exported symbols... yes checking for -rdynamic... yes checking for library containing dlopen... (cached) none required checking for -fPIC -shared... yes gcc_driver_version: 14.3.0 checking for -fno-PIE option... yes checking for -no-pie option... yes checking for CET support... configure: error: compiler and assembler with CET support are required for --enable-cet make[1]: *** [Makefile:4614: configure-gcc] Error 1 make[1]: Leaving directory '/tmp/guix-build-gcc-cross-sans-libc-x86_64-linux-gnu-14.3.0.drv-0/build' make: *** [Makefile:1040: all] Error 2 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "32" "--max-load=32" "CFLAGS=-g0 -O2") exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 207.2 seconds command "make" "-j" "32" "--max-load=32" "CFLAGS=-g0 -O2" failed with status 2 build process 20 exited with status 256 ```
fanquake commented 2026-11-25 20:05:42 +00:00 (Migrated from github.com)

cc @willcl-ark I think you were also running into this before.

cc @willcl-ark I think you were also running into this before.
fanquake commented 2026-11-25 20:31:33 +00:00 (Migrated from github.com)

Backported this to 32.x in #36984.

Backported this to `32.x` in #36984.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36709
No description provided.