https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61352
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #16 from Iain Sandoe <iains at gcc dot gnu.org> ---
At present, we are calling dsymutil unconditionally, e.g. for:
gcc foo.o -g -o foo.exe
... which should not invoke dsymutil - it should only run:
(a) if there's a source file on the command line
(b) it we are doing LTO && a recompile of LTO code from objects takes place.
--- trunk/gcc/collect2.c 2014/05/29 22:16:02 211066
+++ trunk/gcc/collect2.c 2014/05/29 23:20:39 211067
@@ -848,6 +848,8 @@
fork_execute ("ld", lto_ld_argv);
post_ld_pass (false);
}
+ else
+ post_ld_pass (true);
I think there's a paste-o here and this ^ and this should be "post_ld_pass
(false)"
}
/* Main program. */