From owner-svn-ports-head@FreeBSD.ORG Tue Dec 30 19:19:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42AB8D9B; Tue, 30 Dec 2014 19:19:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E3C432F2; Tue, 30 Dec 2014 19:19:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBUJJkLS002118; Tue, 30 Dec 2014 19:19:46 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBUJJi5h002109; Tue, 30 Dec 2014 19:19:44 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201412301919.sBUJJi5h002109@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 30 Dec 2014 19:19:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375846 - in head/lang: gcc gcc46 gcc47 gcc48 gcc49 gcc5 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2014 19:19:46 -0000 Author: dim (src committer) Date: Tue Dec 30 19:19:43 2014 New Revision: 375846 URL: https://svnweb.freebsd.org/changeset/ports/375846 QAT: https://qat.redports.org/buildarchive/r375846/ Log: When building the gcc ports using a full bootstrap, tell the configure script to assume the BUILD_CONFIG is set to bootstrap-debug, instead of letting it auto-detect. With clang 3.5.0 this auto-detection can fail, due to a discrepancy [1] [2] in its debug information, when objects are produced with and without -g. When the auto-detection fails, gcc will compare objects with full debug information during the stage comparisons, and this sometimes causes those stage comparisons to fail unexpectedly. [1] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141222/250134.html [2] http://llvm.org/PR22046 Approved by: gerald (maintainer) Modified: head/lang/gcc/Makefile head/lang/gcc46/Makefile head/lang/gcc47/Makefile head/lang/gcc48/Makefile head/lang/gcc49/Makefile head/lang/gcc5/Makefile Modified: head/lang/gcc/Makefile ============================================================================== --- head/lang/gcc/Makefile Tue Dec 30 19:10:40 2014 (r375845) +++ head/lang/gcc/Makefile Tue Dec 30 19:19:43 2014 (r375846) @@ -68,6 +68,7 @@ GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ Modified: head/lang/gcc46/Makefile ============================================================================== --- head/lang/gcc46/Makefile Tue Dec 30 19:10:40 2014 (r375845) +++ head/lang/gcc46/Makefile Tue Dec 30 19:19:43 2014 (r375846) @@ -64,6 +64,7 @@ GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ Modified: head/lang/gcc47/Makefile ============================================================================== --- head/lang/gcc47/Makefile Tue Dec 30 19:10:40 2014 (r375845) +++ head/lang/gcc47/Makefile Tue Dec 30 19:19:43 2014 (r375846) @@ -70,6 +70,7 @@ GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ Modified: head/lang/gcc48/Makefile ============================================================================== --- head/lang/gcc48/Makefile Tue Dec 30 19:10:40 2014 (r375845) +++ head/lang/gcc48/Makefile Tue Dec 30 19:19:43 2014 (r375846) @@ -69,6 +69,7 @@ GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ Modified: head/lang/gcc49/Makefile ============================================================================== --- head/lang/gcc49/Makefile Tue Dec 30 19:10:40 2014 (r375845) +++ head/lang/gcc49/Makefile Tue Dec 30 19:19:43 2014 (r375846) @@ -69,6 +69,7 @@ GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ Modified: head/lang/gcc5/Makefile ============================================================================== --- head/lang/gcc5/Makefile Tue Dec 30 19:10:40 2014 (r375845) +++ head/lang/gcc5/Makefile Tue Dec 30 19:19:43 2014 (r375846) @@ -69,6 +69,7 @@ GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \