2.6.16-git6: build failure: ne2k-pci: footbridge_defconfig
Building the ARM footbridge_defconfig provokes this build error:
CC drivers/net/ne2k-pci.odrivers/net/ne2k-pci.c:123: error: pci_clone_list causes a section type conflict make[2]: *** [drivers/net/ne2k-pci.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
make: Leaving directory `/var/tmp/kernel-orig'
static const struct {
char *name;
int flags;
} pci_clone_list[] __devinitdata = {const data can't be __devinitdata.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core
Quoted 9 lines · Russell King
Building the ARM
footbridge_defconfigprovokes this build error:CC
drivers/net/ne2k-pci.odrivers/net/ne2k-pci.c:123: error:pci_clone_listcauses a section type conflict make[2]: *** [drivers/net/ne2k-pci.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
make: Leaving directory `/var/tmp/kernel-orig'
Quoted 6 lines
static const struct { char *name; int flags; } pci_clone_list[] __devinitdata = {const data can't be
__devinitdata.
that's a gcc bug; probably arm specific even?
Quoted 15 lines · Arjan van de Ven
Quoted 14 lines · Russell King
Building the ARM
footbridge_defconfigprovokes this build error:CC
drivers/net/ne2k-pci.odrivers/net/ne2k-pci.c:123: error:pci_clone_listcauses a section type conflict make[2]: *** [drivers/net/ne2k-pci.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
make: Leaving directory `/var/tmp/kernel-orig'static const struct { char *name; int flags; } pci_clone_list[] __devinitdata = {
Quoted 4 lines
Quoted 1 line
const data can't be
__devinitdata.that's a gcc bug; probably arm specific even?
It's gcc 4.01... the kautobuild folk are going to try gcc 4.04 instead.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core
Quoted 16 lines · Russell King
Quoted 15 lines · Arjan van de Ven
Quoted 14 lines · Russell King
Building the ARM
footbridge_defconfigprovokes this build error:CC
drivers/net/ne2k-pci.odrivers/net/ne2k-pci.c:123: error:pci_clone_listcauses a section type conflict make[2]: *** [drivers/net/ne2k-pci.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
make: Leaving directory `/var/tmp/kernel-orig'static const struct { char *name; int flags; } pci_clone_list[] __devinitdata = {
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
const data can't be
__devinitdata.that's a gcc bug; probably arm specific even?
It's gcc 4.01... the kautobuild folk are going to try gcc 4.04 instead.
Actually, given that it also appears with gcc 3.3, I'd like to request that the change (along with all the other const __devinitdata's) are backed out.
The comments I'm hearing about gcc 4.1 on ARM indicate that it's a case of "there be big beasts there, don't touch with a barge pole". To quote some comments about gcc 4.1 on ARM:
"yeah, 4.1 is quite bad on arm. it's supposed to have all the EABI bits,
but it can't even build itself without ICEing and segfaulting left right and center"
"the debian arm failures with gcc 4.1 are just scary. the current gcc
4.1s miscompile even very basic for/while loops"
which probably leaves ARM folk with a very narrow set of working gcc versions.
So, I've no idea at present which gcc version we should be considering nominating as "the sole gcc version the kernel supports".
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core
Quoted 20 lines · Russell King
Quoted 19 lines · Russell King
Quoted 18 lines · Arjan van de Ven
Quoted 15 lines · Russell King
Building the ARM
footbridge_defconfigprovokes this build error:CC
drivers/net/ne2k-pci.odrivers/net/ne2k-pci.c:123: error:pci_clone_listcauses a section type conflict make[2]: *** [drivers/net/ne2k-pci.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
make: Leaving directory `/var/tmp/kernel-orig'static const struct { char *name; int flags; } pci_clone_list[] __devinitdata = {const data can't be
__devinitdata.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
that's a gcc bug; probably arm specific even?
It's gcc 4.01... the kautobuild folk are going to try gcc 4.04 instead.
Actually, given that it also appears with gcc 3.3, I'd like to request that the change (along with all the other const __devinitdata's) are backed out.
ok that's entirely reasonable and I'm perfectly ok with that.