gentoo-sources-2.6.19-r6 seems to be rather buggy on my system. When I compile with gcc-3.4.6, andalpha_system_type=generic It errors out with the message CC arch/alpha/kernel/err_titan.o arch/alpha/kernel/err_titan.c: In function `titan_machine_check': arch/alpha/kernel/err_titan.c:445: warning: implicit declaration of function `get_irq_regs' arch/alpha/kernel/err_titan.c:445: warning: passing arg 1 of `dik_show_regs' makes pointer from integer without a cast make[1]: *** [arch/alpha/kernel/err_titan.o] Error 1 make: *** [arch/alpha/kernel] Error 2 When attempting to compile with gcc 4.1.2 and alpha_system_type=generic, I get the error CC arch/alpha/kernel/core_cia.o {standard input}: Assembler messages: {standard input}:413: Error: macro requires $at register while noat in effect {standard input}:438: Error: macro requires $at register while noat in effect {standard input}:462: Error: macro requires $at register while noat in effect {standard input}:481: Error: macro requires $at register while noat in effect {standard input}:536: Error: macro requires $at register while noat in effect {standard input}:561: Error: macro requires $at register while noat in effect {standard input}:585: Error: macro requires $at register while noat in effect {standard input}:604: Error: macro requires $at register while noat in effect make[1]: *** [arch/alpha/kernel/core_cia.o] Error 1 make: *** [arch/alpha/kernel] Error 2 then with gcc-4.1.2 and alpha_system_type=miata, I get LD init/built-in.o LD .tmp_vmlinux1 `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o When using gcc-3.4.6 and alpha_system_type=miata, I get many warnings such as {standard input}: Assembler messages: {standard input}:15: Warning: setting incorrect section attributes for .got but it actually compiles. When I attempt to boot this kernel, it dies shortly after "freeing unused kernel memory" or something similar to that. Reproducible: Always Steps to Reproduce: 1. emerge "=gentoo-sources-2.9.16-r6" 2. cd /usr/src/linux-2.6.19-gentoo-r6 3. make Actual Results: Either kernel would not compile, or it would hang while booting Expected Results: comiled and booted eading specs from /usr/lib/gcc/alpha-unknown-linux-gnu/3.4.6/specs Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/alpha-unknown-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/alpha-unknown-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/alpha-unknown-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/alpha-unknown-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/alpha-unknown-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/alpha-unknown-linux-gnu/3.4.6/include/g++-v3 --host=alpha-unknown-linux-gnu --build=alpha-unknown-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,objc,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10) and Using built-in specs. Target: alpha-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/alpha-unknown-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/alpha-unknown-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/alpha-unknown-linux-gnu/4.1.2/include/g++-v4 --host=alpha-unknown-linux-gnu --build=alpha-unknown-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,objc,obj-c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.2 (Gentoo 4.1.2) cpu : Alpha cpu model : EV56 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Miata system variation : 0 system revision : 0 system serial number :
2.6.21 got stabilized, so use that version. Thanks
Uh, sorry for the 'short' reply. It failed to build because in a kernel version after 2.6.16, it was introduced this bug that has been fixed on 2.6.21, it only affected alpha due to the alpha_system_type=generic thing. So, that's why we stabilizied 2.6.21 and you should use that version. Blame the kernel ppl :)