Hi Rob,
On Fri, Jun 25, 2010 at 5:32 PM, Rob Withers reefedjib@yahoo.com wrote:
Hi Eliot,
Is it possible someone has generated another experimental VM for revision 16? I am hoping so. I have attempted to make with cygwin with poor results. Here is what I did:
These steps are now obsolete. Instead simply check-out http://www.squeakvm.org/svn/squeak/branches/Cog and build. I've updated the build instructions there-in. One thing wrong with the old HowToBuild is its specifying the use of a cmd shell instead of a cygwin bash shell.
HTH Eliot
1. Install the latest cygwin (cygwin 1.7.5-1)
- Download and un-tarball OpenSourceCog-oscog.16.tar.gz
- Download VMMaker-oscog.16.mcz
- Download Cog-eem.40.mcz
- Read README and cygwinbuild\HowToBuild
- Try to svn checkout code (platforms, src, cygwinbuild)
- ERROR svn: OPTIONS of 'https://dev.qwaq.com/svn/XXX/trunk/platforms':
Could not resolv e hostname `dev.qwaq.com': The requested name is valid, but no data of the reque sted type was found. (https://dev.qwaq.com) 7. Since platforms and src are already there, try make. Command prompt - cd into cygwinbuild and make. Error listed below. 8. Run VMMaker-Squeak4.1.image image in image and regenerate sources. Had to edit the directory separator from '/' to ''. Regenerated sources. 9. Run make again and unsurprisingly get the same error.
Cygwinbuild make ERROR - C:\Program Files\Squeak 4.1\CogSqueak4.1\cygwinbuild>make Makefile:281: warning: overriding commands for target `Croquet.res' Makefile:263: warning: ignoring old commands for target `Croquet.res' ---------------- Makefile settings ------------------ VPATH=../src/vm ../platforms/win32/vm ../platforms/Cross/vm INCLUDES=-I. -I../src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -I../pl atforms/win32/third-party/dx9sdk/Include CFLAGS=-isystem/usr/include/mingw -I/usr/include/w32api -msse2 -ggdb2 -mwindows -mno-cygwin -mwin32 -mno-rtd -mms-bitfields -mno-accumulate-outgoing-args -D_MT -O2 -march=pentium4 -momit-leaf-frame-pointer -funroll-loops -fno-builtin-printf -fno-builtin-putchar -fno-builtin-fprintf INTERNAL_PLUGINS=ADPCMCodecPlugin AsynchFilePlugin B3DAcceleratorPlugin B2DPlugi n BitBltPlugin BMPReadWriterPlugin CroquetPlugin ZipPlugin DropPlugin DSAPrims F FTPlugin FilePlugin FloatArrayPlugin FloatMathPlugin HostWindowPlugin IA32ABI Jo ystickTabletPlugin JPEGReaderPlugin JPEGReadWriter2Plugin Klatt LargeIntegers Lo calePlugin Matrix2x3Plugin MIDIPlugin MiscPrimitivePlugin Mpeg3Plugin RePlugin S ecurityPlugin SerialPlugin SocketPlugin SoundCodecPrims SoundGenerationPlugin St arSqueakPlugin SurfacePlugin UUIDPlugin EXTERNAL_PLUGINS=SqueakFFIPrims Win32OSProcessPlugin LIBS=./build/vm/ADPCMCodecPlugin.lib ./build/vm/AsynchFilePlugin.lib ./build/vm/ B3DAcceleratorPlugin.lib ./build/vm/B2DPlugin.lib ./build/vm/BitBltPlugin.lib ./ build/vm/BMPReadWriterPlugin.lib ./build/vm/CroquetPlugin.lib ./build/vm/ZipPlug in.lib ./build/vm/DropPlugin.lib ./build/vm/DSAPrims.lib ./build/vm/FFTPlugin.li b ./build/vm/FilePlugin.lib ./build/vm/FloatArrayPlugin.lib ./build/vm/FloatMath Plugin.lib ./build/vm/HostWindowPlugin.lib ./build/vm/IA32ABI.lib ./build/vm/Joy stickTabletPlugin.lib ./build/vm/JPEGReaderPlugin.lib ./build/vm/JPEGReadWriter2 Plugin.lib ./build/vm/Klatt.lib ./build/vm/LargeIntegers.lib ./build/vm/LocalePl ugin.lib ./build/vm/Matrix2x3Plugin.lib ./build/vm/MIDIPlugin.lib ./build/vm/Mis cPrimitivePlugin.lib ./build/vm/Mpeg3Plugin.lib ./build/vm/RePlugin.lib ./build/ vm/SecurityPlugin.lib ./build/vm/SerialPlugin.lib ./build/vm/SocketPlugin.lib ./ build/vm/SoundCodecPrims.lib ./build/vm/SoundGenerationPlugin.lib ./build/vm/Sta rSqueakPlugin.lib ./build/vm/SurfacePlugin.lib ./build/vm/UUIDPlugin.lib DLLS=./build/vm/SqueakFFIPrims.dll ./build/vm/Win32OSProcessPlugin.dll
The syntax of the command is incorrect. make: [build/vm] Error 1 (ignored) mkdir ./build/vm The syntax of the command is incorrect. make: *** [build/vm] Error 1
Cheers, Rob
The Modern Whig Party of Virginia - http://vawhigs.org
*From:* Eliot Miranda eliot.miranda@gmail.com *Sent:* Friday, June 25, 2010 1:13 PM *To:* Squeak Virtual Machine Development Discussionvm-dev@lists.squeakfoundation.org *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
Hi Rob,
you're running a Cog VM derived from VMMaker-oscog.11.
VMMaker-oscog.16 has some important fixes. You might want to update.
best Eliot
On Fri, Jun 25, 2010 at 4:29 AM, Rob Withers reefedjib@yahoo.com wrote:
Here is the crash dump from the Cog VM
From: "Rob Withers" reefedjib@yahoo.com Sent: Friday, June 25, 2010 7:20 AM To: "Squeak VM Dev" vm-dev@lists.squeakfoundation.org Subject: [Vm-dev] Squeak 4.1 VM crash
I am running the Cog image on the stock Squeak 4.1 vm. I was testing the
Cryptography package. There are two test cases that are now failing: CryptoRigndaelCBCTest>>#testByteArrayFromHexString and CryptoX509Test>>#testSignatureValidation for unknown reasons.
I decided to Run Coverage. I am not really sure what this does, but I was trying to find a way to get performance numbers and then compare to the Cog VM.
I got the attached crash dump.
Rob