Skip to content

Conversation

@tjanas
Copy link
Contributor

@tjanas tjanas commented Jan 24, 2025

On glibc > 2.33, SIGSTKSZ is no longer constant.

As a result, the following breaks on newer toolchains:

static char altStackMem[SIGSTKSZ];

catch.hpp source: https://github.com/catchorg/Catch2/releases/tag/v2.13.10

Size: 657411 bytes
CRC32: 64CDBAD0
SHA256: 3725c0f0a75f376a5005dde31ead0feb8f7da7507644c201b814443de8355170
SHA1: 7de460993c25178172b2e8b6f2a21d0735457e61
MD5: 0e9367cfe53621c8669af73e34a8c556

Alternatively, SIGSTKSZ in the existing catch.hpp can be replaced with 32768, which should accomodate all existing stack sizes.

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