Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2019 00:03:18 +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: r518744 - head/lang/gcc10-devel
Message-ID:  <201912010003.xB103Ivk091652@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Dec  1 00:03:18 2019
New Revision: 518744
URL: https://svnweb.freebsd.org/changeset/ports/518744

Log:
  On versions of FreeBSD that that are new enough and made that switch
  already, use ELFv2 ABI on powerpc64.
  
  This already is part of lang/gcc8 and lang/gcc9 (and their -devel
  siblings); given this is the future of powerpc64 on FreeBSD ensure
  GCC development trunk is adopting this as early as possible.

Modified:
  head/lang/gcc10-devel/Makefile

Modified: head/lang/gcc10-devel/Makefile
==============================================================================
--- head/lang/gcc10-devel/Makefile	Sat Nov 30 23:52:42 2019	(r518743)
+++ head/lang/gcc10-devel/Makefile	Sun Dec  1 00:03:18 2019	(r518744)
@@ -68,7 +68,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
 USE_GCC=	yes
+. endif
 .endif
 
 LANGUAGES:=	c,c++,objc,fortran



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