[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] [PATCH] Fix compilation issues when compiling agai
From: |
Tony Kelman |
Subject: |
Re: [Libunwind-devel] [PATCH] Fix compilation issues when compiling against musl |
Date: |
Wed, 4 May 2016 09:12:50 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Omer Anson <address@hidden> 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