Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2014 19:19:44 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
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
Message-ID:  <201412301919.sBUJJi5h002109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412301919.sBUJJi5h002109>