Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177165 - sys-kernel/hppa-sources compile fails in arch/parisc/kernel/pacache.S
Summary: sys-kernel/hppa-sources compile fails in arch/parisc/kernel/pacache.S
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: HPPA Linux
: High major (vote)
Assignee: HPPA Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-05 11:57 UTC by the55
Modified: 2007-05-05 15:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/genkernel.log (genkernel.log,57.41 KB, text/plain)
2007-05-05 11:59 UTC, the55
Details

Note You need to log in before you can comment on or make changes to this bug.
Description the55 2007-05-05 11:57:29 UTC
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.
Comment 1 the55 2007-05-05 11:59:02 UTC
Created attachment 118227 [details]
/var/log/genkernel.log

genkernel.log from failed build.
Comment 2 the55 2007-05-05 12:00:22 UTC
Additional info: I booted the CD choosing vmlinux64 kernel and took kernel config (/proc/config.gz) from it for genkernel.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2007-05-05 12:53:41 UTC
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.
Comment 4 the55 2007-05-05 15:27:14 UTC
Thanks for your fast reply.