Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678710 - sys-boot/yaboot-1.3.17-r3 fails to build with gold linker enabled
Summary: sys-boot/yaboot-1.3.17-r3 fails to build with gold linker enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2019-02-24 22:14 UTC by xela
Modified: 2019-05-26 08:51 UTC (History)
3 users (show)

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


Attachments
emerge -pqv '=sys-boot/yaboot-1.3.17-r3::gentoo' (file_678710.txt,5.70 KB, text/plain)
2019-02-24 22:14 UTC, xela
Details
build.log (acCH7,135.79 KB, application/octet-stream)
2019-02-24 22:30 UTC, Sergei Trofimovich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)