Fresh install of Gentoo 2006.1 from Universal CD. I tried to use genkernel to build kernel - build fails. Didn't try to build it traditional way, only via genkernel. I will attach log, now basic information: cpuinfo: processor : 0 cpu family : PA-RISC 2.0 cpu : PA8600 (PCX-W+) cpu MHz : 552.000000 model : 9000/785/C3600 model name : Allegro W+ hversion : 0x00005cf0 sversion : 0x00000481 I-cache : 512 KB D-cache : 1024 KB (WB, 0-way associative) ITLB entries : 160 DTLB entries : 160 - shared with ITLB bogomips : 1093.63 software id : 2001565183 uname: Linux livecd 2.6.16.18-pa11-livecd64 #1 Sun Aug 13 19:50:56 UTC 2006 parisc64 PA8600 (PCX-W+) GNU/Linux Reproducible: Always Steps to Reproduce: (Everything inside chroot in /mnt/gentoo) 1. emerge genkernel 2. emerge hppa-sources-...ebuild (I chose ebuild for which I had squashfs patch in distfiles from CD [4300_squashfs-3.0.patch.bz2], plain emerge hppa-sources didn't work, I received HTTP 404 when fetching squashfs patch) 3. cat /proc/config.gz | gzip -d > /etc/kernels/kernel-config-parisc64-2.6.16.22-pa11 4. genkernel all Then - build error. Actual Results: genkernel all said: (...) arch/parisc/kernel/pacache.S:93: Error: Field not properly aligned [8] (60). arch/parisc/kernel/pacache.S:93: Error: Invalid operands arch/parisc/kernel/pacache.S:95: Error: Field not properly aligned [8] (68). arch/parisc/kernel/pacache.S:95: Error: Invalid operands arch/parisc/kernel/pacache.S:97: Error: Field not properly aligned [8] (76). arch/parisc/kernel/pacache.S:97: Error: Invalid operands arch/parisc/kernel/pacache.S:135: Error: Field not properly aligned [8] (92). arch/parisc/kernel/pacache.S:135: Error: Invalid operands arch/parisc/kernel/pacache.S:137: Error: Field not properly aligned [8] (100). arch/parisc/kernel/pacache.S:137: Error: Invalid operands arch/parisc/kernel/pacache.S:139: Error: Field not properly aligned [8] (108). arch/parisc/kernel/pacache.S:139: Error: Invalid operands arch/parisc/kernel/pacache.S:141: Error: Field not properly aligned [8] (116). arch/parisc/kernel/pacache.S:141: Error: Invalid operands arch/parisc/kernel/pacache.S:223: Error: Field not properly aligned [8] (20). arch/parisc/kernel/pacache.S:223: Error: Invalid operands arch/parisc/kernel/pacache.S:263: Error: Field not properly aligned [8] (36). arch/parisc/kernel/pacache.S:263: Error: Invalid operands arch/parisc/kernel/pacache.S:265: Error: Field not properly aligned [8] (44). arch/parisc/kernel/pacache.S:265: Error: Invalid operands make[1]: *** [arch/parisc/kernel/pacache.o] Error 1 make: *** [arch/parisc/kernel] Error 2 * Gentoo Linux Genkernel; Version 3.4.0 * Running with options: all * ERROR: Failed to compile the "vmlinux" target... * -- End log... -- Please find attached /var/log/genkernel.log Expected Results: No error during builld was expected.
Created attachment 118227 [details] /var/log/genkernel.log genkernel.log from failed build.
Additional info: I booted the CD choosing vmlinux64 kernel and took kernel config (/proc/config.gz) from it for genkernel.
You (or genkernel) tried to build a 64-bit kernel using a 32-bit gcc (from the stage tarball). You will need to either build a 64-bit compiler (using sys-devel/crossdev) or just stick with a 32-bit kernel. Please mind that currently, Gentoo/HPPA does not support 64-bit kernels or userland. Marking this bug CLOSED/LATER because of this. The squashfs problem is covered in bug #153457. You will need to edit the kernel config to make sure the kernel build system does not try to build squashfs support as squashfs on HPPA is simply broken with no known fix, patch or workaround, and a normal hdd-based system doesn't need squashfs anyway.
Thanks for your fast reply.