Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608232 - sys-kernel/gentoo-sources fails to build with ld.gold since 4.8
Summary: sys-kernel/gentoo-sources fails to build with ld.gold since 4.8
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://marc.info/?l=linux-kernel&m=14...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 16:45 UTC by jorgicio
Modified: 2018-06-13 22:44 UTC (History)
2 users (show)

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


Attachments
The kbuild fix (03-kbuild-fix.patch,367 bytes, patch)
2017-02-04 16:45 UTC, jorgicio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2017-02-04 16:45:11 UTC
Hi!

Since 4.8 kernel release, it fails to build when I use ld.gold as a linker.
The issue happens in upstream. However, I found a patch to get rid with this.

https://bugzilla.kernel.org/show_bug.cgi?id=177741

I'll attach it then.
Thanks.

Reproducible: Always
Comment 1 jorgicio 2017-02-04 16:45:34 UTC
Created attachment 462442 [details, diff]
The kbuild fix
Comment 2 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2017-02-15 16:52:30 UTC
related mail
http://marc.info/?l=linux-kernel&m=147674747223074&w=2
Comment 3 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2017-02-15 16:56:31 UTC
solved upstream in https://github.com/torvalds/linux/commit/7f2084fa55e6cb61f61b4224d4a8bafaeee55f9f
Comment 4 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2017-02-15 17:01:50 UTC
i got the mail wrong.
This looks like the bisected bad commit https://github.com/torvalds/linux/commit/7f2084fa55e6cb61f61b4224d4a8bafaeee55f9f

reversing this make ld.gold work again
Comment 5 Mike Pagano gentoo-dev 2018-06-13 22:44:24 UTC
I just built 4.17.1 with the gold linker.  Closing as fixed. Let us know if you are still having issues with later kernels.