REGRESSION: x86 vDSO: remove vdso-syms.o

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: Thomas Gleixner <tglx@...>, Roland McGrath <roland@...>, Ingo Molnar <mingo@...>
Date: Monday, February 11, 2008 - 6:30 pm

I started getting following linking error on amd64 after the 2.6.25
patch floodgates were opened:
[snip]
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/x86/vdso/built-in.o: In function `init_vdso_vars':
vma.c:(.init.text+0x170): undefined reference to `VDSO64_vgetcpu_mode'
vma.c:(.init.text+0x1a3): undefined reference to `VDSO64_vsyscall_gtod_data'
vma.c:(.init.text+0x1aa): undefined reference to `VDSO64_vgetcpu_mode'
vma.c:(.init.text+0x1d8): undefined reference to `VDSO64_vsyscall_gtod_data'
make: *** [.tmp_vmlinux1] Error 1

Bisecting turned up following commit:
2b9c97e16101e8dc2b0810d6f932d475a051d785 is first bad commit
commit 2b9c97e16101e8dc2b0810d6f932d475a051d785
Author: Roland McGrath <roland@redhat.com>
Date:   Wed Jan 30 13:30:41 2008 +0100

    x86 vDSO: remove vdso-syms.o
    
    Get rid of vdso-syms.o from the kernel link.  We don't need it any more.
    
    Signed-off-by: Roland McGrath <roland@redhat.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>


To test get the error, just disable 32 bit emulation (IA32_EMULATION)

Cheers,
Priit ;)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
REGRESSION: x86 vDSO: remove vdso-syms.o, Priit Laes, (Mon Feb 11, 6:30 pm)
Re: REGRESSION: x86 vDSO: remove vdso-syms.o, Roland McGrath, (Mon Feb 11, 6:53 pm)
Re: REGRESSION: x86 vDSO: remove vdso-syms.o, Priit Laes, (Mon Feb 11, 8:00 pm)
Re: REGRESSION: x86 vDSO: remove vdso-syms.o, Roland McGrath, (Mon Feb 11, 8:36 pm)
Re: REGRESSION: x86 vDSO: remove vdso-syms.o, Ingo Molnar, (Mon Feb 11, 7:16 pm)
Re: REGRESSION: x86 vDSO: remove vdso-syms.o, Roland McGrath, (Mon Feb 11, 7:23 pm)
Re: REGRESSION: x86 vDSO: remove vdso-syms.o, Roland McGrath, (Mon Feb 11, 7:29 pm)
Re: REGRESSION: x86 vDSO: remove vdso-syms.o, Jan Engelhardt, (Fri Feb 15, 9:45 am)