a patch against hardened-dev git, musl branch to allow compilation of autogen-5.18.1
this patch isn't intended for inclusion to official portage tree, it is intended for the musl branch in the hardened-dev overlay.
Created attachment 394154 [details, diff]
please assign to Anthony Basile
This is actually a bug in Guile's headers which has been fixed in Guile 2.0.10
What error would that print?
The problem is more precisely, that musl ships the header
<stdnoreturn.h> which is likely to become part of the next C Standard.
This header is supposed to define "noreturn" (used to mark functions
which don't return). musl uses "__attribute__((__noreturn__))" as the
definition for "noreturn". Now there is also guile's public header
<libguile/__scm.h> which defines "SCM_NORETURN" as
"__attribute__ ((noreturn))". So if <stdnoreturn.h> is included before
<libguile/__sch.h> we get "__attribute__ ((__attribute((__noreturn__))))
which of course throws an error. The linked commit fixes this problem.
doesn't look like it has anything to do with autogen
There is more history in bug #493464.
*** This bug has been marked as a duplicate of bug 493464 ***