1 |
On Mon, 23 Mar 2020 21:09:15 +0200 |
2 |
Jaco Kroon <jaco@××××××.za> wrote: |
3 |
|
4 |
> Hi Michał, |
5 |
> |
6 |
> On 2020/03/23 18:25, Michał Górny wrote: |
7 |
> |
8 |
> > On Mon, 2020-03-23 at 10:21 +0200, Jaco Kroon wrote: |
9 |
> >> Hi, |
10 |
> >> |
11 |
> >> https://bugs.gentoo.org/713668 relates. |
12 |
> >> |
13 |
> >> * Searching for /usr/include/execinfo.h ... |
14 |
> >> sys-libs/glibc-2.29-r7 (/usr/include/execinfo.h) |
15 |
> >> |
16 |
> >> As I see I can either add an explicit depend on glibc which I'd prefer |
17 |
> >> not to. Or someone from the musl team could possibly assist on how to |
18 |
> >> get the backtrace() set of calls on musl please? |
19 |
> >> |
20 |
> > As someone not on musl team, I think libunwind provides |
21 |
> > an implementation of backtrace(). |
22 |
> > |
23 |
> Thanks. That indeed looks interesting. |
24 |
> |
25 |
> Let's say I do go that route rather than simply no-opping it, would I |
26 |
> add a BDEPEND + RDEPEND of the form: |
27 |
> |
28 |
> || ( sys-libs/glibc sys-libs/libunwind ) |
29 |
> |
30 |
> To the ebuild? |
31 |
> |
32 |
> The code (./configure and actual "C" I'll manage). |
33 |
> |
34 |
> Kind Regards, |
35 |
> Jaco |
36 |
> |
37 |
> |
38 |
|
39 |
if libunwind can be used, you should use this dep |
40 |
|
41 |
elibc_musl? ( sys-libs/libunwind:= ) |
42 |
|
43 |
but idk if it's usable as is on musl. |
44 |
best way to check is to get musl stage3 tarball and test it. |
45 |
alpine does have a musl patch, but it seems they just patch it out completely. |
46 |
https://git.alpinelinux.org/aports/tree/main/dahdi-tools/fix-musl.patch |
47 |
|
48 |
|
49 |
|
50 |
-- |
51 |
Georgy Yakovlev <gyakovlev@g.o> |