Skip to content

Conversation

meator
Copy link
Contributor

@meator meator commented Aug 22, 2025

This is a second architecture-specific issue which cannot be caught CI checks I've dealt with recently. They cannot be caught by CI because CI builds everything statically, so it propagates linker errors to the wrap user, which doesn't exist in CI.

This issue could be solved by setting default_library=static in CI only or by adding a small test executable which would link_whole with all libraries it provides. This would force the linker to resolve all symbols (which will uncover issues like #2282 and the issue this PR solves).

In Meson <=1.7.0, I don't check for the edge case where neither libatomic nor builtin support is available. I can add that check if requested.

@meator meator force-pushed the protobuf-libatomic branch 3 times, most recently from 858631f to f943416 Compare August 22, 2025 19:46
@meator meator marked this pull request as draft August 22, 2025 19:51
@meator meator marked this pull request as draft August 22, 2025 19:51
@meator meator force-pushed the protobuf-libatomic branch 5 times, most recently from 4ac15d3 to b16c7af Compare August 22, 2025 20:33
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