Subject: cross assembler i586-linux --> powerpc-elf-netbsd
To: port-powerpc <port-powerpc@NetBSD.ORG>
From: Paul Forgey <paulf@aphrodite.com>
List: port-powerpc
Date: 03/17/1998 01:03:43
..ok, what basic mistake am I making?  I've applied the patches available
from the netbsd ftp site to get binutils 2.7 and gcc 2.7.2.1 cross compiling
(and assembling) to powerpc.  The first assembly file the kernel build seems
to be hitting is locore.S, which pukes all over itself (and yes, the CORRECT
as is being invoked):

../../../../arch/powerpc/powerpc/locore.S: Assembler messages:
../../../../arch/powerpc/powerpc/locore.S:292: Error: illegal operation on
non-absolute symbols
../../../../arch/powerpc/powerpc/locore.S:293: Error: illegal operation on
non-absolute symbols
../../../../arch/powerpc/powerpc/locore.S:406: Error: illegal operation on
non-absolute symbols
../../../../arch/powerpc/powerpc/locore.S:407: Error: illegal operation on
non-absolute symbols
../../../../arch/powerpc/powerpc/locore.S:972: Error: illegal operation on
non-absolute symbols
../../../../arch/powerpc/powerpc/locore.S:973: Error: illegal operation on
non-absolute symbols
../../../../arch/powerpc/powerpc/locore.S:114: Error: Negative of
non-absolute symbol FRAMELEN
../../../../arch/powerpc/powerpc/locore.S:296: Error: unresolved expression
that must be resolved
...and many, many more.

I'm sure I've made a basic mistake somewhere, but I can't seem to find this
myself..

Thanks..