Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: ppc64le support #193

Open
rjzak opened this issue Dec 17, 2022 · 0 comments
Open

Request: ppc64le support #193

rjzak opened this issue Dec 17, 2022 · 0 comments

Comments

@rjzak
Copy link

rjzak commented Dec 17, 2022

I'd like to use the Jetbrains Runtime on my Talos II workstation, which is Linux ppc64le.

Previously, release JetBrainsRuntime-jbr-release-17.0.4.1b597.1 was able to compile for ppc64le. The latest release and the latest on the jbr17 , jbr-release-17.0.5b653.23, and main branch fail to compile.

./configure summary

The existing configuration has been successfully updated in
/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release
using default settings.

Configuration summary:
* Name:           linux-ppc64le-server-release
* Debug level:    release
* HS debug level: product
* JVM variants:   server
* JVM features:   server: 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs zgc' 
* OpenJDK target: OS: linux, CPU architecture: ppc, address length: 64
* Version string: 17.0.5-internal+0-adhoc.rjzak.JetBrainsRuntime (17.0.5-internal)

Tools summary:
* Boot JDK:       openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment (build 17.0.5+7-void-r1) OpenJDK 64-Bit Server VM (build 17.0.5+7-void-r1, mixed mode, sharing) (at /usr/lib/jvm/openjdk17)
* Toolchain:      gcc (GNU Compiler Collection)
* C Compiler:     Version 12.2.0 (at /usr/local/bin/gcc)
* C++ Compiler:   Version 12.2.0 (at /usr/local/bin/g++)

Build performance summary:
* Cores to use:   62
* Memory limit:   63991 MB

WARNING: The result of this configuration has overridden an older
configuration. You *should* run 'make clean' to make sure you get a
proper build. Failure to do so might result in strange build problems.

hotspot_variant-server_libjvm_objs_macroAssembler_ppc.o.cmdlind

/usr/local/bin/g++ -MMD -MF /home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/libjvm/objs/macroAssembler_ppc.d.tmp -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/libjvm/objs/precompiled -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D_REENTRANT -pipe -fno-rtti -fno-exceptions -fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer -fcheck-new -fstack-protector -std=c++14 -DLIBC=gnu -DLINUX -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines -Woverloaded-virtual -Wreorder -fPIC -fmacro-prefix-map=/home/rjzak/bin/JetBrainsRuntime/= -DVM_LITTLE_ENDIAN -D_LP64=1 -minsert-sched-nops=regroup_exact -mno-multiple -mno-string -DABI_ELFv2 -mcpu=power8 -mtune=power8 -fno-delete-null-pointer-checks -fno-lifetime-dse -Wno-format-zero-length -Wtype-limits -Wuninitialized -m64 -DPRODUCT -DTARGET_ARCH_ppc -DINCLUDE_SUFFIX_OS=_linux -DINCLUDE_SUFFIX_CPU=_ppc -DINCLUDE_SUFFIX_COMPILER=_gcc -DTARGET_COMPILER_gcc -DPPC64 -DHOTSPOT_LIB_ARCH='"ppc64le"' -DCOMPILER1 -DCOMPILER2 -DINCLUDE_JVMCI=0 -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc/adfiles -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/linux -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/posix -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os_cpu/linux_ppc -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/precompiled -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/include -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/posix/include -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/support/modules_include/java.base -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/support/modules_include/java.base/linux -I/home/rjzak/bin/JetBrainsRuntime/src/java.base/share/native/libjimage -m64 -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc/adfiles -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/linux -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/posix -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os_cpu/linux_ppc -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc -g -fdebug-prefix-map=/home/rjzak/bin/JetBrainsRuntime/= -Wno-unused-parameter -Wno-unused -Wno-parentheses -Wno-comment -Wno-unknown-pragmas -Wno-address -Wno-delete-non-virtual-dtor -Wno-char-subscripts -Wno-array-bounds -Wno-int-in-bool-context -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-empty-body -Wno-strict-overflow -Wno-sequence-point -Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-cast-function-type -Wno-shift-negative-value -Werror -O3 -c -o /home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/libjvm/objs/macroAssembler_ppc.o /home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc.cpp

hotspot_variant-server_libjvm_objs_macroAssembler_ppc.o.log

In file included from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/assembler.inline.hpp:30,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp:29,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/macroAssembler.inline.hpp:30,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc.cpp:27:
In member function 'void Assembler::mtvrwz(VectorRegister, Register)',
    inlined from 'void MacroAssembler::kernel_crc32_vpmsum_aligned(Register, Register, Register, Register, Register, Register, Register, Register, Register, Register, Register)' at /home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc.cpp:3755:9:
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/assembler_ppc.inline.hpp:857:113: error: 'this' pointer is null [-Werror=nonnull]
  857 | inline void Assembler::mtvrwz(  VectorRegister  d, Register a)               { emit_int32( MTVSRWZ_OPCODE | vsrt(d->to_vsr()) | ra(a)); }
      |                                                                                                             ~~~~^~~~~~~~~~~~~
In file included from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/register.hpp:98,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/assembler.hpp:29,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/macroAssembler.hpp:28,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/macroAssembler.inline.hpp:28:
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/register_ppc.hpp: In member function 'void MacroAssembler::kernel_crc32_vpmsum_aligned(Register, Register, Register, Register, Register, Register, Register, Register, Register, Register, Register)':
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/register_ppc.hpp:431:19: note: in a call to non-static member function 'VectorSRegisterImpl* VectorRegisterImpl::to_vsr() const'
  431 |   VectorSRegister to_vsr() const;
      |                   ^~~~~~
