Bug 204951

Summary: arch/x86/entry/vdso/vdso64.so.dbg: undefined symbols found
Product: Other Reporter: Treeve Jelbert (tjbugs)
Component: ConfigurationAssignee: other_configuration (other_configuration)
Status: NEW ---    
Severity: normal CC: david, jbuchert+kbugs, pmw.gover
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.3.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: config file
compile log

Description Treeve Jelbert 2019-09-22 12:32:21 UTC
Created attachment 285085 [details]
config file

previous builds of 5.2.x were ok

  LINK     /var/git/linux-5.3/tools/objtool/objtool
  CC      arch/x86/events/amd/core.o
  CC      init/main.o
  CC      arch/x86/kernel/acpi/boot.o
  AS      arch/x86/entry/vdso/vdso-note.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
Comment 1 Treeve Jelbert 2019-09-22 12:33:42 UTC
Created attachment 285087 [details]
compile log
Comment 2 Paul Gover 2019-09-25 12:09:58 UTC
There's a similar report on the Gentoo bugzilla:
https://bugs.gentoo.org/694612

The cure is to force the use of the BFD linker instead of Gold.
One way to do it is

   make ... LD=ld.bfd

(where "..." are whatever other make options you want for your kernel compilation.)
Comment 3 David Heidelberg (okias) 2019-10-05 16:49:40 UTC
I can confirm issue with >= 5.3.