Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236422

Building neo4j 3.5.4 using maven 3.6.1 fails with SIGILL on AArch64

XMLWordPrintable

    • aarch64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      $ uname -a
      Linux ubuntu 4.4.16 #1 SMP Thu May 23 16:40:42 BST 2019 aarch64 aarch64 aarch64 GNU/Linux

      $ more /etc/lsb-release
      DISTRIB_ID=Ubuntu
      DISTRIB_RELEASE=16.04
      DISTRIB_CODENAME=xenial
      DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

      $ java -version
      openjdk version "1.8.0_222"
      OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~16.04.1-b10)
      OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)



      A DESCRIPTION OF THE PROBLEM :
      Building neo4j 3.5.4 using maven 3.6.1 fails with SIGILL on ARM big.LITTLE featuring 4 Cortex-A53 and 4 Cortex-A57 AArch64 cores

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      [ERROR] # A fatal error has been detected by the Java Runtime Environment:
      [INFO] #
      [INFO] # SIGILL (0x4) at pc=0x0000ffff905fcfd0, pid=27583, tid=0x0000ffff9cc0b200
      [INFO] #
      [INFO] # JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-8u222-b10-1ubuntu1~16.04.1-b10)
      [INFO] # Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode linux-aarch64 compressed oops)
      [INFO] # Problematic frame:
      [INFO] # J 8474 C2 scala.reflect.internal.Scopes$Scope.enterAllInHash(Lscala/reflect/internal/Scopes$ScopeEntry;I)V (107 bytes) @ 0x0000ffff905fcfd0 [0x0000ffff905fcfc0+0x10]
      [INFO] #
      [INFO] # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      [INFO] #
      [ERROR] # An error report file with more information is saved as:
      [INFO] # /home/kaleao/neo4j/hs_err_pid27583.log
      [INFO] #
      [INFO] # If you would like to submit a bug report, please visit:
      [INFO] # http://bugreport.java.com/bugreport/crash.jsp
      [INFO] #


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Get maven:
      wget http://apache.otenet.gr/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
      tar xf apache-maven-3.6.1-bin.tar.gz

      Get neo4j 3.5.4 from github:
      git clone --branch 3.5.4 --depth 1 https://github.com/neo4j/neo4j.git
      cd neo4j

      Build using:
      ../apache-maven-3.6.1/bin/mvn clean install -DskipTests -Dlicensing.skip=true -Dlicense.skip=true -Drevapi.skip=true -Denforcer.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -T2C


      ACTUAL -
      Build fails

      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: