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

[jira] [Created] (MESOS-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

John Sirois created MESOS-271:
---------------------------------

             Summary: Get mesos compiling on gcc-4.7 to open up path forward to c++11
                 Key: MESOS-271
                 URL: https://issues.apache.org/jira/browse/MESOS-271
             Project: Mesos
          Issue Type: Bug
            Reporter: John Sirois
            Assignee: John Sirois
            Priority: Minor


Get existing code compiling

--
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-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

Posted by "John Sirois (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452257#comment-13452257 ] 

John Sirois commented on MESOS-271:
-----------------------------------

https://reviews.apache.org/r/6988/
                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>
> Get existing code compiling

--
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-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

Posted by "Jie Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452243#comment-13452243 ] 

Jie Yu commented on MESOS-271:
------------------------------

Will be cool if we can get mesos compiling on the latest clang (with --std=c++11 --stdlib=libc++) as well:)
                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>
> Get existing code compiling

--
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-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

Posted by "John Sirois (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452239#comment-13452239 ] 

John Sirois commented on MESOS-271:
-----------------------------------

This will include this patch to the bundled third_party/boost: https://svn.boost.org/trac/boost/ticket/6854
                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>
> Get existing code compiling

--
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-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

Posted by "John Sirois (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Sirois updated MESOS-271:
------------------------------

    Attachment: boost-1.51.0.tar.gz

Attaching the binary portion of the diff for the reviewboard directly.
{code}
[jsirois@gill dev-mesos] (jsirois/MESOS-271) $ sha1sum third_party/boost-1.51.0.tar.gz 
152694d4ae7278f85ffebb0a421a3e6fcd6cbd70  third_party/boost-1.51.0.tar.gz
[jsirois@gill dev-mesos] (jsirois/MESOS-271) $ md5sum third_party/boost-1.51.0.tar.gz 
ec1a5b6262878f9cd17e5e41364c085b  third_party/boost-1.51.0.tar.gz
{code}
                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>         Attachments: boost-1.51.0.tar.gz
>
>
> Get existing code compiling

--
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-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

Posted by "John Sirois (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452262#comment-13452262 ] 

John Sirois commented on MESOS-271:
-----------------------------------

Jie: Agreed - but I'd like to take that on in a 2nd RB
                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>
> Get existing code compiling

--
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-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

Posted by "John Sirois (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452278#comment-13452278 ] 

John Sirois commented on MESOS-271:
-----------------------------------

To move mesos to c++11 will require isolating CXXFLAGS for mesos, 1st failure on a naive try is in glog:
{code}
 g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -DNDEBUG --std=c++11 -MT libglog_la-symbolize.lo -MD -MP -MF .deps/libglog_la-symbolize.Tpo -c src/symbolize.cc  -fPIC -DPIC -o libglog_la-symbolize.o
src/symbolize.cc: In function ‘bool google::GetSectionHeaderByName(int, const char*, size_t, Elf64_Shdr*)’:
src/symbolize.cc:235:54: error: unable to find string literal operator ‘operator"" PRIuS’
src/symbolize.cc:235:54: error: unable to find string literal operator ‘operator"" PRIuS’
src/symbolize.cc:235:54: error: unable to find string literal operator ‘operator"" PRIuS’
src/symbolize.cc:235:54: error: unable to find string literal operator ‘operator"" PRIuS’
make[6]: *** [libglog_la-symbolize.lo] Error 1
make[6]: Leaving directory `/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess/third_party/glog-0.3.1'
make[5]: *** [glog-0.3.1/libglog.la] Error 2
make[5]: Leaving directory `/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess/third_party'
make[4]: *** [check] Error 2
make[4]: Leaving directory `/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess/third_party'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/jsirois/development/3rdparty/mesos/build/third_party'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/jsirois/development/3rdparty/mesos/build/third_party'
make: *** [check-recursive] Error 1
{code}

                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>
> Get existing code compiling

--
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-271) Get mesos compiling on gcc-4.7 to open up path forward to c++11

Posted by "John Sirois (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Sirois updated MESOS-271:
------------------------------

    Attachment: boost-1.51.0.tar.gz

Unpacked he 1st boost upload and re-compressed with gzip --best for ~300K savings:
{code}
[jsirois@gill Desktop] $ ls -lrth boost-1.51.0.tar.gz*
-rw-r--r--. 1 jsirois jsirois 7.2M Oct  9 18:02 boost-1.51.0.tar.gz.orig
-rw-r--r--. 1 jsirois jsirois 6.9M Oct  9 18:07 boost-1.51.0.tar.gz
{code}

New checksums
{code}
[jsirois@gill Desktop] $ md5sum boost-1.51.0.tar.gz
f1f5da5c0dcbc6cb69dd8d1cb5145422  boost-1.51.0.tar.gz
[jsirois@gill Desktop] $ sha1sum boost-1.51.0.tar.gz
c90efd6ab0137a23b4d879998d31825e72e132bd  boost-1.51.0.tar.gz
{code}

                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>         Attachments: boost-1.51.0.tar.gz, boost-1.51.0.tar.gz
>
>
> Get existing code compiling

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