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 "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/06/07 05:49:24 UTC

[jira] [Created] (HADOOP-8489) fix 32-bit native build on 64-bit x86

Colin Patrick McCabe created HADOOP-8489:
--------------------------------------------

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


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

        

[jira] [Updated] (HADOOP-8489) fix 32-bit native build on 64-bit x86

Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe updated HADOOP-8489:
-----------------------------------------

    Attachment: HADOOP-8489.001.patch

let's try this on jenkins.
                
> 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

        

[jira] [Commented] (HADOOP-8489) fix 32-bit native build on 64-bit x86

Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (HADOOP-8489) fix 32-bit native build on 64-bit x86

Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291047#comment-13291047 ] 

Daryn Sharp commented on HADOOP-8489:
-------------------------------------

I think you also may want to convert amd64 to i686.  Just as a comment: although not changed in this jira (it's in the patch context), I don't think -m32 is really applicable to the linker flags but it doesn't hurt anything.
                
> 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

        

[jira] [Updated] (HADOOP-8489) fix 32-bit native build on 64-bit x86

Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe updated HADOOP-8489:
-----------------------------------------

    Status: Open  (was: Patch Available)
    
> 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

        

[jira] [Updated] (HADOOP-8489) fix 32-bit native build on 64-bit x86

Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe updated HADOOP-8489:
-----------------------------------------

    Status: Patch Available  (was: Open)
    
> 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

        

[jira] [Resolved] (HADOOP-8489) fix 32-bit native build on 64-bit x86

Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe resolved HADOOP-8489.
------------------------------------------

    Resolution: Fixed

This was fixed as part of HADOOP-8368
                
> 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