Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDB2018978 for ; Fri, 18 Mar 2016 15:41:33 +0000 (UTC) Received: (qmail 21112 invoked by uid 500); 18 Mar 2016 15:41:33 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 21072 invoked by uid 500); 18 Mar 2016 15:41:33 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 21057 invoked by uid 99); 18 Mar 2016 15:41:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2016 15:41:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 766D42C14F8 for ; Fri, 18 Mar 2016 15:41:33 +0000 (UTC) Date: Fri, 18 Mar 2016 15:41:33 +0000 (UTC) From: "haosdent (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-4963) Incorrect CXXFLAGS with GCC 6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-4963?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1520= 1653#comment-15201653 ]=20 haosdent commented on MESOS-4963: --------------------------------- I think you forgot update python build flag. When build with gcc 4.8, it do= n'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=3Dccache /home/v= agrant/local/gcc/bin/gcc CXX=3Dccache /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 N= O > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. > $ make V=3D0 > 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 =E2=80=98int os::execlp(const char*, T ...) [with = T =3D {const char*, const char*, const char*, char*}]=E2=80=99: > /mesos-2/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/fork.h= pp: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=3Dformat=3D] > return ::execlp(file, t...); > ~~~~~~~~^~~~~~~~~~~~ > cc1plus: all warnings being treated as errors > Makefile:5584: recipe for target 'appc/libmesos_no_3rdparty_la-spec.lo' f= ailed > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)