* [BUG] 2.6.32-rc5 build failure on Alpha
@ 2009-10-29 3:53 Bob Tracy
2009-10-29 5:10 ` Bob Tracy
0 siblings, 1 reply; 4+ messages in thread
From: Bob Tracy @ 2009-10-29 3:53 UTC (permalink / raw)
To: linux-kernel; +Cc: debian-alpha
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
--
------------------------------------------------------------------------
Bob Tracy | "Every normal man must be tempted at times to spit
rct@frus.com | upon his hands, hoist the black flag, and begin
| slitting throats." -- H.L. Mencken
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [BUG] 2.6.32-rc5 build failure on Alpha
2009-10-29 3:53 [BUG] 2.6.32-rc5 build failure on Alpha Bob Tracy
@ 2009-10-29 5:10 ` Bob Tracy
0 siblings, 0 replies; 4+ messages in thread
From: Bob Tracy @ 2009-10-29 5:10 UTC (permalink / raw)
To: linux-kernel; +Cc: debian-alpha
On Wed, Oct 28, 2009 at 10:53:05PM -0500, Bob Tracy wrote:
> 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
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] 2.6.32-rc5 build failure on Alpha
@ 2009-10-29 5:39 Bob Tracy
2009-10-29 5:57 ` Sam Ravnborg
0 siblings, 1 reply; 4+ messages in thread
From: Bob Tracy @ 2009-10-29 5:39 UTC (permalink / raw)
To: linux-kernel; +Cc: debian-alpha
On Wed, Oct 28, 2009 at 10:53:05PM -0500, Bob Tracy wrote:
> 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
> In arch/alpha/include/asm/thread_info.h, THREAD_SIZE is defined as
> (2*PAGE_SIZE).
Ok. Found it. The THREAD_SIZE definition is inside a
"#ifndef __ASSEMBLY__" block, so it never gets referenced (because
"__ASSEMBLY__" is defined for the "vmlinux.lds" build). The obvious
suggested fix is to move the definition outside the block.
--Bob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] 2.6.32-rc5 build failure on Alpha
2009-10-29 5:39 Bob Tracy
@ 2009-10-29 5:57 ` Sam Ravnborg
0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2009-10-29 5:57 UTC (permalink / raw)
To: Bob Tracy; +Cc: linux-kernel, debian-alpha
On Thu, Oct 29, 2009 at 12:39:47AM -0500, Bob Tracy wrote:
> On Wed, Oct 28, 2009 at 10:53:05PM -0500, Bob Tracy wrote:
> > 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
>
> > In arch/alpha/include/asm/thread_info.h, THREAD_SIZE is defined as
> > (2*PAGE_SIZE).
>
> Ok. Found it. The THREAD_SIZE definition is inside a
> "#ifndef __ASSEMBLY__" block, so it never gets referenced (because
> "__ASSEMBLY__" is defined for the "vmlinux.lds" build). The obvious
> suggested fix is to move the definition outside the block.
A patch doing this has been posted some time ago.
I think/hope it is in -mm if it is not yet in -linus.
Sam
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-29 5:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 3:53 [BUG] 2.6.32-rc5 build failure on Alpha Bob Tracy
2009-10-29 5:10 ` Bob Tracy
2009-10-29 5:39 Bob Tracy
2009-10-29 5:57 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®