https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816
--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> --- I can reproduce it on a different machine. One of the object files in the whole app build seems to be written bad. I could isolate the pre-processed .ii file. Compiling that .ii file and trying to link it reproduces the above error.