Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Update Catch2 version to fix build error with recent glibc versions #30

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Update Catch2 version to fix build error with recent glibc versions #30

merged 1 commit into from
Feb 23, 2022

Conversation

darkerbit
Copy link
Contributor

@darkerbit darkerbit commented Feb 23, 2022

Recent glibc versions (appears to be 2.34) made MINSIGSTKSZ non-constant, which broke Catch2. This has been fixed in the most recent Catch2 release, however TrenchBroom and Vecmath are out of date and thus do not build with recent glibc versions, such as that used in Fedora Rawhide and Arch Linux.

This pull request simply updates the used Catch2 version to fix this. I have verified that this now builds on Arch Linux which was affected by the problem.

Related: catchorg/Catch2#2178 gabime/spdlog#1899 puppetlabs/cpp-hocon#132

Note: This pull request applies for both vecmath and TrenchBroom, and will be posted for both.

TrenchBroom PR: TrenchBroom/TrenchBroom#3958

@kduske
Copy link
Collaborator

kduske commented Feb 23, 2022

Thanks for this! Could you rebase this branch onto master? I have fixed the formatting issues that fail in this PR.

@kduske
Copy link
Collaborator

kduske commented Feb 23, 2022

That was fast. Thank you!

@darkerbit
Copy link
Contributor Author

darkerbit commented Feb 23, 2022

Alright, rebased it.

@kduske kduske merged commit 63a6418 into TrenchBroom:master Feb 23, 2022
@eGax
Copy link

eGax commented Feb 23, 2022

Thank you so much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants