[Bug 1200186] gcc with -fuse-ld=lld fails due to missing cortex flags
https://bugzilla.suse.com/show_bug.cgi?id=1200186 https://bugzilla.suse.com/show_bug.cgi?id=1200186#c4 --- Comment #4 from William Brown <william.brown@suse.com> --- (In reply to Richard Biener from comment #3)
(In reply to William Brown from comment #2)
(In reply to Richard Biener from comment #1)
Why are you using -fuse-ld=lld?
Because lld is significantly faster than the default.
But lld is not supported, you are on your own when using it (with GCC even more so).
gcc supplies and allows the -fuse-ld=lld argument, so I think in this case if it's present gcc should not emit incompatible flags for lld. I am aware that lld is not supported, but my time is also important and the difference in many builds, especially rust can be more than double by swapping to lld. For further, see https://github.com/rui314/mold#readme which has other comparisons. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com