Doubly Weird

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Doubly Weird

ken.dickey
 


Did you build your VM with gcc 4 or something newer?
Float >> #hex relies on primitive 38, which has issues with newer gcc 
versions with optimization enabled.

Levente

 

gcc version 7.3.0 is with -O2 flag (see below)

============

gcc -g -O2 -fwrapv -DNDEBUG -DDEBUGVM=0 -D__ARM_ARCH_ISA_A64 -DARM64 -D__arm__ -D__arm64__ -D__aarch64__ -Wall -pthread -DLSB_FIRST=1 -march=armv8-a -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I/home/kendi3he/OpenSmalltalk/oscogvm/build.linux64ARMv8/squeak.stack.spur/build -I/home/kendi3he/OpenSmalltalk/oscogvm/build.linux64ARMv8/squeak.stack.spur/build -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/unix/vm -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/Cross/vm -I/home/kendi3he/OpenSmalltalk/oscogvm/spurstack64src/vm -I/usr/local/include -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/Cross/vm -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/unix/vm -I/home/kendi3he/OpenSmalltalk/oscogvm/spurstack64src/vm -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/Cross/plugins/FilePlugin -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/unix/plugins/B3DAcceleratorPlugin -I/home/kendi3he/OpenSmalltalk/oscogvm/build.linux64ARMv8/squeak.stack.spur/build -I/home/kendi3he/OpenSmalltalk/oscogvm/build.linux64ARMv8/squeak.stack.spur/build -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/unix/vm -I/home/kendi3he/OpenSmalltalk/oscogvm/platforms/Cross/vm -I/home/kendi3he/OpenSmalltalk/oscogvm/spurstack64src/vm -I/usr/local/include -march=armv8-a -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable   -c -o gcc3x-interp.o /home/kendi3he/OpenSmalltalk/oscogvm/spurstack64src/vm/gcc3x-interp.c