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
Created attachment 462442 [details, diff] The kbuild fix
related mail http://marc.info/?l=linux-kernel&m=147674747223074&w=2
solved upstream in https://github.com/torvalds/linux/commit/7f2084fa55e6cb61f61b4224d4a8bafaeee55f9f
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
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.