Doh. I thought it would pull all the content into this thread.
Here's the original thread: (http://www.opensolaris.org/jive/thread.jspa?threadID=76221&tstart=0) All, I'm building the kernel portion of snv_95, and after bldenv'ing and a dmake all of src/uts I receive the following error: ------cut-------- [EMAIL PROTECTED] [uts]# dmake all dmake: defaulting to parallel mode. See the man page dmake(1) for more information on setting up the .dmakerc file. /work/onnv-gate/usr/src/uts/common/sys /work/onnv-gate/usr/src/uts/common/rpc /work/onnv-gate/usr/src/uts/common/rpcsvc /work/onnv-gate/usr/src/uts/common/gssapi /work/onnv-gate/usr/src/uts/common/idmap /work/onnv-gate/usr/src/uts/intel /work/onnv-gate/usr/src/uts/intel/genassym /work/onnv-gate/usr/src/tools/proto/opt/onbld/bin/genoffsets -s /work/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386/ctfstabs -r /work/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386/ctfconvert /opt/onbld/bin/i386/cw -_cc -_noecho -W0,-xdbggen=no%usedonly -_gcc=-fno-dwarf2-indirect-strings -m64 -Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace -xmodel=kernel -Wu,-save_args -v -xildoff -g -xc99=%all -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -errtags=yes -errwarn=%all -W0,-xglobalstatic -xstrconst -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 -D_DDI_STRICT -Dsun -D__sun -D__SVR4 -I../../intel -I../../common/brand/lx -Y I,../../common ../../intel/genassym/obj64/genassym.h cc: Warning: illegal option -m64 cc: -xmodel should be used with -xarch={amd64|generic64} genoffsets: /opt/onbld/bin/i386/cw failed with status 1 *** Error code 1 dmake: Fatal error: Command failed for target `../../intel/genassym/obj64/genassym.h' Current working directory /work/onnv-gate/usr/src/uts/intel/genassym *** Error code 1 The following command caused the error: BUILD_TYPE=OBJ64 VERSION='onnv-gate-dsw' dmake all.targ dmake: Fatal error: Command failed for target `all.obj64' Current working directory /work/onnv-gate/usr/src/uts/intel/genassym *** Error code 1 The following command caused the error: cd genassym; pwd; dmake all dmake: Fatal error: Command failed for target `genassym' Current working directory /work/onnv-gate/usr/src/uts/intel *** Error code 1 The following command caused the error: cd intel; pwd; dmake all.prereq dmake: Fatal error: Command failed for target `intel.prereq' Current working directory /work/onnv-gate/usr/src/uts --------->8---------- I am using Sun Studio 11, and the stock gcc (gcc version 3.4.3 (csl-sol210-3_4-20050802))from /usr/sfw/bin. My quandry is that CC seems to be expecting to build the kernel portion, whereas gcc should be favoured, no? I only mention this, as the -m64 is a gcc flag. I did a hg pull/update this morning, so quite a bit of difference to the stock snv_95 (of which built fine yesterday). Any assistance would be great thanks! dan. -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code