Trying to build comptest on zlinux_s390xgenerates the following error -
[ 92%] Built target jitbuilder
[ 96%] Built target tril
[ 96%] Built target omrGtest
Linking CXX executable comptest
../../jitbuilder/libjitbuilder.a(OMRInstruction.cpp.o): In function `OMR::Z::Instruction::Instruction(TR::CodeGenerator*, OMR::InstOpCode::Mnemonic, TR::Node*)':
OMRInstruction.cpp:(.text+0x316): undefined reference to `OMR::InstOpCode::getMnemonicName(OMR::InstOpCode::Mnemonic)'
../../jitbuilder/libjitbuilder.a(OMRInstruction.cpp.o): In function `OMR::Z::Instruction::Instruction(TR::CodeGenerator*, TR::Instruction*, OMR::InstOpCode::Mnemonic, TR::Node*)':
OMRInstruction.cpp:(.text+0x51a): undefined reference to `OMR::InstOpCode::getMnemonicName(OMR::InstOpCode::Mnemonic)'
collect2: ld returned 1 exit status
make[3]: *** [fvtest/compilertriltest/comptest] Error 1
make[2]: *** [fvtest/compilertriltest/CMakeFiles/comptest.dir/all] Error 2
make[1]: *** [fvtest/compilertriltest/CMakeFiles/comptest.dir/rule] Error 2
make: *** [comptest] Error 2
Machine specifications:
Architecture: s390x
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Big Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s) per book: 1
Book(s): 8
Vendor ID: IBM/S390
BogoMIPS: 21881.00
Hypervisor: z/VM 6.4.0
Hypervisor vendor: IBM
Virtualization type: full
Dispatching mode: horizontal
Building on gcc 4.4.6.
Potentially related to this: https://github.com/eclipse/omr/pull/2012
Tagging the participants from https://github.com/eclipse/omr/pull/2012:
@sehirst @fjeremic @charliegracie
@fjeremic
Looks like it's due to this minumum ALS commit: https://github.com/eclipse/omr/pull/2114
There are a couple of Asserts added inside OMRInstruction.cpp that call OMR::InstOpCode::getMnemonicName(OMR::InstOpCode::Mnemonic)
This is not defined in the z codegen (yet), as we learned from https://github.com/eclipse/omr/pull/2012
Most helpful comment
@fjeremic
Looks like it's due to this minumum ALS commit: https://github.com/eclipse/omr/pull/2114
There are a couple of Asserts added inside OMRInstruction.cpp that call
OMR::InstOpCode::getMnemonicName(OMR::InstOpCode::Mnemonic)This is not defined in the z codegen (yet), as we learned from https://github.com/eclipse/omr/pull/2012