Open blacklightpy opened 9 months ago
OS: Void Linux C Library: musl libc
[ 12%] Building CXX object CMakeFiles/Ogda.dir/home/jyothish/repos/overgrowth/Source/Version/git_version.cpp.o [ 12%] Linking CXX executable Ogda.bin.x86_64 /usr/bin/ld: CMakeFiles/Ogda.dir/home/jyothish/repos/overgrowth/Source/Memory/stack_allocator.cpp.o: in function `GenerateStacktrace[abi:cxx11]()': /home/jyothish/repos/overgrowth/Projects/../Source/Utility/stacktrace.h:45: undefined reference to `backtrace' /usr/bin/ld: /home/jyothish/repos/overgrowth/Projects/../Source/Utility/stacktrace.h:47: undefined reference to `backtrace_symbols' /usr/bin/ld: /home/jyothish/repos/overgrowth/Projects/../Source/Utility/stacktrace.h:45: undefined reference to `backtrace' /usr/bin/ld: /home/jyothish/repos/overgrowth/Projects/../Source/Utility/stacktrace.h:47: undefined reference to `backtrace_symbols' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/Ogda.dir/build.make:1536: Ogda.bin.x86_64] Error 1 make[1]: *** [CMakeFiles/Makefile2:855: CMakeFiles/Ogda.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
Looks like the common workaround for this is to optionally link to libexecinfo
OS: Void Linux C Library: musl libc