Summary: | sys-kernel/gentoo-sources-4.20.10 with LD=gold: /usr/src/linux-4.20.10-gentoo/arch/x86/entry/vdso/vclock_gettime.c:143: error: relocation overflow: reference to 'vvar_vsyscall_gtod_data' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | redblade7, tb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.kernel.org/show_bug.cgi?id=187841 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config-4.20.10-gentoo |
Description
Dennis Schridde
2019-02-17 10:54:53 UTC
This is known. Don't use GOLD linker until this is fixed. (In reply to Thomas Deutschmann from comment #1) > This is known. Don't use GOLD linker until this is fixed. In that case this is triggered by USE=default-gold on sys-devel/binutils-2.31.1-r4. (In reply to Dennis Schridde from comment #2) > (In reply to Thomas Deutschmann from comment #1) > > This is known. Don't use GOLD linker until this is fixed. > > In that case this is triggered by USE=default-gold on > sys-devel/binutils-2.31.1-r4. Workaround is `make LD=ld.bfd` when building the kernel. (In reply to Dennis Schridde from comment #3) > (In reply to Dennis Schridde from comment #2) > > (In reply to Thomas Deutschmann from comment #1) > > > This is known. Don't use GOLD linker until this is fixed. > > > > In that case this is triggered by USE=default-gold on > > sys-devel/binutils-2.31.1-r4. > > Workaround is `make LD=ld.bfd` when building the kernel. This does not work for me, I have to switch to ld.bfd using binutils-config whenever I want to build the kernel, and then put it back to gold when I'm finished. I can link the proprietary NVIDIA module (from x11-drivers/nvidia-drivers) with ld.gold, no problems. (In reply to Red from comment #4) > (In reply to Dennis Schridde from comment #3) > > (In reply to Dennis Schridde from comment #2) > > > (In reply to Thomas Deutschmann from comment #1) > > > > This is known. Don't use GOLD linker until this is fixed. > > > > > > In that case this is triggered by USE=default-gold on > > > sys-devel/binutils-2.31.1-r4. > > > > Workaround is `make LD=ld.bfd` when building the kernel. > > This does not work for me, I have to switch to ld.bfd using binutils-config > whenever I want to build the kernel, and then put it back to gold when I'm > finished. > > I can link the proprietary NVIDIA module (from x11-drivers/nvidia-drivers) > with ld.gold, no problems. EDIT: I'm currently using gentoo-sources 4.19.23, not 4.20.10. The gold linker is not supported by upstream and will now explicitly fail when discovered. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=75959d44f9dc |