Gentoo Archives: gentoo-dev

From: Jaco Kroon <jaco@××××××.za>
To: gentoo-dev@l.g.o, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-dev] musl doesn't provide execinfo.h
Date: Mon, 23 Mar 2020 19:09:31
Message-Id: 9f7851be-8b91-b482-4482-e4dcd9e8187c@uls.co.za
In Reply to: Re: [gentoo-dev] musl doesn't provide execinfo.h by "Michał Górny"
1 Hi Michał,
2
3 On 2020/03/23 18:25, Michał Górny wrote:
4
5 > On Mon, 2020-03-23 at 10:21 +0200, Jaco Kroon wrote:
6 >> Hi,
7 >>
8 >> https://bugs.gentoo.org/713668 relates.
9 >>
10 >> * Searching for /usr/include/execinfo.h ...
11 >> sys-libs/glibc-2.29-r7 (/usr/include/execinfo.h)
12 >>
13 >> As I see I can either add an explicit depend on glibc which I'd prefer
14 >> not to. Or someone from the musl team could possibly assist on how to
15 >> get the backtrace() set of calls on musl please?
16 >>
17 > As someone not on musl team, I think libunwind provides
18 > an implementation of backtrace().
19 >
20 Thanks.  That indeed looks interesting.
21
22 Let's say I do go that route rather than simply no-opping it, would I
23 add a BDEPEND + RDEPEND of the form:
24
25 || ( sys-libs/glibc sys-libs/libunwind )
26
27 To the ebuild?
28
29 The code (./configure and actual "C" I'll manage).
30
31 Kind Regards,
32 Jaco

Replies

Subject Author
Re: [gentoo-dev] musl doesn't provide execinfo.h Georgy Yakovlev <gyakovlev@g.o>