Skip to content

ci: lld linker for x86_64 release#26

Open
huth-stacks wants to merge 10 commits into
developfrom
ci/P17-lld-linker
Open

ci: lld linker for x86_64 release#26
huth-stacks wants to merge 10 commits into
developfrom
ci/P17-lld-linker

Conversation

@huth-stacks

Copy link
Copy Markdown
Owner

P17: Use lld for faster linking with LTO

brice-stacks and others added 10 commits March 21, 2026 08:13
Fixed logical operator in tenure-start block validation to correctly
reject blocks where either the coinbase or tenure-change transaction is
in the wrong position, not only when both are wrong
Wait for state machine updates before proposing block to avoid the
signer rejecting the proposal immediately.
…-in-signer

fix: `continue` instead of `return` on unknown signer
fix: logic error in `is_wellformed_tenure_start_block`
…igner-tests

test: fix flakiness in `signer_waits_for_validation_before_signing`
Install lld and add -Clink-arg=-fuse-ld=lld to rustflags for
x86_64-unknown-linux-gnu targets in release-build.yml and
docker-image.yml. lld is significantly faster than the GNU linker
for linking with LTO, saving ~1-4 min on release builds.

Only applied to x86_64-gnu; aarch64 (cross-compilation), musl,
windows, and macOS targets are unchanged.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants