From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2711 invoked by alias); 28 Oct 2014 10:35:51 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 2697 invoked by uid 89); 28 Oct 2014 10:35:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 28 Oct 2014 10:35:49 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9SAZmXH021394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 Oct 2014 06:35:48 -0400 Received: from localhost.localdomain (ovpn-112-76.ams2.redhat.com [10.36.112.76]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9SAZjUb010328; Tue, 28 Oct 2014 06:35:46 -0400 Message-ID: <544F7181.4060307@redhat.com> Date: Tue, 28 Oct 2014 10:51:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: Uros Bizjak , Jakub Jelinek CC: "gcc-patches@gcc.gnu.org" , Tom Tromey , Jeff Law Subject: Re: [PATCH 5/5] add libcc1 References: <20141028093506.GE10376@tucnak.redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg02924.txt.bz2 On 28/10/14 09:57, Uros Bizjak wrote: > On Tue, Oct 28, 2014 at 10:35 AM, Jakub Jelinek wrote: >> On Tue, Oct 28, 2014 at 09:36:45AM +0100, Uros Bizjak wrote: >>>> This patch has now been committed. >>> >>> Also breaks bootstap on x86_64-linux-gnu, CentOS 5.11: >> >> For -Werror, I'd think that should fix that, WARN_FLAGS should >> already contain -Werror during stage2/stage3 unless --disable-werror. >> Untested though. > > No, it still fails, although with one -Werror less in the compile flags: Does removing it from configure.ac and regenerating configure work? I don't have access to a system compiler of the version you have, so I am unable to test. Cheers Phil -- Index: Makefile.am =================================================================== --- Makefile.am (revision 216776) +++ Makefile.am (working copy) @@ -22,8 +22,7 @@ -I $(gcc_build_dir) -I$(srcdir)/../gcc \ -I $(srcdir)/../gcc/c -I $(srcdir)/../gcc/c-family \ -I $(srcdir)/../libcpp/include -WERROR_FLAG = -Werror -AM_CXXFLAGS = $(WARN_FLAGS) $(WERROR_FLAG) $(visibility) +AM_CXXFLAGS = $(WARN_FLAGS) $(visibility) libiberty = ../libiberty/pic/libiberty.a Index: Makefile.in =================================================================== --- Makefile.in (revision 216776) +++ Makefile.in (working copy) @@ -257,8 +257,7 @@ -I $(srcdir)/../gcc/c -I $(srcdir)/../gcc/c-family \ -I $(srcdir)/../libcpp/include -WERROR_FLAG = -Werror -AM_CXXFLAGS = $(WARN_FLAGS) $(WERROR_FLAG) $(visibility) +AM_CXXFLAGS = $(WARN_FLAGS) $(visibility) libiberty = ../libiberty/pic/libiberty.a plugindir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/plugin cc1libdir = $(libdir)/$(libsuffix) Index: configure =================================================================== --- configure (revision 216776) +++ configure (working copy) @@ -14342,7 +14342,7 @@ done CFLAGS="$save_CFLAGS" -WARN_FLAGS="$WARN_FLAGS -Werror" +WARN_FLAGS="$WARN_FLAGS" libsuffix= Index: configure.ac =================================================================== --- configure.ac (revision 216776) +++ configure.ac (working copy) @@ -52,7 +52,7 @@ AC_SUBST(gcc_version) ACX_PROG_CC_WARNING_OPTS([-W -Wall], [WARN_FLAGS]) -WARN_FLAGS="$WARN_FLAGS -Werror" +WARN_FLAGS="$WARN_FLAGS" AC_SUBST(WARN_FLAGS) libsuffix=