https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513
--- Comment #4 from Greg Chandler <chandleg at wizardsworks dot org> ---
I'm not sure if the -plugin error was a red-herring, I just tried this:
root@bigbang:/tmp# gcc -fno-lto 1.c
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> {heap 680k} <visibility> {heap 680k} <build_ssa_passes>
{heap 680k} <opt_local_passes> {heap 680k} <remove_symbols> {heap 680k}
<targetclone> {heap 680k} <free-fnsummary> {heap 680k}Streaming LTO
<whole-program> {heap 680k} <fnsummary> {heap 680k} <inline> {heap 680k}
<modref> {heap 680k} <free-fnsummary> {heap 680k} <single-use> {heap 680k}
<comdats> {heap 680k}Assembling functions:
Time variable usr sys wall
GGC
phase setup : 0.03 ( 80%) 0.00 ( 57%) 0.04 ( 77%)
1255k ( 92%)
phase parsing : 0.01 ( 18%) 0.00 ( 0%) 0.01 ( 15%)
110k ( 8%)
parser (global) : 0.01 ( 20%) 0.00 ( 0%) 0.01 ( 17%)
101k ( 7%)
TOTAL : 0.04 0.01 0.05
1368k
gcc: fatal error: cannot execute '-fno-lto': posix_spawnp: No such file or
directory
compilation terminated.
So it feels like something is going on with the parser, but I am not familiar
with that code, so I'll go take a look and see what's in the sources...