https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #11 from Sebastian Unger <sebunger44 at gmail dot com> --- I see. It was the SORT_BY_INIT_PRIORITY with the section name used not actually having a priority that triggered it, was it?! If I change the section name to .init_array.1 then it works. But, yes, you suggestion using the constructor attribute is even better. Thank you very much. I suspect it would still be better to not crash though. ;-)