Subject: Re: HPPA toolchain.
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-hp700
Date: 10/07/2003 13:51:35
On Tue, Oct 07, 2003 at 11:57:47AM +0200, Jaromir Dolecek wrote:
> BTW, after I built hp700 cross-tools using build.sh on i386 machine,
> I wasn't able to build kernel using build.sh kernel=GENERIC. The compile
> failed during depend with compile errors in spmath.c IIRC, apparently
> some missing machine symlinks. Does it work for you fine?
My first attempt of building a GENERIC kernel ended with
-----
/home/jkunz/src-current/tooldir-hp700/bin/hppa--netbsd-cpp -x assembler-with-cpp -P -traditional -Dhppa -Dhp700 -I. -I/home/jkunz/src-current/src/sys/arch -I/home/jkunz/src-current/src/sys -nostdinc -DFPEMUL -DLKM -DGSCVERBOSE -DWSEMUL_DUMB -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -D_LOCORE /home/jkunz/src-current/src/sys/arch/hp700/hp700/locore.S > locore.s ; /home/jkunz/src-current/tooldir-hp700/bin/hppa--netbsd-as -o locore.o locore.s ; rm locore.s
locore.s: Assembler messages:
locore.s:872: Fatal error: Unknown opcode: `pdc_stack'
*** Failed target: locore.o
-----
This is the "labels must be followed by a ':' problem" Matt already
mentioned. I will take care of this tonight and see how far I can get
with a kernel build.
BTW: When I tried to build a release I got in the cleandir phase:
-----
cleandir ===> regress/lib/libpthread
WARNING: no ARCHSUBDIR for hppa/hppa
*** REFUSING TO CONTINUE! (nag, nag, nag) ***
*** Failed target: .BEGIN
*** Failed command: false # this is intentional!
*** Error code 1
Stop.
nbmake: stopped in /home/jkunz/src-current/src/regress/lib/libpthread
-----
--
tschüß,
Jochen
Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/