Skip to contentSkip to conversation

2.6.32-rc5 build failure on Alpha

BUG Bob Tracy 1 participant 2 messages Oct 29, 2009

lore
Share & tools
lore

Bob Tracy

author
#0 lore raw

Mainline 2.6.32-rc5 kernel build failure. The last few lines of the kernel build output are:

LD vmlinux.o
MODPOST vmlinux.o
WARNING: "saved_config" [vmlinux] is COMMON symbol

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/alpha/kernel/vmlinux.lds:241: undefined symbol `THREAD_SIZE' referenced in expression
make: *** [.tmp_vmlinux1] Error 1

Signature · 5 lines
------------------------------------------------------------------------
Bob Tracy          |  "Every normal man must be tempted at times to spit
[email protected]       |   upon his hands, hoist the black flag, and begin
                   |   slitting throats."	-- H.L. Mencken
------------------------------------------------------------------------
author
#1 lore raw
Quoted 6 lines · Bob Tracy

Mainline 2.6.32-rc5 kernel build failure. The last few lines of the kernel build output are:

LD vmlinux.o
MODPOST vmlinux.o
WARNING: "saved_config" [vmlinux] is COMMON symbol

Quoted 8 lines
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/alpha/kernel/vmlinux.lds:241: undefined symbol `THREAD_SIZE' referenced in expression
make: *** [.tmp_vmlinux1] Error 1

In arch/alpha/include/asm/thread_info.h, THREAD_SIZE is defined as (2*PAGE_SIZE). I tried editing arch/alpha/kernel/vmlinux.lds.S and making that substitution manually, and the build succeeds. "thread_info.h" is being included, so I have no idea why the build is breaking. gcc version is 4.3.4 (Debian 4.3.4-5), and binutils version is 2.19.91.20091006.

--Bob