-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MINSIGSTKSZ no longer a constant #2421
Comments
Your catch.hpp is old, this is 2.13.9 at the indicated line: Catch2/single_include/catch2/catch.hpp Line 10818 in d71b461
In fact the version that fixed this issue was 2.13.5: https://github.com/catchorg/Catch2/blob/devel/docs/release-notes.md#2135 |
* update catch2 to 2.13.5 to resolve issue with MINSIGSTKSZ being no longer usable in constexpr context * catchorg/Catch2#2421
* update catch2 to 2.13.5 to resolve issue with MINSIGSTKSZ being no longer usable in constexpr context * catchorg/Catch2#2421 * fix compilation for test files (excluded from default build) under linux
… pointers as iterators. Also, fix the catch version such that catchorg/Catch2#2421 does not happen anymore for newer glibc. Signed-off-by: bac-home\bac <[email protected]>
… pointers as iterators. Also, fix the catch version such that catchorg/Catch2#2421 does not happen anymore for newer glibc. Signed-off-by: bac-home\bac <[email protected]>
Chatch needs update. Test suite won't compile because of issue related to: catchorg/Catch2#2421 A quick fix taken from: catchorg/Catch2#2480 This issue has been fixed in Catch v2.13.5: https://github.com/catchorg/Catch2/blob/devel/docs/release-notes.md#2135
The version of catch2 in use is old enough to fail compiles on updated Linux operating systems. Update to latest version in v2.0 series to fix builds. [Ref: catchorg/Catch2#2421]
This is needed to get the fix for catchorg/Catch2#2421 Signed-off-by: Joseph Schuchart <[email protected]>
@davidmcgrew , thanks. You workaround (define But, last version v2.13.10 single_include/catch2 (for example, included in Debian 12.8) work fine by default. |
Describe the bug
Building with glibc v2.35 causes a compiler error. Apparently MINSIGSTKSZ is no longer a constant in glibc.
This can be fixed by adding
#define CATCH_CONFIG_NO_POSIX_SIGNALS
before the catch include.Expected behavior
Linux should be able to compile this without issue.
Reproduction steps
Use glibc 2.35.
Platform information:
OS: Arch Linux
Compiler+version: gcc-11.2.0
Catch version: **v2.13.9
Additional context
https://stackoverflow.com/questions/71454588/minsigstksz-error-after-update-in-my-manjaro-linux
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=85e84fe53699fe9e392edffa993612ce08b2954a;hb=HEAD
The text was updated successfully, but these errors were encountered: