Omer Anson <oaanson@...> writes:

> When compiling against musl, I found that execinfo.h is used
> unconditionally, even though it is a glibc extension, and that
> asm/unistd.h is included directly (it does not exist in musl) and not
> via sys/syscall.h.

I have a possibly cleaner fix for the test compilation issue (link to
libexecinfo, it is being searched for in configure after all) that I
posted a few months ago:
https://github.com/tkelman/libunwind/commit
/6c05d1acc76c7942b4a01252256f09de24046baa

Was never applied though. I was able to solve the other issue with
asm/unistd.h by installing linux-headers on Alpine Linux. See
https://github.com/tkelman/julia-alpine/blob/libunwind/Dockerfile
for my test Dockerfile.

-Tony



_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to