Subject: Build of 2.0 beta failed with cpuflags
To: None <port-sparc@netbsd.org>
From: Joachim Thiemann <thiemann@gel.usherbrooke.ca>
List: port-sparc
Date: 08/02/2004 20:53:05
Hmmm, so after all that talk before the weekend, I checked the build and...

#   compile  rescue/pax_stub.o
/home/src/tooldir.NetBSD-2.0_BETA-sparc/bin/sparc--netbsdelf-gcc -Os   
-Werror    -nostdinc -isystem /home/src/destdir.sparc/usr/include  -c    
pax_stub.c
/home/src/tooldir.NetBSD-2.0_BETA-sparc/bin/sparc--netbsdelf-ld -r -o 
pax.cro pax_stub.o pax/ar_io.o pax/ar_subs.o pax/buf_subs.o pax/cpio.o 
pax/file_subs.o pax/ftree.o pax/gen_subs.o pax/getoldopt.o pax/options.o 
pax/pat_rep.o pax/pax.o pax/sel_subs.o pax/tables.o pax/tar.o 
pax/tty_subs.o pax/getid.o pax/spec.o pax/misc.o pax/stat_flags.o 
pax/pack_dev.o
/home/src/tooldir.NetBSD-2.0_BETA-sparc/bin/sparc--netbsdelf-nm -ng pax.cro 
| grep -v '^ *U' | grep -v '^[0-9a-fA-F][0-9a-fA-F]* C' | grep -wv 
_crunched_pax_stub | env CRO=pax.cro awk '{ print $3 " _$$hide$$" 
ENVIRON["CRO"] "$$" $3 }' > pax.cro.syms
(null): no program given


*** Failed target:  pax.cro
*** Failed 
command: /home/src/tooldir.NetBSD-2.0_BETA-sparc/bin/sparc--netbsdelf-nm 
-ng pax.cro | grep -v '^ *U' | grep -v '^[0-9a-fA-F][0-9a-fA-F]* C' | grep 
-wv _crunched_pax_stub | env CRO=pax.cro awk '{ print $3 " _$$hide$$" 
ENVIRON["CRO"] "$$" $3 }' > pax.cro.syms
*** Error code 2

Hmmm.  This did build on i386.  Has anyone seen this as well?  Again, the 
only nonstandard config is the line
.sinclude "/usr/pkg/share/mk/cpuflags.mk"
in my mk.conf, and that usually means
-mcpu=supersparc

Would replacing this with the 3 lines as posted by Martin in a previous post 
make any difference?

Joe.
-- 
http://www.gel.usherbrooke.ca/thiemann