public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* UML build failure in 2.6.27-rc3
@ 2008-08-21 15:19 Theodore Ts'o
  2008-08-21 15:45 ` Geert Uytterhoeven
  2008-08-25 22:04 ` Jeff Dike
  0 siblings, 2 replies; 4+ messages in thread
From: Theodore Ts'o @ 2008-08-21 15:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jeff Dike

Is this a known problem?

  SYMLINK arch/um/include/kern_constants.h
  SYMLINK arch/um/include/sysdep
make[2]: `arch/um/sys-i386/user-offsets.s' is up to date.
  CHK     arch/um/include/user_constants.h
  Using /usr/projects/linux/ext4 as source for kernel
  GEN     /usr/projects/linux/uml/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    /usr/projects/linux/ext4/scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      arch/um/kernel/ptrace.o
/usr/projects/linux/ext4/arch/um/kernel/ptrace.c:230: error: static declaration of ‘send_sigtrap’ follows non-static declaration
include2/asm/ptrace-generic.h:51: error: previous declaration of ‘send_sigtrap’ was here
make[2]: *** [arch/um/kernel/ptrace.o] Error 1
make[1]: *** [arch/um/kernel] Error 2
make: *** [sub-make] Error 2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: UML build failure in 2.6.27-rc3
  2008-08-21 15:19 UML build failure in 2.6.27-rc3 Theodore Ts'o
@ 2008-08-21 15:45 ` Geert Uytterhoeven
  2008-08-25 22:04 ` Jeff Dike
  1 sibling, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2008-08-21 15:45 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-kernel, Jeff Dike

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1521 bytes --]

On Thu, 21 Aug 2008, Theodore Ts'o wrote:
> Is this a known problem?
> 
>   SYMLINK arch/um/include/kern_constants.h
>   SYMLINK arch/um/include/sysdep
> make[2]: `arch/um/sys-i386/user-offsets.s' is up to date.
>   CHK     arch/um/include/user_constants.h
>   Using /usr/projects/linux/ext4 as source for kernel
>   GEN     /usr/projects/linux/uml/Makefile
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   CALL    /usr/projects/linux/ext4/scripts/checksyscalls.sh
>   CHK     include/linux/compile.h
>   CC      arch/um/kernel/ptrace.o
> /usr/projects/linux/ext4/arch/um/kernel/ptrace.c:230: error: static declaration of ‘send_sigtrap’ follows non-static declaration
> include2/asm/ptrace-generic.h:51: error: previous declaration of ‘send_sigtrap’ was here
> make[2]: *** [arch/um/kernel/ptrace.o] Error 1
> make[1]: *** [arch/um/kernel] Error 2
> make: *** [sub-make] Error 2

At least I don't see it in 2.6.27-rc4, for both ia32 and amd64 UML builds.
I also had no build problems during the last few weeks.

Does you config differ a lot from the defconfig?

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: UML build failure in 2.6.27-rc3
  2008-08-21 15:19 UML build failure in 2.6.27-rc3 Theodore Ts'o
  2008-08-21 15:45 ` Geert Uytterhoeven
@ 2008-08-25 22:04 ` Jeff Dike
  2008-08-25 23:30   ` Theodore Tso
  1 sibling, 1 reply; 4+ messages in thread
From: Jeff Dike @ 2008-08-25 22:04 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-kernel

On Thu, Aug 21, 2008 at 11:19:00AM -0400, Theodore Ts'o wrote:
> Is this a known problem?
> 
>   SYMLINK arch/um/include/kern_constants.h
>   SYMLINK arch/um/include/sysdep
> make[2]: `arch/um/sys-i386/user-offsets.s' is up to date.
>   CHK     arch/um/include/user_constants.h
>   Using /usr/projects/linux/ext4 as source for kernel
>   GEN     /usr/projects/linux/uml/Makefile
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   CALL    /usr/projects/linux/ext4/scripts/checksyscalls.sh
>   CHK     include/linux/compile.h
>   CC      arch/um/kernel/ptrace.o
> /usr/projects/linux/ext4/arch/um/kernel/ptrace.c:230: error: static declaration of ‘send_sigtrap’ follows non-static declaration
> include2/asm/ptrace-generic.h:51: error: previous declaration of ‘send_sigtrap’ was here
> make[2]: *** [arch/um/kernel/ptrace.o] Error 1
> make[1]: *** [arch/um/kernel] Error 2
> make: *** [sub-make] Error 2

Are you sure you have a consistent tree?  I see no declaration of
send_sigtrap in ptrace-generic.h.  There is one in asm-x86/ptrace.h
but it's not at line 51.

			Jeff

-- 
Work email - jdike at linux dot intel dot com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: UML build failure in 2.6.27-rc3
  2008-08-25 22:04 ` Jeff Dike
@ 2008-08-25 23:30   ` Theodore Tso
  0 siblings, 0 replies; 4+ messages in thread
From: Theodore Tso @ 2008-08-25 23:30 UTC (permalink / raw)
  To: Jeff Dike; +Cc: linux-kernel

On Mon, Aug 25, 2008 at 06:04:06PM -0400, Jeff Dike wrote:
> Are you sure you have a consistent tree?  I see no declaration of
> send_sigtrap in ptrace-generic.h.  There is one in asm-x86/ptrace.h
> but it's not at line 51.

Now I see what happened.  I did have a consistent tree, but I was
doing a build via "make ARCH=um O=/usr/projects/linux/uml" --- and I
had previously built a UML tree from another source tree without doing
a "make mrproper", so /usr/projects/linux/uml/include2/asm was a
symlink to another kernel tree's include/asm directory.

It might be nice if kbuild caught the inconsistency, but this was my
bad.

							- Ted

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-25 23:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 15:19 UML build failure in 2.6.27-rc3 Theodore Ts'o
2008-08-21 15:45 ` Geert Uytterhoeven
2008-08-25 22:04 ` Jeff Dike
2008-08-25 23:30   ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox