[Bug 1920913] Re: Openjdk11+ fails to install on s390x

2021-05-04 Thread Namrata Bhave
Some more analysis: Tried to explicitely compile as well as exclude few methods during compilation such as 'java.lang.StringLatin1::hashCode', 'java.util.concurrent.ConcurrentHashMap', 'java.lang.String*' which are part of trace as logged in above comments, with the help of advanced JIT options

[Bug 1920913] Re: Openjdk11+ fails to install on s390x

2021-04-14 Thread Namrata Bhave
As java -version passes few times, further also checked behaviour of Maven. Observed that mvn -v crashes in a similar fashion, however after setting below: export MAVEN_OPTS="-XX:-TieredCompilation -XX:+UseG1GC -Dcount=100" mvn -v always passes. root@XX:/# mvn -v OpenJDK 64-Bit Server VM war

[Bug 1920913] Re: Openjdk11+ fails to install on s390x

2021-04-08 Thread Namrata Bhave
@davidhildenbrand The other issue which you have mentioned as duplicate shows java getting stuck for long, whereas for me it crashes right away. Do you think these 2 are related? Also observed another behaviour : java -version randomly passes, sometimes. I can also confirm that it is observed und

[Bug 1920913] Re: Openjdk11+ fails to install on s390x

2021-03-30 Thread Namrata Bhave
Tried building jdk 11 from source, the generated executable still crashes(fastdebug as well as release mode): ``` root@24d396a17e00:~/jdk# build/linux-s390x-normal-server-release/jdk/bin/java -version # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x0

[Bug 1920913] Re: Openjdk11+ fails to install on s390x

2021-03-23 Thread Namrata Bhave
Please find below steps to reproduce the issue(Running on amd64 VM): ``` apt-get install -y qemu qemu-user-static docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker run -it s390x/ubuntu:20.04 bash --> apt-get update && apt-get install -y openjdk-11-jdk jar --version

[Bug 1920913] [NEW] Openjdk11+ fails to install on s390x

2021-03-23 Thread Namrata Bhave
Public bug reported: While installing openjdk11 or higher from repo, it crashes while configuring ca-certificates-java. Although `java -version` passes, `jar -version` crashes. Detailed logs attached to this issue. ``` # A fatal error has been detected by the Java Runtime Environment: # # SIGI