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
Hi,

https://bugs.gentoo.org/713668 relates.

 * Searching for /usr/include/execinfo.h ...
sys-libs/glibc-2.29-r7 (/usr/include/execinfo.h)

As I see I can either add an explicit depend on glibc which I'd prefer
not to.  Or someone from the musl team could possibly assist on how to
get the backtrace() set of calls on musl please?

Alternatively I need to add a test and simply path debug.c to only
provide stub function for print_backtrace(FILE *fp) that just does
fprintf(fp, "No backtrace() available to print a backtrace.\n");

Suggestions?

Kind Regards,
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>