Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2018 15:49:36 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473895 - in head/lang: gcc6 gcc6-devel
Message-ID:  <201807041549.w64FnakF076294@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Wed Jul  4 15:49:35 2018
New Revision: 473895
URL: https://svnweb.freebsd.org/changeset/ports/473895

Log:
  Improve the explanation on why on powerpc64 we require USE_GCC=5 and
  not one of the more common/flexbile options such as USE_GCC=yes.
  
  Reported by:	linimon

Modified:
  head/lang/gcc6-devel/Makefile
  head/lang/gcc6/Makefile

Modified: head/lang/gcc6-devel/Makefile
==============================================================================
--- head/lang/gcc6-devel/Makefile	Wed Jul  4 14:48:29 2018	(r473894)
+++ head/lang/gcc6-devel/Makefile	Wed Jul  4 15:49:35 2018	(r473895)
@@ -80,7 +80,9 @@ MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512
 
 .elif ${ARCH} == powerpc64
 CONFIGURE_ENV+=	UNAME_m="powerpc64"
-USE_GCC=	5	# Cannot require ourselves, needs to be at least 4.9.
+USE_GCC=	5	# This port requires at least GCC 4.9, and we need
+			# to ensure not to cause a dependency on itself (so
+			# USE_GCC=yes or USE_GCC=X+ are not an option).
 
 .elif ${ARCH} == powerpcspe
 CONFIGURE_ARGS+=	--with-cpu=8540 --enable-e500_double --without-fp

Modified: head/lang/gcc6/Makefile
==============================================================================
--- head/lang/gcc6/Makefile	Wed Jul  4 14:48:29 2018	(r473894)
+++ head/lang/gcc6/Makefile	Wed Jul  4 15:49:35 2018	(r473895)
@@ -80,7 +80,9 @@ MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512
 
 .elif ${ARCH} == powerpc64
 CONFIGURE_ENV+=	UNAME_m="powerpc64"
-USE_GCC=	5	# Cannot require ourselves, needs to be at least 4.9.
+USE_GCC=	5	# This port requires at least GCC 4.9, and we need
+			# to ensure not to cause a dependency on itself (so
+			# USE_GCC=yes or USE_GCC=X+ are not an option).
 
 .elif ${ARCH} == powerpcspe
 CONFIGURE_ARGS+=	--with-cpu=8540 --enable-e500_double --without-fp



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