You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2012/09/04 19:22:07 UTC

[jira] [Updated] (MESOS-267) Build issue on 32-bit ubuntu

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

Benjamin Mahler updated MESOS-267:
----------------------------------

    Comment: was deleted

(was: Jie, why does moving the Python.h file to the top trigger the -D_FILE_OFFSET_BITS==64 issue with fts.h?

I'd like to have it at the top to fix redefinition warnings but it causes the file offset warning.)
    
> Build issue on 32-bit ubuntu
> ----------------------------
>
>                 Key: MESOS-267
>                 URL: https://issues.apache.org/jira/browse/MESOS-267
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>
> On 32-bit unbuntu, we need to configure with CXXFLAGS="-march=i686" in order for the build to get past an undefined reference of __sync_fetch_and_add_8.
> Also, need to fix this issue:
> In file included from ../../third_party/libprocess/include/stout/os.hpp:7,
>                  from ../../src/webui/webui.cpp:15:
> /usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
> (These is unrelated to the fact that we turned on -Wall -Werror)
> We should change configure.ac do this automatically.
> Configuration below:
> gcc 4.4.3
> automake 1.10.2
> autoreconf 2.65
> libtool 2.2.6b
> jdk 1.6.0_24
> python 2.6.5

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