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/08/31 20:33:08 UTC
[jira] [Created] (MESOS-267) Build issue on 32-bit ubuntu
Benjamin Mahler created MESOS-267:
-------------------------------------
Summary: 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.
(This 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
[jira] [Updated] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Mahler updated MESOS-267:
----------------------------------
Description:
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
was:
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.
(This 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
> 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
[jira] [Updated] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
[ 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: For the #error from <fts.h>, I have a comment in the code.)
> 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.
> 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
[jira] [Updated] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Mahler updated MESOS-267:
----------------------------------
Component/s: build
> Build issue on 32-bit ubuntu
> ----------------------------
>
> Key: MESOS-267
> URL: https://issues.apache.org/jira/browse/MESOS-267
> Project: Mesos
> Issue Type: Bug
> Components: build
> 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.
> 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
[jira] [Commented] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Jie Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446252#comment-13446252 ]
Jie Yu commented on MESOS-267:
------------------------------
For the #error from <fts.h>, I have a comment in the code.
> 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
[jira] [Commented] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446278#comment-13446278 ]
Benjamin Mahler commented on MESOS-267:
---------------------------------------
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
[jira] [Updated] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Mahler updated MESOS-267:
----------------------------------
Description:
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.
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
was:
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
> 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.
> 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
[jira] [Updated] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (MESOS-267) Build issue on 32-bit ubuntu
Posted by "Jie Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446224#comment-13446224 ]
Jie Yu commented on MESOS-267:
------------------------------
good catch. I think __sync_fetch_and_add_8 (8 byte atomic add) does not exist on earlier x86 machines.
> 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.
> (This 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