Comment 0 for bug 24717

Revision history for this message
In , Sven Luther (sven-luther) wrote :

Package: gcc-4.0
Version: 4.0.2-3
Severity: grave
Justification: renders package unusable

Well, i confirm that this problem is also present on powerpc, using
gcc-4.0 4.0.2-3 makes the kernel build fail, while using -2 seems to be
ok. I have heard people mentioning two other arches where this is the
case (m68k and mips i think) on irc (on #debian-release i think even,
not sure), but no bug has been filed so i do it now.

My powerpc builds failed with :

08:22 < svenl> kernel/spinlock.c:72:61: error: macro
"_spin_lock_irqsave" requires 2 arguments, but only 1 given
08:22 < svenl> kernel/spinlock.c:99:59: error: macro
"_read_lock_irqsave" requires 2 arguments, but only 1 given
08:22 < svenl> kernel/spinlock.c:126:60: error: macro
"_write_lock_irqsave" requires 2 arguments, but only 1 given
08:22 < svenl> /bin/sh: line 1: 7269 Done(1) gcc -m32
-E -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common
               -ffreestanding -O2 -fomit-frame-pointer -Iarch/ppc
-msoft-float -pipe -ffixed-r2 -mmultiple -mstring -Wa,-maltivec
               -Wdeclaration-after-statement -Wno-pointer-sign
-D__GENKSYMS__ -Wp,-MD,kernel/.spinlock.o.d -nostdinc -isystem
               /usr/lib/gcc/powerpc-linux-gnu/4.0.3/include -D__KERNEL__
-Iinclude -Iarch/ppc -Iarch/ppc/include -Wall -Wundef
-Wstrict-prototypes
               -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fomit-frame-pointer -Iarch/ppc -msoft-float -pipe
-ffixed-r2 -mmultiple
               -mstring -Wa,-maltivec -Wdeclaration-after-statement
-Wno-pointer-sign -DKBUILD_BASENAME=spinlock -DKBUILD_MODNAME=spinlock
kernel/spinlock.c

And then later :

08:42 < svenl> fs/ext2/acl.c:483: error: called object '0u' is not a
function
08:42 < svenl> {standard input}: Assembler messages:
08:42 < svenl> {standard input}:39: Error: symbol `error' is already
defined
08:42 < svenl> {standard input}:57: Error: symbol `retval' is already
defined
08:42 < svenl> {standard input}:72: Error: symbol `name_index' is
already defined
08:42 < svenl> {standard input}:77: Error: symbol `value' is already
defined

While a 4.0.2-2 build passed fine.

Friendly,

Sven Luther

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc5-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gcc-4.0 depends on:
ii binutils 2.16.1cvs20050902-1 The GNU assembler, linker and bina
ii cpp-4.0 4.0.2-3 The GNU C preprocessor
ii gcc-4.0-base 4.0.2-3 The GNU Compiler Collection (base
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-3 GCC support library

Versions of packages gcc-4.0 recommends:
ii libc6-dev 2.3.5-7 GNU C Library: Development Librari
pn libmudflap0-dev <none> (no description available)

-- no debconf information