Subject: "build.sh tools" fails on sparc64 -current
To: None <current-users@netbsd.org>
From: GuRU <guru@beastie.nscl.msu.edu>
List: current-users
Date: 10/01/2003 11:34:45
Morning folks,
I have a Ultra-10 running -current that fails in ./build.sh tools with the
following:

cc -O -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include
-I/usr/src/tools/asn1_compile/../compat -DHAVE_CONFIG_H
-D_FILE_OFFSET_BITS=64
 -D_NETBSD_SOURCE -I.                            -I/usr/src/include/heimdal
 -I/usr/src/crypto/dist/heimdal/lib/asn1                 -I/usr/src/cr
 ypto/dist/heimdal/lib/roken              -DKRB5=1
 -DHAVE_CONFIG_H  -c -o symbol.lo.o /usr/src/crypto/dist/heimdal/lib/a
 sn1/symbol.c
 [1]   Illegal instruction     cc -O -I/usr/src...

 *** Failed target:  symbol.lo
 *** Failed command: cc -O -I/usr/src/tools/compat/obj
 -I/usr/src/tools/compat/obj/include -I/usr/src/tools/asn1_compile/../compat
 -DHAVE_CONFIG_H -D_F
 ILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -I. -I/usr/src/include/heimdal
 -I/usr/src/crypto/dist/heimdal/lib/asn1
 -I/usr/src/crypto/dist/heimdal/lib/roken -D
 KRB5=1 -DHAVE_CONFIG_H -c -o symbol.lo.o
 /usr/src/crypto/dist/heimdal/lib/asn1/symbol.c
 *** Error code 132

 Stop.
 nbmake: stopped in /usr/src/tools/asn1_compile

 *** Failed target:  dependall
 *** Failed command: cd /usr/src/tools/asn1_compile; /usr/tools/bin/nbmake
 realall
 *** Error code 1

 Stop.
 nbmake: stopped in /usr/src/tools/asn1_compile

 *** Failed target:  dependall-asn1_compile
 *** Failed command: targ=dependall;dir=asn1_compile; case "$dir" in /*)
 echo "$targ ===> $dir"; cd "$dir"; /usr/tools/bin/nbmake "_THISDIR_=$dir/"
 $ta
 rg; ;; *) echo "$targ ===> $dir"; cd "/usr/src/tools/$dir";
 /usr/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
 *** Error code 1

 Stop.
 nbmake: stopped in /usr/src/tools

 ERROR: Failed to make tools
 *** BUILD ABORTED ***

I also get the following message on the system console:

trap: textfault at 406cd6c0!! sending SIGILL due to trap 16: illegal
instruction

Any pointers would be appreciated :) :) :)


./i'khala
-- 
guru <guru@beastie.nscl.msu.edu>       (,.)
http://www.msu.edu/~ikhala           \\\00 )
Driven by NetBSD                       \= )
                                       cc_|\_,^