It seems toolchain-funcs.eclass do not strip ".gold" suffix from $LD before adding .bfd suffix like it should :) Reproducible: Always Steps to Reproduce: 1. set LD="ld.gold" in make.conf (or env/* via package.env) 2. emerge sys-boot/grub Actual Results: unable to locate a BFD linker to bypass gold Expected Results: no error
Do you still have a build.log that shows the failure? # LD="ld.gold" emerge -v1 grub ... * Forcing usage of the BFD linker instead of GOLD ... works for me as expected.