Function `proc_bus_pci_write' (line 140 of drivers/pci/proc.c) tries to asign (dev->cfg_size) to size(a int). There is no such struct member in pci_dev(wich dev is). I couldn't even find something related to size in the pci_dev struct, even thouh there is a PCI_CFG_SPACE_SIZE macro on top of the file. Could be a gcc 3.4 issue? gcc (GCC) 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5) Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge aa-sources 3.cd /usr/src/linux-2.6.5-aa5 4. make menuconfig (or make oldconfig, just configure the kernel) 5. make (using gcc (GCC) 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5)) Actual Results: <snip> CC drivers/pci/proc.o drivers/pci/proc.c: In function `proc_bus_pci_write': drivers/pci/proc.c:146: error: structure has no member named `cfg_size' make[2]: *** [drivers/pci/proc.o] Error 1 make[1]: *** [drivers/pci] Error 2 make: *** [drivers] Error 2 Expected Results: Compile a functional(or not) bzImage. gcc (GCC) 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5) sys-kernel/aa-sources-2.6.5-r5
Hrm, looks like a buggy patch is on the mirrors, not the one which is on my dev-space from a few months ago. I've pushed a working one onto them which should reach them soon, this should fix it meanwhile: %> emerge sync %> rm /usr/portage/distfiles/linux-2.6.5-CAN-2004-0415.patch %> wget -P /usr/portage/distfiles http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.6.5-CAN-2004-0415.patch %> # Remerge sources... Please reopen this bug if you still have any further issues. Thanks!