-fPIC for m68k/netbsd

Kiyo Inaba inaba at src.ricoh.co.jp
Sun Apr 4 16:02:09 PDT 1999

> Are you talking about the "as" that comes with NetBSD-1.3.1, or an
> aftermarket GAS install?

I call it 'derived' because it is aftermarket installation.

I got something like,
	make[3]: Entering directory `/proj/lab4/inaba/src/kaffe-snap-0327-nb3-ddj-gld/li
	/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../ka
	ffe-snap-0327/libraries/clib/native -I../../../config -I../../../include   -DKVE
	R=1.0b3 -I../../../../kaffe-snap-0327/config -I../../../../kaffe-snap-0327/inclu
	de  -I/usr/local/include  -g -Wall -Wstrict-prototypes -c ../../../../kaffe-snap
	gcc -DHAVE_CONFIG_H -I. -I../../../../kaffe-snap-0327/libraries/clib/native -I..
	/../../config -I../../../include -DKVER=\"1.0b3\" -I../../../../kaffe-snap-0327/
	config -I../../../../kaffe-snap-0327/include -I/usr/local/include -g -Wall -Wstr
	ict-prototypes -Wp,-MD,.deps/ObjectStreamClassImpl.pp -c  -fPIC -DPIC ../../../.
	./kaffe-snap-0327/libraries/clib/native/ObjectStreamClassImpl.c -o ObjectStreamC
	/var/tmp/cc19504a.s: Assembler messages:
	/var/tmp/cc19504a.s:295: Error: operands mismatch -- statement `jbsr _utf8ConstN
	ew,a1' ignored
	/var/tmp/cc19504a.s:304: Error: operands mismatch -- statement `jbsr _utf8ConstN
	ew,a1' ignored
when I installed gas from binutils-2.9.1 source.

I will make test case later (I have to go to the office...), because this
case may not happen for the latest snap. What we (I and Alexandre) are
doing resolves this problem, I hope.


More information about the kaffe mailing list