View previous topic :: View next topic |
Author |
Message |
Ebbi n00b
Joined: 25 Dec 2003 Posts: 6
|
Posted: Sat Mar 24, 2007 8:15 pm Post subject: Error during kernel compile on HP-PA with 2006.1 |
|
|
Code: |
(chroot) livecd linux # make && make modules_install
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-parisc
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/parisc/kernel/asm-offsets.s
GEN include/asm-parisc/asm-offsets.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC init/do_mounts_md.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
LD init/built-in.o
HOSTCC usr/gen_init_cpio
CHK usr/initramfs_list
UPD usr/initramfs_list
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/parisc/mm/init.o
arch/parisc/mm/init.c: In function 'map_pages':
arch/parisc/mm/init.c:645: warning: '__pte.future_flags' may be used uninitialized in this function
arch/parisc/mm/init.c:647: warning: '__pte.future_flags' may be used uninitialized in this function
arch/parisc/mm/init.c: In function 'map_hpux_gateway_page':
arch/parisc/mm/init.c:791: warning: '__pte.future_flags' is used uninitialized in this function
CC arch/parisc/mm/fault.o
CC arch/parisc/mm/ioremap.o
arch/parisc/mm/ioremap.c: In function '__ioremap':
arch/parisc/mm/ioremap.c:37: warning: 'pte.future_flags' is used uninitialized in this function
LD arch/parisc/mm/built-in.o
CC arch/parisc/kernel/cache.o
AS arch/parisc/kernel/pacache.o
CC arch/parisc/kernel/setup.o
CC arch/parisc/kernel/traps.o
CC arch/parisc/kernel/time.o
CC arch/parisc/kernel/irq.o
CC arch/parisc/kernel/pa7300lc.o
AS arch/parisc/kernel/syscall.o
AS arch/parisc/kernel/entry.o
CC arch/parisc/kernel/sys_parisc.o
CC arch/parisc/kernel/firmware.o
CC arch/parisc/kernel/ptrace.o
CC arch/parisc/kernel/hardware.o
CC arch/parisc/kernel/inventory.o
CC arch/parisc/kernel/drivers.o
CC arch/parisc/kernel/semaphore.o
CC arch/parisc/kernel/signal.o
arch/parisc/kernel/signal.c: In function 'setup_rt_frame':
arch/parisc/kernel/signal.c:341: warning: cast from pointer to integer of different size
arch/parisc/kernel/signal.c:341: warning: cast from pointer to integer of different size
AS arch/parisc/kernel/hpmc.o
AS arch/parisc/kernel/real2.o
CC arch/parisc/kernel/parisc_ksyms.o
CC arch/parisc/kernel/unaligned.o
CC arch/parisc/kernel/process.o
CC arch/parisc/kernel/processor.o
CC arch/parisc/kernel/pdc_cons.o
CC arch/parisc/kernel/pdc_chassis.o
CC arch/parisc/kernel/unwind.o
CC arch/parisc/kernel/topology.o
CC arch/parisc/kernel/pci.o
CC arch/parisc/kernel/module.o
LD arch/parisc/kernel/built-in.o
CC arch/parisc/kernel/init_task.o
AS arch/parisc/kernel/head.o
LDS arch/parisc/kernel/vmlinux.lds
CC arch/parisc/math-emu/frnd.o
CC arch/parisc/math-emu/driver.o
CC arch/parisc/math-emu/decode_exc.o
CC arch/parisc/math-emu/fpudispatch.o
CC arch/parisc/math-emu/denormal.o
CC arch/parisc/math-emu/dfmpy.o
CC arch/parisc/math-emu/sfmpy.o
CC arch/parisc/math-emu/sfsqrt.o
CC arch/parisc/math-emu/dfsqrt.o
CC arch/parisc/math-emu/dfadd.o
CC arch/parisc/math-emu/fmpyfadd.o
CC arch/parisc/math-emu/sfadd.o
CC arch/parisc/math-emu/dfsub.o
CC arch/parisc/math-emu/sfsub.o
CC arch/parisc/math-emu/fcnvfxt.o
CC arch/parisc/math-emu/fcnvff.o
CC arch/parisc/math-emu/fcnvxf.o
CC arch/parisc/math-emu/fcnvfx.o
CC arch/parisc/math-emu/fcnvuf.o
CC arch/parisc/math-emu/fcnvfu.o
CC arch/parisc/math-emu/fcnvfut.o
CC arch/parisc/math-emu/dfdiv.o
CC arch/parisc/math-emu/sfdiv.o
CC arch/parisc/math-emu/dfrem.o
CC arch/parisc/math-emu/sfrem.o
CC arch/parisc/math-emu/dfcmp.o
CC arch/parisc/math-emu/sfcmp.o
LD arch/parisc/math-emu/built-in.o
AS arch/parisc/hpux/entry_hpux.o
AS arch/parisc/hpux/gate.o
AS arch/parisc/hpux/wrappers.o
CC arch/parisc/hpux/fs.o
arch/parisc/hpux/fs.c: In function 'filldir':
arch/parisc/hpux/fs.c:95: error: invalid lvalue in assignment
make[1]: *** [arch/parisc/hpux/fs.o] Error 1
make: *** [arch/parisc/hpux] Error 2
|
Since I had an error before while using 64-Bit kernel, I updated gcc to 4.1.1. Now I have gcc 4.1.1 and the 32-Bit kernel and the above error occurs during Gentoo installation when making kernel.
Is it possible to downgrade gcc?
Thanks in advance!
EDIT:
I started over from "creating the file system", but the error stays the same. |
|
Back to top |
|
|
ddc Guru
Joined: 29 Aug 2006 Posts: 522
|
Posted: Sun Mar 25, 2007 5:22 pm Post subject: |
|
|
what version of kernel are you compiling ?
the last one from emerge ?
i've got problem with the last one, so i'm using the 2.6.16, compiled for HPPA7100 and HPPA8600: it works great
what about you ? |
|
Back to top |
|
|
Ebbi n00b
Joined: 25 Dec 2003 Posts: 6
|
Posted: Mon Mar 26, 2007 10:14 am Post subject: |
|
|
I'm sorry, but I don't know currently. I'm away and can answer on Saturday at earliest.
There was also another problem with "emerge hppa-sources", because no repository had the necessary file.
Then I found one with Google and put this into make.conf as GENTOO_MIRROR="..."
I'll have a look when I'm at home again. |
|
Back to top |
|
|
issuemonkey n00b
Joined: 19 Apr 2007 Posts: 1
|
Posted: Thu Apr 19, 2007 10:10 pm Post subject: |
|
|
did you try to untick the options for the hpux compatibility regarding the binary and so on?
Seems to be related regarding the latest line of the kernel compiling messages... |
|
Back to top |
|
|
Ebbi n00b
Joined: 25 Dec 2003 Posts: 6
|
Posted: Fri Apr 20, 2007 8:35 am Post subject: |
|
|
To be honest, I cancelled to Gentoo installation and stepped back to HP-UX 11i v1.
I'll start over with the next Gentoo release. |
|
Back to top |
|
|
|