Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 678710

Summary: sys-boot/yaboot-1.3.17-r3 fails to build with gold linker enabled
Product: Gentoo Linux Reporter: xela <lyssdod>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, slyfox, toolchain
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=641560
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: emerge -pqv '=sys-boot/yaboot-1.3.17-r3::gentoo'
build.log

Description xela 2019-02-24 22:14:51 UTC
Created attachment 566382 [details]
emerge -pqv '=sys-boot/yaboot-1.3.17-r3::gentoo'

Trying to build package with gold linker enabled the following error occurs:

.....
util/addnote second/yaboot.chrp
sorry, I can't find space in second/yaboot.chrp to put the note
make: *** [Makefile:115: yaboot] Error 1
 * ERROR: sys-boot/yaboot-1.3.17-r3::gentoo failed (compile phase):
 *   emake failed
 * 


# emerge -pqv '=sys-boot/yaboot-1.3.17-r3::gentoo'
[ebuild   R   ] sys-boot/yaboot-1.3.17-r3  USE="(-ibm)"
Comment 1 xela 2019-02-24 22:18:28 UTC
Build log: https://clbin.com/acCH7
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-24 22:29:47 UTC
This is a followup on bug #641560
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-24 22:30:09 UTC
Created attachment 566384 [details]
build.log
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-24 23:01:03 UTC
We have a 'tc-ld-disable-gold()' helper:
    https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/toolchain-funcs.eclass#n463

Do you want to write a patch?
Comment 5 xela 2019-02-24 23:58:20 UTC
I will try :)
Comment 6 Larry the Git Cow gentoo-dev 2019-05-26 08:51:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e29c82c3979e80305a116fe89eb1220e096224c7

commit e29c82c3979e80305a116fe89eb1220e096224c7
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-05-26 08:50:54 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-05-26 08:50:54 +0000

    sys-boot/yaboot: disable ld.gold, bug #678710
    
    Reported-by: xela
    Closes: https://bugs.gentoo.org/678710
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-boot/yaboot/yaboot-1.3.17-r3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)