https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89147
--- Comment #2 from Konstantin Kharlamov <Hi-Angel at yandex dot ru> --- (In reply to Andrew Pinski from comment #1) > >Possible workarounds are welcome. > > Use -ffat-lto-objects or use a .s file. Thank you for reply! Adding a `-ffat-lto-objects` to the command above didn't help, still "no symbols". Unless no other way around, I'd like to refrain from reworking the generation code to produce a .S file as that likely would result in a lot of work and may introduce bugs, whereas the code works well ATM. I wonder though if it's possible to rewrite it to use "builtin"s (I didn't look at that more closely yet).