In member function 'void Assembler::mfvrd(Register, VectorRegister)',
    inlined from 'void MacroAssembler::kernel_crc32_vpmsum_aligned(Register, Register, Register, Register, Register, Register, Register, Register, Register, Register, Register)' at /home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc.cpp:3950:8:
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/assembler_ppc.inline.hpp:856:113: error: 'this' pointer is null [-Werror=nonnull]
  856 | inline void Assembler::mfvrd(   Register        a, VectorRegister d)         { emit_int32( MFVSRD_OPCODE  | vsrt(d->to_vsr()) | ra(a)); }
      |                                                                                                             ~~~~^~~~~~~~~~~~~
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/register_ppc.hpp: In member function 'void MacroAssembler::kernel_crc32_vpmsum_aligned(Register, Register, Register, Register, Register, Register, Register, Register, Register, Register, Register)':
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/register_ppc.hpp:431:19: note: in a call to non-static member function 'VectorSRegisterImpl* VectorRegisterImpl::to_vsr() const'
  431 |   VectorSRegister to_vsr() const;
      |                   ^~~~~~
cc1plus: all warnings being treated as errors

hotspot_variant-server_libjvm_objs_macroAssembler_ppc_sha.o.cmdline

/usr/local/bin/g++ -MMD -MF /home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/libjvm/objs/macroAssembler_ppc_sha.d.tmp -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/libjvm/objs/precompiled -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D_REENTRANT -pipe -fno-rtti -fno-exceptions -fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer -fcheck-new -fstack-protector -std=c++14 -DLIBC=gnu -DLINUX -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines -Woverloaded-virtual -Wreorder -fPIC -fmacro-prefix-map=/home/rjzak/bin/JetBrainsRuntime/= -DVM_LITTLE_ENDIAN -D_LP64=1 -minsert-sched-nops=regroup_exact -mno-multiple -mno-string -DABI_ELFv2 -mcpu=power8 -mtune=power8 -fno-delete-null-pointer-checks -fno-lifetime-dse -Wno-format-zero-length -Wtype-limits -Wuninitialized -m64 -DPRODUCT -DTARGET_ARCH_ppc -DINCLUDE_SUFFIX_OS=_linux -DINCLUDE_SUFFIX_CPU=_ppc -DINCLUDE_SUFFIX_COMPILER=_gcc -DTARGET_COMPILER_gcc -DPPC64 -DHOTSPOT_LIB_ARCH='"ppc64le"' -DCOMPILER1 -DCOMPILER2 -DINCLUDE_JVMCI=0 -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc/adfiles -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/linux -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/posix -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os_cpu/linux_ppc -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/precompiled -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/include -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/posix/include -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/support/modules_include/java.base -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/support/modules_include/java.base/linux -I/home/rjzak/bin/JetBrainsRuntime/src/java.base/share/native/libjimage -m64 -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc/adfiles -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/share -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/linux -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os/posix -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc -I/home/rjzak/bin/JetBrainsRuntime/src/hotspot/os_cpu/linux_ppc -I/home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/gensrc -g -fdebug-prefix-map=/home/rjzak/bin/JetBrainsRuntime/= -Wno-unused-parameter -Wno-unused -Wno-parentheses -Wno-comment -Wno-unknown-pragmas -Wno-address -Wno-delete-non-virtual-dtor -Wno-char-subscripts -Wno-array-bounds -Wno-int-in-bool-context -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-empty-body -Wno-strict-overflow -Wno-sequence-point -Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-cast-function-type -Wno-shift-negative-value -Werror -O3 -c -o /home/rjzak/bin/JetBrainsRuntime/build/linux-ppc64le-server-release/hotspot/variant-server/libjvm/objs/macroAssembler_ppc_sha.o /home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc_sha.cpp

hotspot_variant-server_libjvm_objs_macroAssembler_ppc_sha.o.log

/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc_sha.cpp: In member function 'void MacroAssembler::sha256_update_sha_state(VectorRegister, VectorRegister, VectorRegister, VectorRegister, VectorRegister, VectorRegister, VectorRegister, VectorRegister, Register)':
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc_sha.cpp:345:11: error: 'this' pointer is null [-Werror=nonnull]
  345 |   xxswapd (vt0->to_vsr(), a->to_vsr());
      |   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/register.hpp:98,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/assembler.hpp:29,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/macroAssembler.hpp:28,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/share/asm/macroAssembler.inline.hpp:28,
                 from /home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc_sha.cpp:25:
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/register_ppc.hpp:431:19: note: in a call to non-static member function 'VectorSRegisterImpl* VectorRegisterImpl::to_vsr() const'
  431 |   VectorSRegister to_vsr() const;
      |                   ^~~~~~
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/macroAssembler_ppc_sha.cpp:346:11: error: 'this' pointer is null [-Werror=nonnull]
  346 |   stxvd2x (vt0->to_vsr(), hptr);
      |   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/rjzak/bin/JetBrainsRuntime/src/hotspot/cpu/ppc/register_ppc.hpp:431:19: note: in a call to non-static member function 'VectorSRegisterImpl* VectorRegisterImpl::to_vsr() const'
  431 |   VectorSRegister to_vsr() const;
      |                   ^~~~~~
cc1plus: all warnings being treated as errors

OS: Void Linux PPC (GNU)
CPU: Power9
Kernel: 6.0.13
Java: OpenJDK 17.0.5+7-void-r1
GCC: 12.2.0 (from source)

I do use CLion, PyCharm, and GoLand on this machine, which I realise may be unusual :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant