eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 722 forks source link

Linux s390x build failure #5114

Closed ben-walsh closed 5 years ago

ben-walsh commented 5 years ago
Generating DDR structure stubs
superset directory name : /data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/build/linux-s390x-server-release/vm/
superset file name : superset.dat
superset directory name : /data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/build/linux-s390x-server-release/vm/
superset file name : superset.dat
Writing generated classes to /data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/openj9/debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/structure
Writing generated classes to /data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/openj9/debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/pointer/generated
Unhandled structure type: _IO_FILEPointer->_lock _IO_lock_t*
Processing complete
Unhandled structure type: z_stream_sPointer->next_in Byte*
Unhandled structure type: z_stream_sPointer->next_out Byte*
Processing complete

ERROR: Build failed for targets 'product-images legacy-jre-image test-image' in configuration 'linux-s390x-server-release' (exit code 2) 
Stopping sjavac server

=== Output from failing command(s) repeated here ===
* For target support_native_java.base_libjimage_NativeImageBuffer.o:
g++: error: unrecognized command line option '-fno-lifetime-dse'
* For target support_native_java.base_libjimage_imageDecompressor.o:
g++: error: unrecognized command line option '-fno-lifetime-dse'

* All command lines available in /data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/build/linux-s390x-server-release/make-support/failure-logs.
=== End of repeated output ===

=== Make failed targets repeated here ===
CoreLibraries.gmk:164: recipe for target '/data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/build/linux-s390x-server-release/support/native/java.base/libjimage/endian.o' failed
CoreLibraries.gmk:164: recipe for target '/data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/build/linux-s390x-server-release/support/native/java.base/libjimage/imageDecompressor.o' failed
CoreLibraries.gmk:164: recipe for target '/data/jenkins/workspace/build-scripts/jobs/jdk12u/jdk12u-linux-s390x-openj9/workspace/build/src/build/linux-s390x-server-release/support/native/java.base/libjimage/NativeImageBuffer.o' failed
make/Main.gmk:215: recipe for target 'java.base-libs' failed
=== End of repeated output ===

From https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk12u/job/jdk12u-linux-s390x-openj9/21

Previous build had no such problem (https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk12u/job/jdk12u-linux-s390x-openj9/20) and I'm not aware of any configuration change to the build machine, so assuming this is a result of a component code change.

ben-walsh commented 5 years ago

Seems there have been changes to the machine configuration. Closing until these are shown not to have contributed.

pshipton commented 5 years ago

Maybe wrong gcc version