[ 
https://issues.apache.org/jira/browse/HADOOP-9320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trevor Robinson updated HADOOP-9320:
------------------------------------

    Attachment: HADOOP-9320.patch

Attached a patch that moves the ARM JVM float ABI detection down below the 
search for JAVA_JVM_LIBRARY. It also improves the diagnostics a bit by 
reporting which library it's examining and positively confirms if it finds a 
hard-float JVM.
                
> Hadoop native build failure on ARM hard-float
> ---------------------------------------------
>
>                 Key: HADOOP-9320
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9320
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.0.3-alpha
>         Environment: $ uname -a
> Linux 3.5.0-1000-highbank #154-Ubuntu SMP Thu Jan 10 09:13:40 UTC 2013 armv7l 
> armv7l armv7l GNU/Linux
> $ java -version
> java version "1.8.0-ea"
> Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)
> Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-9320.patch
>
>
> ARM JVM float ABI detection is failing in JNIFlags.cmake because 
> JAVA_JVM_LIBRARY is not set at that point. The failure currently causes CMake 
> to assume a soft-float JVM. This causes the build to fail with hard-float 
> OpenJDK (but don't use that) and [Oracle Java 8 Preview for 
> ARM|http://jdk8.java.net/fxarmpreview/]. Hopefully the April update of Oracle 
> Java 7 will support hard-float as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to