Skip to content

No -Werror on non-debug builds, check 32 bit build in CI#9101

Open
rustyrussell wants to merge 4 commits intoElementsProject:masterfrom
rustyrussell:no-Werror-non-devbuilds
Open

No -Werror on non-debug builds, check 32 bit build in CI#9101
rustyrussell wants to merge 4 commits intoElementsProject:masterfrom
rustyrussell:no-Werror-non-devbuilds

Conversation

@rustyrussell
Copy link
Copy Markdown
Contributor

This delayed the previous release, as 32 bit didn't build and this was only caught in the docker build phase of release. And future version of gcc add new warnings, which stops build entirely for users, so avoid -Werror for them

@rustyrussell rustyrussell added this to the 26.06 milestone Apr 30, 2026
@rustyrussell rustyrussell force-pushed the no-Werror-non-devbuilds branch 3 times, most recently from 170fc62 to 43815e7 Compare April 30, 2026 04:26
Otherwise, we can break people's builds if they upgrade compiler, for example.

Yet we still want -Werror for developers, and CI.

Changelog-Changed: Build: We no longer use `-Werror` by default, unless --enable-debugbuild is set.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell force-pushed the no-Werror-non-devbuilds branch 3 times, most recently from b3327e0 to b1b1b47 Compare April 30, 2026 08:50
This broke the recent docker upload in the release.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell force-pushed the no-Werror-non-devbuilds branch from b1b1b47 to 2397adc Compare April 30, 2026 09:04
It would need to run under uv.  I noticed it failing while debugging the 32-bit CI build,
but it fails everywhere.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
They're misleading otherwise.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
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.

1 participant