build distribution fails on sparc64

BERTRAND Joël <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
	Hello,

	As I'm unable tu build sparc current distribution on real sparc32 
hardware or on Linux/amd64, I'm building -current on my blade2000. 
Compilation fails with :

#   compile  csu/gcrt0.o
/usr/src/../tooldir/bin/sparc64--netbsd-gcc  -mcpu=ultrasparc3 
-mtune=ultrasparc3   --sysroot=/usr/src/../objdir/destdir.sparc64 
-DELFSIZE=32 -I/usr/src/lib/csu/arch/sparc -I/usr/src/libexec/ld.elf_so 
-I/usr/src/lib/csu/common -I.  -x assembler-with-cpp -c 
/usr/src/lib/csu/arch/sparc/crt0.S -o gcrt0.o.S.o
--- crt0.o ---
#   compile  csu/crt0.o
/usr/src/../tooldir/bin/sparc64--netbsd-gcc  -mcpu=ultrasparc3 
-mtune=ultrasparc3   --sysroot=/usr/src/../objdir/destdir.sparc64 
-DELFSIZE=32 -I/usr/src/lib/csu/arch/sparc -I/usr/src/libexec/ld.elf_so 
-I/usr/src/lib/csu/common -I.  -x assembler-with-cpp -c 
/usr/src/lib/csu/arch/sparc/crt0.S -o crt0.o.S.o
--- gcrt0.o ---
/usr/src/lib/csu/arch/sparc/crt0.S: Assembler messages:
/usr/src/lib/csu/arch/sparc/crt0.S:53: Error: detected global register 
use not covered by .register pseudo-op
...

	Both files come from sparc directory, not from sparc64. I'm suppose 
there is a bug in Makefile.

	Regards,

	JKB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.