https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105012
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-03-22
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I can reproduce that on x86_64-linux-gnu and I'm trying to reduce that.
> Sorry for the lack of a small reproducer, still need to learn how to reduce
> LTO cases properly..
You can do that in the following steps:
1) reduce the number of objects needed on the linker command line - you can put
them to FILES.txt and then use cvise-delta to find a minimal set of files
needed; sometimes one needs to use -shared -fPIC in order to prevent missing
symbols linker errors
2) create pre-processed files for the culprit objects and then run gcc *.i
-flto ... and bisect all files at once with cvise