Latest working kernel version: 2.6.27.10 Earliest failing kernel version: 2.6.28-rc1 Distribution: Gentoo Hardware Environment: ES40, XP1000 Software Environment: gcc version 4.2.4 Normal config using "zcat /proc/config.gz > .config && make oldconfig", then "make all": $ make all scripts/kconfig/conf -s arch/alpha/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-alpha CC kernel/bounds.s GEN include/linux/bounds.h CC arch/alpha/kernel/asm-offsets.s In file included from /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/core_tsunami.h:5, from /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/io.h:232, from arch/alpha/kernel/asm-offsets.c:12: include/linux/pci.h: In function 'pci_ioremap_bar': include/linux/pci.h:1148: error: implicit declaration of function 'ioremap_nocache' include/linux/pci.h:1149: warning: return makes pointer from integer without a cast In file included from arch/alpha/kernel/asm-offsets.c:12: /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/io.h: At top level: /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/io.h:300: error: conflicting types for 'ioremap_nocache' include/linux/pci.h:1148: error: previous implicit declaration of 'ioremap_nocache' was here make[1]: *** [arch/alpha/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 Snippet is from -rc1 but .28 fails in the very same way (and all rc's did, too).
This has been discussed already on lkml: http://www.nabble.com/-ALPHA--2.6.28-rc-fails-to-compile-td20223847.html If testing of the mentioned patch is needed, I'm all ears.
Downstream ref: https://bugs.gentoo.org/show_bug.cgi?id=252488
Fixed by commit 1684f5ddd4c0c754f52c78eaa2c5c69ad09fb18c