From owner-svn-ports-all@freebsd.org Wed Nov 20 07:52:29 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 646341AC6EA; Wed, 20 Nov 2019 07:52:29 +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 47Hvzx246Pz4SnD; Wed, 20 Nov 2019 07:52:29 +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 2BC241FA0F; Wed, 20 Nov 2019 07:52:29 +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 xAK7qSKq072478; Wed, 20 Nov 2019 07:52:28 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAK7qS7e072477; Wed, 20 Nov 2019 07:52:28 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201911200752.xAK7qS7e072477@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Wed, 20 Nov 2019 07:52:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517994 - head/lang/gcc8 X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: head/lang/gcc8 X-SVN-Commit-Revision: 517994 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2019 07:52:29 -0000 Author: gerald Date: Wed Nov 20 07:52:28 2019 New Revision: 517994 URL: https://svnweb.freebsd.org/changeset/ports/517994 Log: Partially forward port r517855 | gerald | 2019-11-18 from lang/gcc8-devel: On versions of FreeBSD that that are new enough and made that switch already, use ELFv2 ABI on powerpc64. PR: 239813 Submitted by: pkubaj Reported by: linimon Modified: head/lang/gcc8/Makefile Modified: head/lang/gcc8/Makefile ============================================================================== --- head/lang/gcc8/Makefile Wed Nov 20 06:46:39 2019 (r517993) +++ head/lang/gcc8/Makefile Wed Nov 20 07:52:28 2019 (r517994) @@ -62,7 +62,11 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" +. if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 +CONFIGURE_ARGS+= --with-abi=elfv2 +. else MAKE_ARGS+= CFLAGS_FOR_TARGET="-O1" CXXFLAGS_FOR_TARGET="-O1" BOOT_CFLAGS="-O1" # PR235975 +.endif .elif ${ARCH} == powerpcspe CONFIGURE_ARGS+= --with-cpu=8548 --enable-e500_double --without-fp