[Vm-dev] [commit][2622] -fno-omit-frame-pointer, not -mno-omit-frame-pointer, sigh.

commits at squeakvm.org commits at squeakvm.org
Fri Nov 30 18:58:36 UTC 2012


Revision: 2622
Author:   eliot
Date:     2012-11-30 10:58:36 -0800 (Fri, 30 Nov 2012)
Log Message:
-----------
-fno-omit-frame-pointer, not -mno-omit-frame-pointer, sigh.

Modified Paths:
--------------
    branches/Cog/nscogbuild/unixbuild/astbld/mvm
    branches/Cog/nscogbuild/unixbuild/bld/mvm
    branches/Cog/nscogbuild/unixbuild/dbgbld/mvm

Modified: branches/Cog/nscogbuild/unixbuild/astbld/mvm
===================================================================
--- branches/Cog/nscogbuild/unixbuild/astbld/mvm	2012-11-30 18:36:58 UTC (rev 2621)
+++ branches/Cog/nscogbuild/unixbuild/astbld/mvm	2012-11-30 18:58:36 UTC (rev 2622)
@@ -1,4 +1,5 @@
 #!/bin/bash
+INSTALLDIR=nsvmlinuxast
 OPT=-O1
 
 echo -n "clean? "
@@ -7,13 +8,13 @@
 n|no|N|NO)	echo "ok but this isn't safe!!";;
 *)			make reallyclean
 esac
-test -f config.h || ../../../platforms/unix/config/configure --with-src=nscogsrc --without-vm-display-fbdev --without-npsqueak CFLAGS="-g $OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DDEBUGVM=0 -mno-omit-frame-pointer -mno-omit-leaf-frame-pointer" LIBS="-lpthread -luuid"
+test -f config.h || ../../../platforms/unix/config/configure --with-src=nscogsrc --without-vm-display-fbdev --without-npsqueak CFLAGS="-g $OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DDEBUGVM=0 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" LIBS="-lpthread -luuid"
 ../../../scripts/nukeversion
-rm -rf ../../../nsvmlinux
-# would prefer make install prefix=`readlink -f \`pwd\`/../../../nsvmlinuxast`
+rm -rf ../../../$INSTALLDIR
+# would prefer make install prefix=`readlink -f \`pwd\`/../../../$INSTALLDIR`
 # but older linux readlinks lack the -f flag
-make install prefix=`(cd ../../../;pwd)`/nsvmlinuxast
-(cd ../../../nsvmlinuxast
+make install prefix=`(cd ../../../;pwd)`/$INSTALLDIR
+(cd ../../../$INSTALLDIR
  if [ -f squeak ]; then
         mv squeak nsvm
         ex -u NONE "+g/squeak/s/squeak/nsvm/g" +w +q nsvm

Modified: branches/Cog/nscogbuild/unixbuild/bld/mvm
===================================================================
--- branches/Cog/nscogbuild/unixbuild/bld/mvm	2012-11-30 18:36:58 UTC (rev 2621)
+++ branches/Cog/nscogbuild/unixbuild/bld/mvm	2012-11-30 18:58:36 UTC (rev 2622)
@@ -1,4 +1,5 @@
 #!/bin/bash
+INSTALLDIR=nsvmlinux
 # Some gcc versions create a broken VM using -O2
 case `gcc -v 2>&1 | grep version | sed 's/gcc version *//'` in
 3.4.*)	OPT=-O1;;
@@ -13,11 +14,11 @@
 esac
 test -f config.h || ../../../platforms/unix/config/configure --with-src=nscogsrc --without-vm-display-fbdev --without-npsqueak CFLAGS="-g $OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DDEBUGVM=0" LIBS="-lpthread -luuid"
 ../../../scripts/nukeversion
-rm -rf ../../../nsvmlinux
-# would prefer make install prefix=`readlink -f \`pwd\`/../../../nsvmlinux`
+rm -rf ../../../$INSTALLDIR
+# would prefer make install prefix=`readlink -f \`pwd\`/../../../$INSTALLDIR`
 # but older linux readlinks lack the -f flag
-make install prefix=`(cd ../../../;pwd)`/nsvmlinux
-(cd ../../../nsvmlinux
+make install prefix=`(cd ../../../;pwd)`/$INSTALLDIR
+(cd ../../../$INSTALLDIR
  if [ -f squeak ]; then
         mv squeak nsvm
         ex -u NONE "+g/squeak/s/squeak/nsvm/g" +w +q nsvm

Modified: branches/Cog/nscogbuild/unixbuild/dbgbld/mvm
===================================================================
--- branches/Cog/nscogbuild/unixbuild/dbgbld/mvm	2012-11-30 18:36:58 UTC (rev 2621)
+++ branches/Cog/nscogbuild/unixbuild/dbgbld/mvm	2012-11-30 18:58:36 UTC (rev 2622)
@@ -1,4 +1,5 @@
 #!/bin/bash
+INSTALLDIR=nsvmlinuxdbg
 OPT=-O0
 
 echo -n "clean? "
@@ -7,13 +8,13 @@
 n|no|N|NO)	echo "ok but this isn't safe!!";;
 *)			make reallyclean
 esac
-test -f config.h || ../../../platforms/unix/config/configure --with-src=nscogsrc --without-vm-display-fbdev --without-npsqueak CFLAGS="-g $OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DDEBUGVM=1 -mno-omit-frame-pointer -mno-omit-leaf-frame-pointer" LIBS="-lpthread -luuid"
+test -f config.h || ../../../platforms/unix/config/configure --with-src=nscogsrc --without-vm-display-fbdev --without-npsqueak CFLAGS="-g $OPT -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DDEBUGVM=1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" LIBS="-lpthread -luuid"
 ../../../scripts/nukeversion
-rm -rf ../../../nsvmlinux
-# would prefer make install prefix=`readlink -f \`pwd\`/../../../nsvmlinuxdbg`
+rm -rf ../../../$INSTALLDIR
+# would prefer make install prefix=`readlink -f \`pwd\`/../../../$INSTALLDIR`
 # but older linux readlinks lack the -f flag
-make install prefix=`(cd ../../../;pwd)`/nsvmlinuxdbg
-(cd ../../../nsvmlinuxdbg
+make install prefix=`(cd ../../../;pwd)`/$INSTALLDIR
+(cd ../../../$INSTALLDIR
  if [ -f squeak ]; then
         mv squeak nsvm
         ex -u NONE "+g/squeak/s/squeak/nsvm/g" +w +q nsvm



More information about the Vm-dev mailing list