I'm trying to compile zfs kernel on the following machine bash-3.2# uname -a SunOS solaris-b119-44 5.11 snv_119 i86pc i386 i86pc
I set the env properly using bldenv -d ./opensolaris.sh. bash-3.2# pwd /export/testws/usr/src/uts bash-3.2# dmake dmake: defaulting to parallel mode. See the man page dmake(1) for more information on setting up the .dmakerc file. /export/testws/usr/src/uts/common/sys /export/testws/usr/src/uts/common/rpc /export/testws/usr/src/uts/common/rpcsvc /export/testws/usr/src/uts/common/gssapi /export/testws/usr/src/uts/common/idmap /export/testws/usr/src/uts/intel /export/testws/usr/src/uts/intel/genassym /export/testws/usr/src/tools/proto/opt/onbld/bin/genoffsets -s /export/testws/usr/src/tools/proto/opt/onbld/bin/i386/ctfstabs -r /export/testws/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/offsets.in >../../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 /export/testws/usr/src/uts/intel/genassym *** Error code 1 The following command caused the error: BUILD_TYPE=OBJ64 VERSION='testws' dmake def.targ dmake: Fatal error: Command failed for target `def.obj64' Current working directory /export/testws/usr/src/uts/intel/genassym *** Error code 1 The following command caused the error: cd genassym; pwd; dmake def dmake: Fatal error: Command failed for target `genassym' Current working directory /export/testws/usr/src/uts/intel *** Error code 1 The following command caused the error: cd intel; pwd; dmake def.prereq dmake: Fatal error: Command failed for target `intel.prereq' Current working directory /export/testws/usr/src/uts I would like to know why its picking up amd64 config params from the Makefile, while uname -a clearly shows that its i386 ? Thanks, pak -- This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss