[Vm-dev] [ERROR] Crypto plugins not loading Re: [solved] [plugins] compiling/linking 3 Crypto Plugins Re: [error] compilation failing.... Re: [interrogative] CryptographyPlugins-eem.14

Robert robert.withers at pm.me
Tue Mar 3 21:27:11 UTC 2020


I got a pointer from the slack channel to run Smalltalk>>#listLoadedModules.

Here are my results, no Crypto plugins loaded.#('B2DPlugin VMMaker.oscog-eem.2420 (i)'
'DSAPrims CryptographyPlugins-eem.12 (i)' 'UUIDPlugin VMMaker.oscog-eem.2347 (e)' '
BitBltPlugin VMMaker.oscog-eem.2461 (i)'
'SocketPlugin VMMaker.oscog-eem.2347 (i)'
'CroquetPlugin VMMaker.oscog-eem.2347 (i)' 'FilePlugin VMMaker.oscog-eem.2441 (i)'
'LargeIntegers v2.0 VMMaker.oscog-eem.2347 (i)'
'MiscPrimitivePlugin VMMaker.oscog-eem.2394 (i)'
'SecurityPlugin VMMaker.oscog-eem.2347 (i)')

On 3/3/20 1:33 PM, Robert wrote:

> I loaded version 2719 of VMMaker and regenerated the vm and the plugins. The mvm script completed successfully and I have my 3 plugins for Crypto. There were no errors or warnings compiling these Crypto plugins, although they were written on a 32-bit system.
>
> Here are the plugins: https://www.dropbox.com/sh/yhv253rwrhq0q5p/AAB7PKP2KPiGpDnIyule2h_Ia?dl=0.
>
> To test the plugin, I moved the 3 plugins to /usr/local/lib/Squeak-v5.3, where I have my installation of 5.3. I then selected CryptoDESTest>>#testDES and debugged it. Drilling down to where the plugin is attempted to be detected, in DES>>#encryptBlock: it calls self primPluginAvailable, which returns false. So, I find that the plugin was NOT detected, How can I explore which plugins are loaded?
>
> tyk, r
>
> quotar at ganymede:/usr/local/lib/Squeak5.3$ ll bin/
> total 11664
> drwxr-xr-x 2 root root    4096 Mar  3 13:17 ./
> drwxr-xr-x 4 root root    4096 Mar  3 13:15 ../
> -rw-r--r-- 1 root root  282340 Feb 28 12:07 B3DAcceleratorPlugin.a
> -rwxr-xr-x 1 root root  173008 Feb 28 12:07 B3DAcceleratorPlugin.so*
> -rwxr-xr-x 1 root root   30016 Mar  3 13:17 DESPlugin.so*
> -rw-r--r-- 1 root root  143400 Feb 28 12:07 FileAttributesPlugin.a
> -rwxr-xr-x 1 root root   86771 Feb 28 12:07 FileAttributesPlugin.so*
> -rw-r--r-- 1 root root   41526 Feb 28 12:07 ImmX11Plugin.a
> -rwxr-xr-x 1 root root   32489 Feb 28 12:07 ImmX11Plugin.so*
> -rw-r--r-- 1 root root   78364 Feb 28 12:07 LocalePlugin.a
> -rwxr-xr-x 1 root root   53231 Feb 28 12:07 LocalePlugin.so*
> -rwxr-xr-x 1 root root   31984 Mar  3 13:17 MD5Plugin.so*
> -rwxr-xr-x 1 root root   26528 Mar  3 13:17 SHA256Plugin.so*
> -rwxr-xr-x 1 root root 7177580 Feb 28 12:07 squeak*
> -rw-r--r-- 1 root root  283438 Feb 28 12:07 SqueakFFIPrims.a
> -rwxr-xr-x 1 root root  145601 Feb 28 12:07 SqueakFFIPrims.so*
> -rw-r--r-- 1 root root  350948 Feb 28 12:07 SqueakSSL.a
> -rwxr-xr-x 1 root root  169007 Feb 28 12:07 SqueakSSL.so*
> -rw-r--r-- 1 root root  215508 Feb 28 12:07 UnixOSProcessPlugin.a
> -rwxr-xr-x 1 root root  142948 Feb 28 12:07 UnixOSProcessPlugin.so*
> -rw-r--r-- 1 root root   33634 Feb 28 12:07 UUIDPlugin.a
> -rwxr-xr-x 1 root root   28173 Feb 28 12:07 UUIDPlugin.so*
> -rw-r--r-- 1 root root  287840 Feb 28 12:07 vm-display-fbdev.a
> -rwxr-xr-x 1 root root  146620 Feb 28 12:07 vm-display-fbdev.so*
> -rw-r--r-- 1 root root   38200 Feb 28 12:07 vm-display-null.a
> -rwxr-xr-x 1 root root   33878 Feb 28 12:07 vm-display-null.so*
> -rw-r--r-- 1 root root  724058 Feb 28 12:07 vm-display-X11.a
> -rwxr-xr-x 1 root root  366451 Feb 28 12:07 vm-display-X11.so*
> -rw-r--r-- 1 root root   99436 Feb 28 12:07 vm-sound-ALSA.a
> -rwxr-xr-x 1 root root   73501 Feb 28 12:07 vm-sound-ALSA.so*
> -rw-r--r-- 1 root root   50728 Feb 28 12:07 vm-sound-NAS.a
> -rwxr-xr-x 1 root root   40673 Feb 28 12:07 vm-sound-NAS.so*
> -rw-r--r-- 1 root root   18404 Feb 28 12:07 vm-sound-null.a
> -rwxr-xr-x 1 root root   20961 Feb 28 12:07 vm-sound-null.so*
> -rw-r--r-- 1 root root  144858 Feb 28 12:07 vm-sound-OSS.a
> -rwxr-xr-x 1 root root  109361 Feb 28 12:07 vm-sound-OSS.so*
> -rw-r--r-- 1 root root   63696 Feb 28 12:07 vm-sound-pulse.a
> -rwxr-xr-x 1 root root   46940 Feb 28 12:07 vm-sound-pulse.so*
> -rw-r--r-- 1 root root   36452 Feb 28 12:07 XDisplayControlPlugin.a
> -rwxr-xr-x 1 root root   29883 Feb 28 12:07 XDisplayControlPlugin.so*
>
> On 3/3/20 2:27 AM, Tobias Pape wrote:
>
>> Hi
>>
>>> On 03.03.2020, at 01:12, Robert
>>> [<robert.withers at pm.me>](mailto:robert.withers at pm.me)
>>> wrote:
>>>
>>> Yes, here is a git diff of build.linux64x4/squeak.cog.spur/build
>>> https://www.dropbox.com/s/y47lt935ma8sf9k/git.diff?dl=0
>>
>> I do not know what changed between
>>	VMMaker.oscog-eem.2719 (which is the state of the repo)
>> and
>>	VMMaker.oscog-eem.2721 (which was used by you for generating)
>> But maybe try out loading the 2719 version an generate again?
>>
>> Best regards
>>	-Tobias
>>
>>> On 3/2/20 6:05 PM, Tobias Pape wrote:
>>>
>>>>> On 02.03.2020, at 23:51, Robert
>>>>> [<robert.withers at pm.me>](mailto:robert.withers at pm.me)
>>>>> wrote:
>>>>>
>>>>> I installed all the packages from the script travis_install.sh. and
>>>>> rebuilt. I am having fatal errors compiling vm/vm.a
>>>>>
>>>>> /bin/bash
>>>>> /home/quotar/tribe/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/libtool
>>>>> --preserve-dup-deps --mode=link clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2
>>>>> -DCOGMTVM=0 -Wall -pthread -DLSB_FIRST=1  -m64 -L/usr/local/lib
>>>>> -Wl,-z,now   -export-dynamic -o squeak vm/vm.a
>>>>> ADPCMCodecPlugin/ADPCMCodecPlugin.a AioPlugin/AioPlugin.a
>>>>> AsynchFilePlugin/AsynchFilePlugin.a B2DPlugin/B2DPlugin.a
>>>>> BitBltPlugin/BitBltPlugin.a BMPReadWriterPlugin/BMPReadWriterPlugin.a
>>>>> CroquetPlugin/CroquetPlugin.a HostWindowPlugin/HostWindowPlugin.a
>>>>> ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a DSAPrims/DSAPrims.a
>>>>> FFTPlugin/FFTPlugin.a FileCopyPlugin/FileCopyPlugin.a
>>>>> FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a
>>>>> FloatMathPlugin/FloatMathPlugin.a IA32ABI/IA32ABI.a
>>>>> JoystickTabletPlugin/JoystickTabletPlugin.a
>>>>> JPEGReaderPlugin/JPEGReaderPlugin.a
>>>>> JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a Klatt/Klatt.a
>>>>> LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a
>>>>> MIDIPlugin/MIDIPlugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a
>>>>> Mpeg3Plugin/Mpeg3Plugin.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
>>>>> VMProfileLinuxSupportPlugin/VMProfileLinuxSupportPlugin.a
>>>>> disabledPlugins.o version.o -luuid -ldl -lutil -lpulse-simple -lasound
>>>>> -ldl  -lm   vm/vm.a
>>>>> libtool: link: clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -DCOGMTVM=0
>>>>> -Wall -pthread -DLSB_FIRST=1 -m64 -Wl,-z -Wl,now -o squeak
>>>>> disabledPlugins.o version.o -Wl,--export-dynamic -L/usr/local/lib
>>>>> vm/vm.a ADPCMCodecPlugin/ADPCMCodecPlugin.a AioPlugin/AioPlugin.a
>>>>> AsynchFilePlugin/AsynchFilePlugin.a B2DPlugin/B2DPlugin.a
>>>>> BitBltPlugin/BitBltPlugin.a BMPReadWriterPlugin/BMPReadWriterPlugin.a
>>>>> CroquetPlugin/CroquetPlugin.a HostWindowPlugin/HostWindowPlugin.a
>>>>> ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a DSAPrims/DSAPrims.a
>>>>> FFTPlugin/FFTPlugin.a FileCopyPlugin/FileCopyPlugin.a
>>>>> FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a
>>>>> FloatMathPlugin/FloatMathPlugin.a IA32ABI/IA32ABI.a
>>>>> JoystickTabletPlugin/JoystickTabletPlugin.a
>>>>> JPEGReaderPlugin/JPEGReaderPlugin.a
>>>>> JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a Klatt/Klatt.a
>>>>> LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a
>>>>> MIDIPlugin/MIDIPlugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a
>>>>> Mpeg3Plugin/Mpeg3Plugin.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
>>>>> VMProfileLinuxSupportPlugin/VMProfileLinuxSupportPlugin.a -luuid -ldl
>>>>> -lutil -lpulse-simple -lasound -ldl -lm vm/vm.a -pthread
>>>>> vm/vm.a(gcc3x-cointerp.o): In function `interpret':
>>>>> /home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:6036:
>>>>> undefined reference to `sendBreakpointclassTag'
>>>>> vm/vm.a(gcc3x-cointerp.o): In function `ceSendAborttonumArgs':
>>>>> /home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:14820:
>>>>> undefined reference to `sendBreakpointclassTag'
>>>>> /home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:14820:
>>>>> undefined reference to `sendBreakpointclassTag'
>>>>> vm/vm.a(gcc3x-cointerp.o): In function `lookupMethodInClass':
>>>>> /home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:66867:
>>>>> undefined reference to `sendBreakpointclassTag'
>>>>> /home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:66752:
>>>>> undefined reference to `sendBreakpointclassTag'
>>>>> vm/vm.a(gcc3x-cointerp.o):/home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:14326:
>>>>> more undefined references to `sendBreakpointclassTag' follow
>>>>> clang: error: linker command failed with exit code 1 (use -v to see
>>>>> invocation)
>>>>> Makefile:176: recipe for target 'squeak' failed
>>>>> make: *** [squeak] Error 1
>>>>
>>>> Something's fishy.
>>>> I don't see any reference to 'sendBreakpointclassTag' in that file on my end.
>>>> Given, there's some translation/macro magic, but not to much to miss that.
>>>>
>>>> Can you give a `git diff` ?
>>>> Best regards
>>>>	-Tobias
>>>>
>>>>> On 3/2/20 4:03 PM, Robert wrote:
>>>>>
>>>>>> Hey Levente, I managed to install the clang package and the files
>>>>>> started compiling. I ran into errors during the make phase. Here is
>>>>>> the config.log
>>>>>> (
>>>>>> https://www.dropbox.com/s/umi256f2g8dsdkj/config.log?dl=0
>>>>>> ) and my
>>>>>> make.log (
>>>>>> https://www.dropbox.com/s/txf7xlgijonk8c7/make.log?dl=0
>>>>>> ).
>>>>>>
>>>>>> tyk, r
>>>>>>
>>>>>> On 3/2/20 3:29 PM, Levente Uzonyi wrote:
>>>>>>
>>>>>>> On Mon, 2 Mar 2020, Robert wrote:
>>>>>>>
>>>>>>> C compiler doesnt work. Some package must be missing.
>>>>>>>
>>>>>>> What's in config.log?
>>>>>>>
>>>>>>> Levente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200303/ca36b26d/attachment-0001.html>


More information about the Vm-dev mailing list