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

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


On Wed, Sep 17, 2003 at 12:43:18PM -0400, John David Anglin wrote:
> > 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
> 
> As far as I know, there is no multi-arch support in ld or as.
> There isn't multi-arch support in GCC either.  You need separate
> compilers for 32 and 64 bits.

Separate compilers yes. Separate linker and assembler no.
I thought I could use '--enable-targets=hppa64-linux' in binutils.

c.