https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91273
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Still works for me hubicka@lomikamen-jh:~$ /aux/hubicka/trunk-install/bin/g++ 1.ii 2.F -O2 -flto /usr/local/bin/ld: /tmp/ccpfzvWm.ltrans0.ltrans.o: in function `main': <artificial>:(.text.startup+0x5): undefined reference to `_gfortran_set_args' /usr/local/bin/ld: <artificial>:(.text.startup+0x14): undefined reference to `_gfortran_set_options' collect2: error: ld returned 1 exit status also with system compiler on tumbleweed There is extra cat in 1.ii, perhaps it is truncated?