Running ' /opt/csw/bin/ggrep -m 1 -r xarch=amd64 *  | grep -v Binary | grep -v 
make.state ' (Blastwave), in directory /aux0/testws I get:

proto/root_i386/usr/demo/mdb/Makefile.amd64:CFLAGS = -xarch=amd64
usr/src/Makefile.master:amd64_XARCH=            -xarch=amd64 -Ui386 -U__i386
usr/src/cmd/mdb/demo/Makefile.amd64:CFLAGS = -xarch=amd64
usr/src/common/crypto/md5/amd64/md5_amd64.pl:# /ws/onnv-tools/onbld/bin/i386/aw 
-xarch=amd64 -P -a32 -o lea.o lea.s
usr/src/common/crypto/sha1/amd64/sha1-x86_64.pl:# 
/ws/onnv-tools/onbld/bin/i386/aw -xarch=amd64 -P -a32 -o lea.o lea.s
usr/src/noise-i386.out:CC: Warning: -xarch=amd64 is deprecated, use -m64 to 
create 64-bit programs
usr/src/install-i386.out:/opt/onbld/bin/i386/cw -_cc -xO3 -xarch=amd64 -Ui386 
-U__i386  -Xa  -xildoff -errtags=yes -errwarn=%all 
-erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    
-W0,-xglobalstatic -DTEXT_DOMAIN=\"\" -D_TS_ERRNO  
-I/aux0/testws/proto/root_i386/usr/include     -o main.1 
-Mmap.noexeglobs.1.template main.c
usr/src/lib/libshell/misc/buildksh93.ksh:                *.i386.64bit.suncc*)  
HOSTTYPE="sol11.i386" CC="${BSUNCC99} -xarch=amd64 -KPIC" CC_SHAREDLIB="-G" 
CCFLAGS="${BSUNCC_CCFLAGS}"  ;;
usr/src/tools/aw/aw.c: * We also add '-xarch=amd64' in case we need to feed the 
assembler
usr/src/noise-i386.ref:CC: Warning: -xarch=amd64 is deprecated, use -m64 to 
create 64-bit programs

and checking the capitilized version I get:
#  /opt/csw/bin/ggrep -m 1 -r Xarch * | grep -v Binary | grep -v make.state | 
grep -v lint.out

