[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] POWER (ppc64le) port. (#493)
K K Subbu
kksubbu.ml at gmail.com
Wed Apr 29 06:59:33 UTC 2020
On 29/04/20 2:14 am, kgardas wrote:
> hich looks like is caused by missing clang on my box, I've installed
> Ubuntu 18.04 LTS clang (6.0 version) and run again. Configure part
> complains with one error:
Perhaps you could try with gcc to check if it is the compiler choice
that is triggering errors. See below
> and compilation part fails with a lot of errors about VM_LABEL missing:
>
> |/home/karel/vcs/OpenSmalltalk/opensmalltalk-vm/spurstack64src/vm/gcc3x-interp.c:3054:5:
> error: invalid symbol redefinition VM_LABEL(pushLiteralConstantBytecode2);|
VM_LABEL macro definition in picked up from the file:
----- platforms/unix/vm/sqPlatformSpecific.h
108 #if defined(__GNUC__)
109 # if !defined(VM_LABEL)
110 # define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":")
111 # endif
-----
How did the __GNUC__ get defined in your compilation?
You could try passing -D'VM_LABEL(foo)=0' while compiling to work around
this problem temporarily.
Regards .. Subbu
More information about the Vm-dev
mailing list