Skip to content

Fix build on OpenBSD#7855

Merged
firewave merged 1 commit intodanmar:mainfrom
mptre:openbsd
Sep 25, 2025
Merged

Fix build on OpenBSD#7855
firewave merged 1 commit intodanmar:mainfrom
mptre:openbsd

Conversation

@mptre
Copy link
Copy Markdown
Contributor

@mptre mptre commented Sep 25, 2025

PR #7773 broke the build on OpenBSD.

PR danmar#7773 broke the build on OpenBSD.
@sonarqubecloud
Copy link
Copy Markdown

@firewave
Copy link
Copy Markdown
Collaborator

Please provide the actual build failure.

A bit surprising though since according to https://man.openbsd.org/backtrace it should be available.

@firewave firewave self-assigned this Sep 25, 2025
@mptre
Copy link
Copy Markdown
Contributor Author

mptre commented Sep 25, 2025 via email

@firewave
Copy link
Copy Markdown
Collaborator

Thanks.

Error during linking, you probably need to link against lexecinfo.

Should be easy in CMake and we should use https://cmake.org/cmake/help/latest/module/CheckLibraryExists.html for that (I also have some WIP code to detect the include in CMake). But needs some trickery in the regular make.

So let's go with the hotfix for now and do that at a later date. I filed https://trac.cppcheck.net/ticket/14159 about it.

@firewave firewave merged commit b5076db into danmar:main Sep 25, 2025
53 checks passed
@mptre mptre deleted the openbsd branch September 25, 2025 17:25
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.

2 participants