[parisc-linux] 64-bit kernel builds with gcc-3.4 experimental cross.

Carlos O'Donell carlos@baldric.uwo.ca
Wed, 17 Sep 2003 12:18:01 -0400


jda,

Any thoughts? This ld was from a multi-arch binutils that had
enable-targets with hppa64-linux.

---
hppa64-linux-ld  -r -o kernel.o sched.o dma.o fork.o exec_domain.o
panic.o printk.o module.o exit.o itimer.o info.o time.o softirq.o
resource.o sysctl.o acct.o capability.o ptrace.o timer.o user.o signal.o
sys.o kmod.o context.o
hppa64-linux-ld: Relocatable linking with relocations from format
elf32-hppa-linux (sched.o) to format elf32-hppa-linux (kernel.o) is not
supported
make[2]: *** [kernel.o] Error 1
make[2]: Leaving directory `/mnt/flaire/src/linux-2.4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/mnt/flaire/src/linux-2.4/kernel'
make: *** [_dir_kernel] Error 2
carlos@firin:/mnt/flaire/src/linux-2.4$
---
GNU ld version 2.14.90 20030917

Reading specs from
/mnt/flaire/hppa-toolchain/install/lib/gcc/hppa64-linux/3.4/specs
Configured with: '../gcc-cvs/configure' '--host=hppa-linux
'--prefix=/mnt/flaire/hppa-toolchain/install '--target=hppa64-linux
'--build=hppa-linux
'--with-gnu-ld=/mnt/flaire/hppa-toolchain/install/bin/ld
'--with-gnu-as=/mnt/flaire/hppa-toolchain/install/bin/as
'--enable-languages=c
Thread model: posix
gcc version 3.4 20030916 (experimental)

c.