Cross compile bind failing, vis3 ???

Mark Andrews marka at isc.org
Mon Apr 28 16:04:52 UTC 2014


You are cross compiling.  You need to set BUILD_* so that the host tools
are properly built.

% grep BUILD README 
	    BUILD_CC
	    BUILD_CFLAGS (optional)
	    BUILD_CPPFLAGS (optional)
	    BUILD_LDFLAGS (optional)
	    BUILD_LIBS (optional)
% 

Mark

In message <CC3391F3E76E3D4C8B3F9B168BF73FE15310273A at UMECHPAO1.easf.csd.disa.mil
>, "Olsen, Richard William (Rick) CTR DISA PEO-MA (US)" writes:
> 
> We have a remote site that we are providing a bind package for. They want a ta
> rgeted build and sent us the compile options as 
> 
> -xtarget=T3 -xarch=sparcvis3 -xchip=ultraT3 -xcache=8/16/4:6144/64/24
> 
> The build system is using Sun Studio 12.3 cc on T5140  (UtltraSPARC-T2+ hardwa
> re running Solaris 10 05/08.) 
> 
> isainfo -x 
>    sparcv9: asi_blk_init vis2 vis popc
>    sparc: asi_blk_init vis2 vis poppc v8plus div32 mul32
> 
> Now the problem. I can compile the openssl using his requested parameters but 
> the bind fails.
> 
> "./gen -s . -c > include/dns/enumclass.h
> Ld.so.1: gen: fatal: hardware capability (CA_SUNW_HW_1) unsupported: 0x500 [ V
> IS3 FMAF ]
> Bash: line 1 #### killed ./gen -s . -c > include/dns/enumclass.h
> *** Error code 1
> The following command caused the error:
> For I in isc isccc dns isccfg bind9 lwres tests nulldir; do \
> 	if [ "$i" != "nulldir" -a -d $i ]; then \
> 		echo "making all in `pwd'/$i"; \
> 		(cd $i; make DESTDIR="/blah/blah/bind-9.9.5-S1/lib" all ) || exi
> t 1; \
> 	fi; \
> done
> make: Fatal error: Command failed for target 'subdirs'
> "
> 
> Does bind not support Vis 3 architecture?
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list