Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646228 - unable to locate a BFD linker to bypass gold (LD="ld.gold")
Summary: unable to locate a BFD linker to bypass gold (LD="ld.gold")
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-31 18:46 UTC by Xuefer
Modified: 2019-11-24 21:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuefer 2018-01-31 18:46:25 UTC
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
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-07-13 07:56:13 UTC
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.