Latest trunk (1954) and a clean svn checkout.
I tried to make the latest vm under unix and received the following errors. Assuming that this is from latest Pharo changes on OSX which resulted in unix not building. Yes? /bin/sh /home/bfuller/dev/squeak/platforms/unix/libtool --mode=link gcc -O0 -g -DLSB_FIRST=1 -Wl,--hash-style=sysv -export-dynamic -R/usr/local/lib -o squeak vm/vm.a ADPCMCodecPlugin/ADPCMCodecPlugin.a AsynchFilePlugin/AsynchFilePlugin.a BMPReadWriterPlugin/BMPReadWriterPlugin.a B2DPlugin/B2DPlugin.a BitBltPlugin/BitBltPlugin.a CroquetPlugin/CroquetPlugin.a DSAPrims/DSAPrims.a ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a FFTPlugin/FFTPlugin.a FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a GeniePlugin/GeniePlugin.a JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a JPEGReaderPlugin/JPEGReaderPlugin.a JoystickTabletPlugin/JoystickTabletPlugin.a Klatt/Klatt.a LargeIntegers/LargeIntegers.a LocalePlugin/LocalePlugin.a Matrix2x3Plugin/Matrix2x3Plugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a RePlugin/RePlugin.a SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a SoundGenerationPlugin/SoundGenerationPlugin.a SoundPlugin/SoundPlugin.a StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a disabledPlugins.o version.o -lutil -ldl -lm -lnsl vm/vm.a mkdir .libs gcc -O0 -g -DLSB_FIRST=1 -Wl,--hash-style=sysv -o squeak disabledPlugins.o version.o -Wl,--export-dynamic vm/vm.a ADPCMCodecPlugin/ADPCMCodecPlugin.a AsynchFilePlugin/AsynchFilePlugin.a BMPReadWriterPlugin/BMPReadWriterPlugin.a B2DPlugin/B2DPlugin.a BitBltPlugin/BitBltPlugin.a CroquetPlugin/CroquetPlugin.a DSAPrims/DSAPrims.a ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a FFTPlugin/FFTPlugin.a FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a GeniePlugin/GeniePlugin.a JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a JPEGReaderPlugin/JPEGReaderPlugin.a JoystickTabletPlugin/JoystickTabletPlugin.a Klatt/Klatt.a LargeIntegers/LargeIntegers.a LocalePlugin/LocalePlugin.a Matrix2x3Plugin/Matrix2x3Plugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a RePlugin/RePlugin.a SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a SoundGenerationPlugin/SoundGenerationPlugin.a SoundPlugin/SoundPlugin.a StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a -lutil -ldl -lm -lnsl vm/vm.a -Wl,--rpath -Wl,/usr/local/lib vm/vm.a(sqVirtualMachine.o): In function `sqGetInterpreterProxy': /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:351: undefined reference to `internalIsImmutable' /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:352: undefined reference to `internalIsMutable' /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:353: undefined reference to `primitiveFailFor' /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:354: undefined reference to `classAlien' /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:355: undefined reference to `getStackPointer' /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:356: undefined reference to `sendInvokeCallbackStackRegistersJmpbuf' /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:357: undefined reference to `reestablishContextPriorToCallback' /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:358: undefined reference to `classUnsafeAlien' collect2: ld returned 1 exit status make: *** [squeak] Error 1 -- Brad Fuller |
I really don't know what these are for in sqVirtualMachine.c:
#if VM_PROXY_MINOR > 7 VM->internalIsImmutable = internalIsImmutable; VM->internalIsMutable = internalIsMutable; VM->primitiveFailFor = primitiveFailFor; VM->classAlien = classAlien; VM->getStackPointer = (sqInt *(*)(void))getStackPointer; VM->sendInvokeCallbackStackRegistersJmpbuf = sendInvokeCallbackStackRegistersJmpbuf; VM->reestablishContextPriorToCallback = reestablishContextPriorToCallback; VM->classUnsafeAlien = classUnsafeAlien; #endif but these are undefined (errors below) if someone could tell me a bit, I would be happy to track down the problem. Since it's a recent issue, the problem must have been introduced in the last couple of days. On Mon, Nov 24, 2008 at 1:11 PM, Brad Fuller <[hidden email]> wrote: > Latest trunk (1954) and a clean svn checkout. > > I tried to make the latest vm under unix and received the following > errors. Assuming that this is from latest Pharo changes on OSX which > resulted in unix not building. Yes? > > /bin/sh /home/bfuller/dev/squeak/platforms/unix/libtool --mode=link > gcc -O0 -g -DLSB_FIRST=1 -Wl,--hash-style=sysv -export-dynamic > -R/usr/local/lib -o squeak vm/vm.a ADPCMCodecPlugin/ADPCMCodecPlugin.a > AsynchFilePlugin/AsynchFilePlugin.a > BMPReadWriterPlugin/BMPReadWriterPlugin.a B2DPlugin/B2DPlugin.a > BitBltPlugin/BitBltPlugin.a CroquetPlugin/CroquetPlugin.a > DSAPrims/DSAPrims.a ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a > FFTPlugin/FFTPlugin.a FilePlugin/FilePlugin.a > FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a > GeniePlugin/GeniePlugin.a > JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a > JPEGReaderPlugin/JPEGReaderPlugin.a > JoystickTabletPlugin/JoystickTabletPlugin.a Klatt/Klatt.a > LargeIntegers/LargeIntegers.a LocalePlugin/LocalePlugin.a > Matrix2x3Plugin/Matrix2x3Plugin.a > MiscPrimitivePlugin/MiscPrimitivePlugin.a RePlugin/RePlugin.a > SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a > SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a > SoundGenerationPlugin/SoundGenerationPlugin.a > SoundPlugin/SoundPlugin.a StarSqueakPlugin/StarSqueakPlugin.a > SurfacePlugin/SurfacePlugin.a disabledPlugins.o version.o -lutil -ldl > -lm -lnsl vm/vm.a > mkdir .libs > gcc -O0 -g -DLSB_FIRST=1 -Wl,--hash-style=sysv -o squeak > disabledPlugins.o version.o -Wl,--export-dynamic vm/vm.a > ADPCMCodecPlugin/ADPCMCodecPlugin.a > AsynchFilePlugin/AsynchFilePlugin.a > BMPReadWriterPlugin/BMPReadWriterPlugin.a B2DPlugin/B2DPlugin.a > BitBltPlugin/BitBltPlugin.a CroquetPlugin/CroquetPlugin.a > DSAPrims/DSAPrims.a ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a > FFTPlugin/FFTPlugin.a FilePlugin/FilePlugin.a > FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a > GeniePlugin/GeniePlugin.a > JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a > JPEGReaderPlugin/JPEGReaderPlugin.a > JoystickTabletPlugin/JoystickTabletPlugin.a Klatt/Klatt.a > LargeIntegers/LargeIntegers.a LocalePlugin/LocalePlugin.a > Matrix2x3Plugin/Matrix2x3Plugin.a > MiscPrimitivePlugin/MiscPrimitivePlugin.a RePlugin/RePlugin.a > SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a > SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a > SoundGenerationPlugin/SoundGenerationPlugin.a > SoundPlugin/SoundPlugin.a StarSqueakPlugin/StarSqueakPlugin.a > SurfacePlugin/SurfacePlugin.a -lutil -ldl -lm -lnsl vm/vm.a > -Wl,--rpath -Wl,/usr/local/lib > vm/vm.a(sqVirtualMachine.o): In function `sqGetInterpreterProxy': > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:351: > undefined reference to `internalIsImmutable' > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:352: > undefined reference to `internalIsMutable' > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:353: > undefined reference to `primitiveFailFor' > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:354: > undefined reference to `classAlien' > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:355: > undefined reference to `getStackPointer' > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:356: > undefined reference to `sendInvokeCallbackStackRegistersJmpbuf' > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:357: > undefined reference to `reestablishContextPriorToCallback' > /home/bfuller/dev/squeak/platforms/Cross/vm/sqVirtualMachine.c:358: > undefined reference to `classUnsafeAlien' > collect2: ld returned 1 exit status > make: *** [squeak] Error 1 > > > -- > Brad Fuller > -- Brad Fuller |
Must not update svn late at night.
You must load the alien VMMaker changes from http://www.squeaksource.com/Alien.html to resolve these. Likely we need to decide how to make these part of the general offering, or not. That or wrap the VM_PROXY_MINOR = 8 logic a bit more to make it optional based on a #DEFINE (SUPPORTALIENS)? On 24-Nov-08, at 5:55 PM, Brad Fuller wrote: > I really don't know what these are for in sqVirtualMachine.c: > > #if VM_PROXY_MINOR > 7 > > VM->internalIsImmutable = internalIsImmutable; > VM->internalIsMutable = internalIsMutable; > VM->primitiveFailFor = primitiveFailFor; > VM->classAlien = classAlien; > VM->getStackPointer = (sqInt *(*)(void))getStackPointer; > VM->sendInvokeCallbackStackRegistersJmpbuf = > sendInvokeCallbackStackRegistersJmpbuf; > VM->reestablishContextPriorToCallback = > reestablishContextPriorToCallback; > VM->classUnsafeAlien = classUnsafeAlien; > > #endif -- = = = ======================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== |
In reply to this post by Brad Fuller-4
On Mon, Nov 24, 2008 at 5:55 PM, Brad Fuller <[hidden email]> wrote: I really don't know what these are for in sqVirtualMachine.c: This is all from my Alien, Immutability and primitive error code work at Cadence. John McIntosh is folding the work back in. You'll need to update sqVirtualMachine.h & sqVirtualMachine.c from the relevant svn rep.
HTH (but John is in the driving seat on this one)
|
On Mon, Nov 24, 2008 at 7:02 PM, Eliot Miranda <[hidden email]> wrote:
> > > On Mon, Nov 24, 2008 at 5:55 PM, Brad Fuller <[hidden email]> > wrote: >> >> I really don't know what these are for in sqVirtualMachine.c: >> >> #if VM_PROXY_MINOR > 7 >> >> VM->internalIsImmutable = internalIsImmutable; >> VM->internalIsMutable = internalIsMutable; >> VM->primitiveFailFor = primitiveFailFor; >> VM->classAlien = classAlien; >> VM->getStackPointer = (sqInt *(*)(void))getStackPointer; >> VM->sendInvokeCallbackStackRegistersJmpbuf = >> sendInvokeCallbackStackRegistersJmpbuf; >> VM->reestablishContextPriorToCallback = >> reestablishContextPriorToCallback; >> VM->classUnsafeAlien = classUnsafeAlien; >> >> #endif >> >> but these are undefined (errors below) > > This is all from my Alien, Immutability and primitive error code work at > Cadence. John McIntosh is folding the work back in. You'll need to update > sqVirtualMachine.h & sqVirtualMachine.c from the relevant svn rep. > HTH (but John is in the driving seat on this one) Thanks. I'll wait on John. -- Brad Fuller |
In reply to this post by johnmci
On Mon, Nov 24, 2008 at 06:37:50PM -0800, John M McIntosh wrote:
> > That or wrap the VM_PROXY_MINOR = 8 logic a bit more to make it > optional based on a #DEFINE (SUPPORTALIENS)? Technical merits aside, what's not to love about a name like "SUPPORTALIENS"? ;-) |
Free forum by Nabble | Edit this page |