Skip to content

Fix tests build on modern glibc by disabling Catch2 POSIX signals#323

Open
jlcordeiro wants to merge 1 commit into
mfontanini:masterfrom
jlcordeiro:fix_tests_build_on_modern_glibc
Open

Fix tests build on modern glibc by disabling Catch2 POSIX signals#323
jlcordeiro wants to merge 1 commit into
mfontanini:masterfrom
jlcordeiro:fix_tests_build_on_modern_glibc

Conversation

@jlcordeiro
Copy link
Copy Markdown
Contributor

Fixes a build failure in the test suite on systems with modern glibc (>= 2.34).

Catch2 v2 uses SIGSTKSZ as a compile-time constant, but newer glibc versions no longer guarantee this, causing compilation errors like:

Related issues:
#294
redpanda-data/redpanda#4298

Tested both on ubuntu 20.04 (old glibc, build worked already) and 24.04 (new glibc, tests build failed)

by disabling Catch2 POSIX signals
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