From owner-svn-ports-head@freebsd.org Thu Mar 7 09:55:53 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97DBC1527D93; Thu, 7 Mar 2019 09:55:53 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37260742A5; Thu, 7 Mar 2019 09:55:53 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2ADB019F7E; Thu, 7 Mar 2019 09:55:53 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x279tqsZ006381; Thu, 7 Mar 2019 09:55:52 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x279tqse006380; Thu, 7 Mar 2019 09:55:52 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201903070955.x279tqse006380@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Thu, 7 Mar 2019 09:55:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494921 - head/lang/gcc8 X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: head/lang/gcc8 X-SVN-Commit-Revision: 494921 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 37260742A5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 07 Mar 2019 09:55:53 -0000 Author: gerald Date: Thu Mar 7 09:55:52 2019 New Revision: 494921 URL: https://svnweb.freebsd.org/changeset/ports/494921 Log: No longer require a not too old version of GCC to build on powerpc64, but rely on the system compiler (even if that means we need to be explicitly conservative when it comes to optimizations). [1] Simplify the creation of the multilib-related sub-directory tree on powerpc64 and avoid leaving an empty directory behind on the way. [2] Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there. PR: 235975 [1], 235964 [2], 231804 [2] Submitted by: Piotr Kubaj [1] Discussed with: Piotr Kubaj [2] Modified: head/lang/gcc8/Makefile head/lang/gcc8/pkg-descr Modified: head/lang/gcc8/Makefile ============================================================================== --- head/lang/gcc8/Makefile Thu Mar 7 09:50:49 2019 (r494920) +++ head/lang/gcc8/Makefile Thu Mar 7 09:55:52 2019 (r494921) @@ -59,9 +59,7 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" -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). +MAKE_ARGS+= CFLAGS_FOR_TARGET="-O1" CXXFLAGS_FOR_TARGET="-O1" BOOT_CFLAGS="-O1" # PR235975 .elif ${ARCH} == powerpcspe CONFIGURE_ARGS+= --with-cpu=8548 --enable-e500_double --without-fp @@ -140,8 +138,8 @@ post-stage: ${RM} ${WRKDIR}/PLIST.lib .if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MMULTILIB} - ${MKDIR} ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX} - ${MV} ${STAGEDIR}${PREFIX}/lib/lib32/* ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX} + ${MKDIR} ${STAGEDIR}${TARGLIB32} + ${MV} ${STAGEDIR}${PREFIX}/lib/lib32 ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX} .endif .for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB32:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} Modified: head/lang/gcc8/pkg-descr ============================================================================== --- head/lang/gcc8/pkg-descr Thu Mar 7 09:50:49 2019 (r494920) +++ head/lang/gcc8/pkg-descr Thu Mar 7 09:55:52 2019 (r494921) @@ -1,6 +1,6 @@ -GCC, the GNU Compiler Collection, supports a number of languages. This -port installs the C, C++, and Fortran front ends as gcc8, g++8, gfortran8, -respectively. +GCC, the GNU Compiler Collection, supports a number of languages. +This port installs the C, C++, and Fortran front ends as gcc8, g++8, +and gfortran8, respectively. WWW: https://gcc.gnu.org