proto/root_i386/usr/demo/mdb/Makefile.amd64:LINTFLAGS = -Xarch=amd64
proto/root_i386/usr/demo/mdb/Makefile.sparcv9:LINTFLAGS = -Xarch=v9
usr/src/cmd/truss/sparcv9/Makefile:lint := LINTFLAGS64 = $(LINTFLAGS) -Xarch=v9
usr/src/cmd/ppgsz/sparcv9/Makefile:lint := LINTFLAGS64 = -x -Xarch=v9 
-D_SYSCALL32
usr/src/cmd/w/sparcv9/Makefile:lint     := LINTFLAGS64 = -x -Xarch=v9
usr/src/cmd/whodo/sparcv9/Makefile:lint := LINTFLAGS64 = -x -Xarch=v9
usr/src/cmd/gcore/sparcv9/Makefile:lint := LINTFLAGS64 = -x -Xarch=v9
usr/src/cmd/mdb/demo/Makefile.amd64:LINTFLAGS = -Xarch=amd64
usr/src/cmd/mdb/demo/Makefile.sparcv9:LINTFLAGS = -Xarch=v9
usr/src/cmd/ps/sparcv9/Makefile:lint    := LINTFLAGS64 = -x -Xarch=v9
usr/src/cmd/fps/fptest/Makefile:LINTFLAGS = -I$(INCDIR) -I$(FPST_LOC) -Xarch=v9 
-Dunix -uxn -errchk=longptr64,sizematch -Ncheck=macro -errhdr=`pwd` -Nlevel=2 
-errtags=yes -errsecurity=core -DDP -D_sparc64
usr/src/cmd/sgs/ar/Makefile.com:LINTFLAGS64=    -mx -Xarch=$(MACH64:sparcv9=v9)
usr/src/cmd/sgs/Makefile.var:VAR_LINTFLAGS64=   -Xarch=$(MACH64:sparcv9=v9)
usr/src/cmd/sgs/nm/sparcv9/Makefile:LINTFLAGS64=        -x $(LDLIBS) -Xarch=v9
usr/src/cmd/sgs/nm/amd64/Makefile:LINTFLAGS64 +=        -x $(LDLIBS) 
-Xarch=amd64
usr/src/cmd/plimit/sparcv9/Makefile:lint        := LINTFLAGS64 = -x -Xarch=v9
usr/src/cmd/modload/sparcv9/Makefile:lint       := LINTFLAGS64 = $(LINTFLAGS) 
-Xarch=v9
usr/src/cmd/nohup/sparcv9/Makefile:lint := LINTFLAGS64 = $(LINTFLAGS) -Xarch=v9
usr/src/cmd/Makefile.cmd:LINTFLAGS64=   -axsm -Xarch=$(MACH64:sparcv9=v9)
usr/src/noise-i386.out:lint: Warning: -Xarch=amd64 is deprecated, use -m64 
instead
usr/src/lint-noise-i386.ref:lint: Warning: -Xarch=amd64 is deprecated, use -m64 
instead
usr/src/stand/lib/Makefile.sparc:LINTFLAGS64 = $(LINTFLAGS) -Xarch=v9
usr/src/uts/sun4u/Makefile.sun4u.shared:LINT_DEFS       = -Xarch=v9
usr/src/uts/sun4v/Makefile.sun4v.shared:LINT_DEFS       = -Xarch=v9
usr/src/uts/sparc/Makefile.sparc.shared:LINT_DEFS_64    = -Xarch=v9
usr/src/uts/Makefile.uts:LINTFLAGS_sparc_64     = $(LINTFLAGS_sparc_32) 
-Xarch=v9
usr/src/psm/Makefile.psm.64:$(SPARC_BLD)LINTFLAGS64     += -errchk=longptr64 
-Xarch=v9
usr/src/psm/stand/boot/sparcv9/sun4v/Makefile:LINTFLAGS64 = $(LINTFLAGS) 
-Xarch=v9
usr/src/psm/stand/boot/sparcv9/sun4u/Makefile:LINTFLAGS64 = $(LINTFLAGS) 
-Xarch=v9
usr/src/lint-noise-i386.out:lint: Warning: -Xarch=amd64 is deprecated, use -m64 
instead
usr/src/lib/libbsdmalloc/Makefile.com:LINTFLAGS64 =     -uax 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/libfru/Makefile.flag:LINTFLAGS64 =  $(LINTFLAGS) 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/libfru/libfrupicl/Makefile.com:LINTFLAGS64 =        $(LINTFLAGS) 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/libfru/libfrureg/Makefile.com:LINTFLAGS64 = $(LINTFLAGS) 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/libfru/libfrupicltree/Makefile.com:LINTFLAGS64 =    $(LINTFLAGS) 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/libfmd_msg/Makefile.com:LINTFLAGS64 = -msux 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/topo/libtopo/Makefile.com:LINTFLAGS64 = -msux 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/libfmd_adm/Makefile.com:LINTFLAGS64 = -msux 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/libfmd_snmp/Makefile.com:LINTFLAGS64 = -msux 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/libmdesc/Makefile.com:$(LINTLIB) := LINTFLAGS64 = -nsvx 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/libldom/Makefile.com:LINTFLAGS64 = -msux 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/libdiagcode/Makefile.com:$(LINTLIB) := LINTFLAGS64 = -nsvx 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/fm/libfmd_log/Makefile.com:LINTFLAGS64 = -msux 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/libtsol/Makefile.com:LINTFLAGS64 += -Xarch=v9
usr/src/lib/libfruutils/Makefile.com:LINTFLAGS64 =      $(LINTFLAGS) 
-Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/libc/sparcv9/Makefile:$(LINTLIB):= LINTFLAGS64=-nvx -Xarch=v9
usr/src/lib/libc/amd64/Makefile:$(LINTLIB):= LINTFLAGS64=-nvx -Xarch=amd64
usr/src/lib/sasl_plugins/Makefile.com:LINTFLAGS64=      
-Xarch=$(MACH64:sparcv9=v9) $(ENC_FLAGS)
usr/src/lib/Makefile.lib:LINTFLAGS64=   -uaxm -Xarch=$(MACH64:sparcv9=v9)
usr/src/lib/libpri/Makefile.com:LINTFLAGS64 = -msux -Xarch=$(MACH64:sparcv9=v9)
usr/src/lint-i386.out:lint: Warning: -Xarch=amd64 is deprecated, use -m64 
instead
usr/src/ucbcmd/ps/sparcv9/Makefile:lint := LINTFLAGS64 = -x -Xarch=v9
usr/src/noise-i386.ref:lint: Warning: -Xarch=amd64 is deprecated, use -m64 
instead


With all those Makefile fixes and the large amount of lint (shown in the 
attachment) about:
warning: function argument type inconsistent with format
warning: function argument declared inconsistently
warning: value type declared inconsistently
warning: argument used inconsistently

makes me wonder if no one is compiling the DEBUG sources, turning off lint, or 
not using SS12 (unlikely?) - seems like I have my weekend planned ...
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to