refs #14579 / refs #10543 - fixed compilation on Alpine Linux / added checks for includes / added Alpine to CI - #8313
Merged
Conversation
Collaborator
Author
|
I filed hendrikmuhs/ccache-action#424 about the issue saving the ccache cache with Alpine Linux. |
alpine:3.23
firewave
force-pushed
the
alpine-ci
branch
5 times, most recently
from
March 9, 2026 13:19
bb15427 to
387ec60
Compare
firewave
force-pushed
the
alpine-ci
branch
4 times, most recently
from
March 9, 2026 14:03
ce32869 to
a984970
Compare
firewave
force-pushed
the
alpine-ci
branch
3 times, most recently
from
March 9, 2026 20:14
2b9c934 to
bc4440b
Compare
Collaborator
Author
|
I will drop the unnecessary preprocessor checks in a follow-up so it can be reverted more easily in case it causes problems. |
firewave
marked this pull request as ready for review
March 9, 2026 20:33
This comment was marked as resolved.
This comment was marked as resolved.
firewave
marked this pull request as draft
March 9, 2026 20:53
…nstead of platform checks in `config.h`
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
firewave
force-pushed
the
alpine-ci
branch
2 times, most recently
from
March 10, 2026 00:01
eae23c3 to
bb03acb
Compare
firewave
force-pushed
the
alpine-ci
branch
2 times, most recently
from
March 10, 2026 00:06
87993ad to
548221e
Compare
firewave
marked this pull request as ready for review
March 10, 2026 00:06
|
❌ The last analysis has failed. |
danmar
approved these changes
Mar 11, 2026
Contributor
|
This broke compilation on OpenBSD, again. Linking against execinfo is still required while using the API from execinfo.h. |
Collaborator
Author
|
I will take a look over the weekend after I posted the follow-up. Could you post the actual error, please? Thanks. |
Contributor
|
On Thu, Mar 12, 2026 at 04:05:27PM -0700, Oliver Stöneberg wrote:
firewave left a comment (cppcheck-opensource/cppcheck#8313)
I will take a look over the weekend after I posted the follow-up.
Could you post the actual error, please? Thanks.
ld: error: undefined symbol: backtrace
>> referenced by stacktrace.cpp:37 (cli/stacktrace.cpp:37)
>> stacktrace.cpp.o:(print_stacktrace(__sFILE*, int, bool, int, bool)) in archive ../lib/libcli.a
ld: error: undefined symbol: backtrace_symbols
>> referenced by stacktrace.cpp:52 (cli/stacktrace.cpp:52)
>> stacktrace.cpp.o:(print_stacktrace(__sFILE*, int, bool, int, bool)) in archive ../lib/libcli.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [cli/CMakeFiles/cppcheck.dir/build.make:247: bin/cppcheck] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:2331: cli/CMakeFiles/cppcheck.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:2338: cli/CMakeFiles/cppcheck.dir/rule] Error 2
gmake: *** [Makefile:920: cppcheck] Error 2
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.