https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99878
Bug ID: 99878 Summary: -use-ld=gold says "could not find ld" instead of "could not find gold" Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jynelson at email dot sc.edu Target Milestone: --- $ gcc-10 -fuse-ld=gold example.c collect2: fatal error: cannot find ‘ld’ compilation terminated. I would expect this to say "collect2: fatal error: cannot find ‘gold’" or 'ld.gold' instead. Upstream bug: https://github.com/rust-lang/rust/issues/82172 In case it matters, I do have gold installed but I removed the executable permissions for testing.