You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Trevor Robinson (JIRA)" <ji...@apache.org> on 2012/06/28 04:02:44 UTC
[jira] [Updated] (HADOOP-8538) CMake builds fail on ARM
[ https://issues.apache.org/jira/browse/HADOOP-8538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Robinson updated HADOOP-8538:
------------------------------------
Attachment: hadoop-cmake.patch
Patch CMake files to add -m32 compile/link flag only when using GCC on 64-bit platforms. Verified that native libraries build correctly on amd64 with 32-bit and 64-bit JVM and on ARM.
> CMake builds fail on ARM
> ------------------------
>
> Key: HADOOP-8538
> URL: https://issues.apache.org/jira/browse/HADOOP-8538
> Project: Hadoop Common
> Issue Type: Bug
> Components: native
> Environment: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
> Reporter: Trevor Robinson
> Attachments: hadoop-cmake.patch
>
>
> CMake native builds fail with this error:
> cc1: error: unrecognized command line option '-m32'
> -m32 is only defined by GCC for x86, PowerPC, and SPARC.
> The following files specify -m32 when the JVM data model is 32-bit:
> hadoop-common-project/hadoop-common/src/CMakeLists.txt
> hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt
> hadoop-tools/hadoop-pipes/src/CMakeLists.txt
> hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/CMakeLists.txt
> This is a partial regression of HDFS-1920.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira