Skip to content
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

Issue when compiling tlx against musl #36

Closed
jeremiahpslewis opened this issue Dec 14, 2021 · 1 comment
Closed

Issue when compiling tlx against musl #36

jeremiahpslewis opened this issue Dec 14, 2021 · 1 comment

Comments

@jeremiahpslewis
Copy link

jeremiahpslewis commented Dec 14, 2021

Problematic line seems to be:

#if __linux__

#include <execinfo.h>

A fix might (have no C++ experience, apologies) be:

-#ifdef __linux__
 +#ifdef __GLIBC__

Seems like it might be a similar issue to one resolved in this project:

[22:23:18] Cloning into 'utfcpp'...
[22:23:18] /workspace/srcdir/qlever/third_party/stxxl/extlib/foxxll/extlib/tlx/tlx/backtrace.cpp:22:10: fatal error: execinfo.h: No such file or directory
[22:23:18]    22 | #include <execinfo.h>
[22:23:18]       |          ^~~~~~~~~~~~
[22:23:18] compilation terminated.
[22:23:18] make[2]: *** [third_party/stxxl/extlib/foxxll/extlib/tlx/tlx/CMakeFiles/tlx.dir/build.make:96: third_party/stxxl/extlib/foxxll/extlib/tlx/tlx/CMakeFiles/tlx.dir/backtrace.cpp.o] Error 1
[22:23:18] make[2]: *** Waiting for unfinished jobs....

See here: https://gist.github.com/jeremiahpslewis/d6db9f9848567ab992f196261f4eaf33

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

No branches or pull requests

2 participants