https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101115

--- Comment #2 from Chris Packham <judge.packham at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> Try adding --enable-initfini-array to gcc config
> 
> Most likely GCC config is not detecting .init_array/.fini_array support
> which is now always turned on the trunk for *linux-* targets.

Yes that does the trick. I'll work on plumbing that into ct-ng when building
GCC 10 or GCC 11.

Any idea how that will interact with the non-GNU libcs (specifically musl and
uClibc)?

Reply via email to