[Bugme-new] [Bug 6636] New: sparc64 cc1 warnings->errors
interrupt.h breaks build, assembler error when commented out
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Fri Jun 2 02:30:16 PDT 2006
http://bugzilla.kernel.org/show_bug.cgi?id=6636
Summary: sparc64 cc1 warnings->errors interrupt.h breaks build,
assembler error when commented out
Kernel Version: 2.6.17-rc5-mm2
Status: NEW
Severity: blocking
Owner: akpm at osdl.org
Submitter: zaphodb at zaphods.net
Most recent kernel where this bug did not occur: -
Distribution: Debian unstable
Hardware Environment: SunFire T2000 (1x 8 core T1 niagara)
Software Environment:
gcc version 4.0.4 20060507 in debian chroot - booted from ubuntu dapper server cd
as86 version: 0.16.14
Problem Description:
CC arch/sparc64/kernel/setup.o
In file included from arch/sparc64/kernel/setup.c:32:
include/linux/interrupt.h: In function 'disable_irq_nosync_lockdep':
include/linux/interrupt.h:69: warning: implicit declaration of function
'disable_irq_nosync'
include/linux/interrupt.h: In function 'disable_irq_lockdep':
include/linux/interrupt.h:77: warning: implicit declaration of function
'disable_irq'
include/linux/interrupt.h: In function 'enable_irq_lockdep':
include/linux/interrupt.h:88: warning: implicit declaration of function 'enable_irq'
I inserted
#EXTRA_CFLAGS := -Werror
to work around this.
After commenting out Werror we also have things like:
CC kernel/timer.o
In file included from include/asm/irq.h:14,
from include/linux/kernel_stat.h:4,
from kernel/timer.c:22:
include/linux/interrupt.h: In function 'disable_irq_nosync_lockdep':
include/linux/interrupt.h:69: warning: implicit declaration of function
'disable_irq_nosync'
include/linux/interrupt.h: In function 'disable_irq_lockdep':
include/linux/interrupt.h:77: warning: implicit declaration of function
'disable_irq'
include/linux/interrupt.h: In function 'enable_irq_lockdep':
include/linux/interrupt.h:88: warning: implicit declaration of function 'enable_irq'
In file included from include/linux/kernel_stat.h:4,
from kernel/timer.c:22:
include/asm/irq.h: At top level:
include/asm/irq.h:112: warning: conflicting types for 'disable_irq'
include/linux/interrupt.h:77: warning: previous implicit declaration of
'disable_irq' was here
include/asm/irq.h:114: warning: conflicting types for 'enable_irq'
include/linux/interrupt.h:88: warning: previous implicit declaration of
'enable_irq' was here
this is what we end up with finally:
CC mm/fremap.o
mm/fremap.c: In function 'install_page':
include/asm/pgtable.h:236: error: invalid 'asm': operand number missing after
%-letter
{standard input}: Assembler messages:
{standard input}:445: Error: Illegal operands
make[2]: *** [mm/fremap.o] Error 1
make[1]: *** [mm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-rc5-mm2'
make: *** [debian/stamp-build-kernel] Error 2
Steps to reproduce:
make vmlinux || make-kpkg
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list