Reading README reveals that there is obviously not build.linux64ppc64le directory with the required infrastructure. But most close is probably build.linux64x64 so I give a try to it to find out how far I can get. The first issue is that the project config.guess file is out-dated. Note, I'm using squeak.stack.spur as I've thought this is stack based VM without any JIT. Anyway, the output is here:

karel@power:~/vcs/OpenSmalltalk/opensmalltalk-vm/build.linux64x64/squeak.stack.spur/build$ ./mvm 
clean? yes
/home/karel/vcs/OpenSmalltalk/opensmalltalk-vm/spurstack64src
/home/karel/vcs/OpenSmalltalk/opensmalltalk-vm/src/plugins
checking sanity of generated src directory... okay
checking build system type... ../../../platforms/unix/config/config.guess: unable to guess system type

This script, last modified 2018-12-11, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (../../../platforms/unix/config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2018-12-11

uname -m = ppc64le
uname -r = 4.15.0-96-generic
uname -s = Linux
uname -v = #97-Ubuntu SMP Wed Apr 1 03:02:23 UTC 2020

/usr/bin/uname -p = 
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = 
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = ppc64le
UNAME_RELEASE = 4.15.0-96-generic
UNAME_SYSTEM  = Linux
UNAME_VERSION = #97-Ubuntu SMP Wed Apr 1 03:02:23 UTC 2020
configure: error: cannot guess build type; you must specify one
karel@power:~/vcs/OpenSmalltalk/opensmalltalk-vm/build.linux64x64/squeak.stack.spur/build$ 

when I updated this file to recognize my platform, I've got this:

karel@power:~/vcs/OpenSmalltalk/opensmalltalk-vm/build.linux64x64/squeak.stack.spur/build$ ./mvm 
clean? y
/home/karel/vcs/OpenSmalltalk/opensmalltalk-vm/spurstack64src
/home/karel/vcs/OpenSmalltalk/opensmalltalk-vm/src/plugins
checking sanity of generated src directory... okay
checking build system type... powerpc64le-unknown-linux-gnu
checking host system type... powerpc64le-unknown-linux-gnu
checking target system type... powerpc64le-unknown-linux-gnu

Configuring Squeak  (.-) for powerpc64le-linux-gnu

checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/home/karel/vcs/OpenSmalltalk/opensmalltalk-vm/build.linux64x64/squeak.stack.spur/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
karel@power:~/vcs/OpenSmalltalk/opensmalltalk-vm/build.linux64x64/squeak.stack.spur/build$

which 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:

...
checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm
error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
checking for ln... ln
...

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);
                                ^
/home/karel/vcs/OpenSmalltalk/opensmalltalk-vm/platforms/unix/vm/sqPlatformSpecific.h:110:49: note: expanded from macro 'VM_LABEL'
#       define VM_LABEL(foo) asm("\n.globl L" #foo "\nL" #foo ":")
                                                      ^
<inline asm>:3:1: note: instantiated into assembly here
LpushLiteralConstantBytecode2:
^

Anyway, I hope I've followed the right project and the right README here just to point few issues you probably already know about w.r.t. PPC64le platform support. Thanks!


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.