https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #13 from Sebastian Unger ---
No worries, the constructor attribute is much better. I was aware of that, but
at the time had already several examples using .preinit_array and couldn't be
bothered to look it up. I later added the sort
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #11 from Sebastian Unger ---
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 su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #9 from Sebastian Unger ---
(In reply to Sebastian Unger from comment #8)
> Not that on my target everything compiles and runs fine without -flto!
Not -> Note
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #8 from Sebastian Unger ---
Not that on my target everything compiles and runs fine without -flto!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #7 from Sebastian Unger ---
How is it broken and how should it be rewritten?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
--- Comment #4 from Sebastian Unger ---
I should have mentioned that for my TC I use binutils 2.41.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113183
Bug ID: 113183
Summary: LTO crashes with Segmentation fault
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto