hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8489) fix 32-bit native build on 64-bit x86
Date Thu, 07 Jun 2012 18:20:23 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291178#comment-13291178
] 

Colin Patrick McCabe commented on HADOOP-8489:
----------------------------------------------

Yeah, you're right.

It seems that CMake gets CMAKE_SYSTEM_PROCESSOR from the output of "uname -p", and on some
older versions of Linux this could return "amd64."

As for passing -m32 to the linker... there are some online sources that recommend doing this
for a 32-bit-build-on-64.  The GNU ld documents themselves seem silent on -m32 itself, although
they do talk about some other options to -m.  So it's probably best to leave this for now,
until we can determine that it's not needed...
                
> fix 32-bit native build on 64-bit x86
> -------------------------------------
>
>                 Key: HADOOP-8489
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8489
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HADOOP-8489.001.patch
>
>
> Fix building 32-bit native binaries on a 64-bit x86 machine.

--
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

        

Mime
View raw message