Gentoo Archives: gentoo-dev

From: Jaco Kroon <jaco@××××××.za>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] musl doesn't provide execinfo.h
Date: Mon, 23 Mar 2020 08:21:28
Message-Id: 203ff5e0-dc8f-699d-83bb-188a69083458@uls.co.za
1 Hi,
2
3 https://bugs.gentoo.org/713668 relates.
4
5  * Searching for /usr/include/execinfo.h ...
6 sys-libs/glibc-2.29-r7 (/usr/include/execinfo.h)
7
8 As I see I can either add an explicit depend on glibc which I'd prefer
9 not to.  Or someone from the musl team could possibly assist on how to
10 get the backtrace() set of calls on musl please?
11
12 Alternatively I need to add a test and simply path debug.c to only
13 provide stub function for print_backtrace(FILE *fp) that just does
14 fprintf(fp, "No backtrace() available to print a backtrace.\n");
15
16 Suggestions?
17
18 Kind Regards,
19 Jaco

Replies

Subject Author
Re: [gentoo-dev] musl doesn't provide execinfo.h "Michał Górny" <mgorny@g.o>
Re: [gentoo-dev] musl doesn't provide execinfo.h Joshua Kinard <kumba@g.o>