Hi Dave, On Mon, 2 May 2011 00:36:43 -0400 Dave Jones <davej@xxxxxxxxxx> wrote: > > That's interesting. That suggests that something isn't being built with KBUILD_CFLAGS. > I did a full defconfig build on x86-64 successfully (allmodconfig is churning away). > Can you point me at something that doesn't build ? I have just done an i386 defconfig build with V=1. Every compilation has that flag passed to it, but only one complains: i386-linux-gcc -Wp,-MD,kernel/.futex.o.d -nostdinc -isystem /opt/cross/gcc-4.4.5-nolibc/i386-linux/bin/../lib/gcc/i386-linux/4.4.5/include -I/scratch/sfr/next/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/scratch/sfr/next/include -include include/generated/autoconf.h -I/scratch/sfr/next/kernel -Ikernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(futex)" -D"KBUILD_MODNAME=KBUILD_STR(futex)" -c -o kernel/futex.o /scratch/sfr/next/kernel/futex.c /scratch/sfr/next/kernel/futex.c: In function 'fixup_pi_state_owner': /scratch/sfr/next/kernel/futex.c:1549: warning: 'curval' may be used uninitialized in this function /scratch/sfr/next/kernel/futex.c: In function 'futex_lock_pi_atomic': /scratch/sfr/next/kernel/futex.c:678: warning: 'curval' may be used uninitialized in this function /scratch/sfr/next/kernel/futex.c: In function 'handle_futex_death': /scratch/sfr/next/kernel/futex.c:2454: warning: 'nval' may be used uninitialized in this function At top level: cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable" I removed kernel/futex.o and recompiled to verify. futex.c doesn't seem to be built any differently to anything else. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpH2RwOQaaDb.pgp
Description: PGP signature