mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "haosdent (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4963) Incorrect CXXFLAGS with GCC 6
Date Fri, 18 Mar 2016 15:41:33 GMT

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

haosdent commented on MESOS-4963:
---------------------------------

I think you forgot update python build flag. When build with gcc 4.8, it don't enable {{c++11}}
default. So would failed when build mesos with gcc 4.8.

> Incorrect CXXFLAGS with GCC 6
> -----------------------------
>
>                 Key: MESOS-4963
>                 URL: https://issues.apache.org/jira/browse/MESOS-4963
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>            Reporter: Neil Conway
>            Assignee: Neil Conway
>              Labels: mesosphere
>             Fix For: 0.29.0
>
>
> {noformat}
> $ head config.log
> [...]
> /mesos-2/configure --enable-optimize --disable-python CC=ccache /home/vagrant/local/gcc/bin/gcc
CXX=ccache /home/vagrant/local/gcc/bin/g++
> $ ~/local/gcc/bin/g++ --version
> g++ (GCC) 6.0.0 20160227 (experimental)
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> $ make V=0
> make[2]: Entering directory '/home/vagrant/build-mesos-2-gcc6/src'
>   CXX      appc/libmesos_no_3rdparty_la-spec.lo
> In file included from /mesos-2/3rdparty/libprocess/3rdparty/stout/include/stout/os/shell.hpp:22:0,
>                  from /mesos-2/3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp:56,
>                  from /mesos-2/src/appc/spec.cpp:17:
> /mesos-2/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp: In instantiation
of ‘int os::execlp(const char*, T ...) [with T = {const char*, const char*, const char*,
char*}]’:
> /mesos-2/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/fork.hpp:371:52: 
 required from here
> /mesos-2/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp:151:18:
error: missing sentinel in function call [-Werror=format=]
>    return ::execlp(file, t...);
>           ~~~~~~~~^~~~~~~~~~~~
> cc1plus: all warnings being treated as errors
> Makefile:5584: recipe for target 'appc/libmesos_no_3rdparty_la-spec.lo' failed
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message