Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694612 - sys-kernel/gentoo-sources-5.3.0 - arch/x86/entry/vdso/vdso64.so.dbg: undefined symbols found
Summary: sys-kernel/gentoo-sources-5.3.0 - arch/x86/entry/vdso/vdso64.so.dbg: undefine...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-17 11:02 UTC by Ondrej Hojdysz
Modified: 2019-10-18 18:20 UTC (History)
4 users (show)

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


Attachments
kernel config (config,120.28 KB, text/plain)
2019-09-17 14:19 UTC, Ondrej Hojdysz
Details
make output (make_output,4.89 KB, text/plain)
2019-09-17 14:20 UTC, Ondrej Hojdysz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Hojdysz 2019-09-17 11:02:00 UTC
Reproducible: Always

Steps to reproduce:
emerge gentoo-sources-5.3.0

make distclean
make defconfig
make

relevant part of build output:
  CC      arch/x86/entry/vdso/vclock_gettime.o
  CC      arch/x86/entry/vdso/vgetcpu.o
  VDSO    arch/x86/entry/vdso/vdso64.so.dbg
arch/x86/entry/vdso/vdso64.so.dbg: undefined symbols found
make[3]: *** [arch/x86/entry/vdso/Makefile:59: arch/x86/entry/vdso/vdso64.so.dbg] Error 1
make[3]: *** Deleting file 'arch/x86/entry/vdso/vdso64.so.dbg'
make[2]: *** [scripts/Makefile.build:497: arch/x86/entry/vdso] Error 2
make[1]: *** [scripts/Makefile.build:497: arch/x86/entry] Error 2
make: *** [Makefile:1083: arch/x86] Error 2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-17 12:37:32 UTC
Please attach the entire make output and the .config file to this bug report.
Comment 2 Ondrej Hojdysz 2019-09-17 14:19:54 UTC
Created attachment 590078 [details]
kernel config
Comment 3 Ondrej Hojdysz 2019-09-17 14:20:16 UTC
Created attachment 590080 [details]
make output
Comment 4 Sven B. 2019-09-17 16:22:40 UTC
Same here. using ld.bfd instead of ld.gold works.
Comment 5 Ondrej Hojdysz 2019-09-18 06:01:02 UTC
Same here switching from gold to bfd fixes the problem
Comment 6 Michael Schmid 2019-10-01 09:07:18 UTC
This also seems to happen on the main stable/linux.git linux-5.3.y branch, and has done so for a few minor release versions.

Switching to the bfd linker also works around the issue there.
Comment 7 Mike Pagano gentoo-dev 2019-10-18 17:35:13 UTC
The gold linker is not supported upstream to the point of now having a commit that will fail when attempted.

"kbuild: Fail if gold linker is detected"

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=75959d44f9dc8e44410667009724e4e238515502