Update to the 20180118 snapshot of GCC 8.2.1.

Forward port r490785 | gerald | 2019-01-20 from lang/gcc8: [1]

  Update files/patch-spe-config (and with that our local adjustments to
  config.gcc) to the changed directory structure under gcc/config brought
  by GCC 8 when powerpcspe was cloned and broken out from the regular
  powerpc port.

PR:		234419 [1]
Submitted by:	jhibbits [1]
MFH:		2019Q1 (build fix on powerpcspe) [1]
This commit is contained in:
Gerald Pfeifer 2019-01-24 16:53:37 +00:00
parent 5ffb224ba2
commit f240810683
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491099
3 changed files with 21 additions and 12 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcc
PORTVERSION= 8.2.1.s20190111
PORTVERSION= 8.2.1.s20190118
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1547301175
SHA256 (gcc-8-20190111.tar.xz) = b9cdfc65ee9cf5054a9d45496c70830a58bcf30b551629ad052a55779ccdbd65
SIZE (gcc-8-20190111.tar.xz) = 61786884
TIMESTAMP = 1548273360
SHA256 (gcc-8-20190118.tar.xz) = 466baee2e7727cca6733d1deb47edf6d30aae3929359a2df0d41deb1c1be539b
SIZE (gcc-8-20190118.tar.xz) = 61788908

View file

@ -1,15 +1,24 @@
--- UTC
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500
+++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500
@@ -2383,6 +2383,9 @@
--- gcc/config.gcc.orig 2018-06-25 19:34:01.000000000 +0000
+++ gcc/config.gcc 2018-12-14 04:14:25.044026000 +0000
@@ -455,7 +455,7 @@
nvptx-*-*)
cpu_type=nvptx
;;
-powerpc*-*-*spe*)
+powerpcspe-*-*|powerpc*-*-*spe*)
cpu_type=powerpcspe
extra_headers="ppc-asm.h altivec.h spe.h ppu_intrinsics.h paired.h spu2vmx.h vec_types.h si2vmx.h htmintrin.h htmxlintrin.h"
case x$with_cpu in
@@ -2413,6 +2413,9 @@
tm_file="${tm_file} rs6000/default64.h rs6000/freebsd64.h"
tmake_file="${tmake_file} rs6000/t-freebsd64"
extra_options="${extra_options} rs6000/linux64.opt"
;;
+ powerpcspe-*)
+ tm_file="${tm_file} powerpcspe/freebsd.h powerpcspe/linuxspe.h powerpcspe/e500.h"
+ ;;
*)
tm_file="${tm_file} rs6000/freebsd.h"
+ powerpcspe-*)
+ tm_file="${tm_file} powerpcspe/freebsd.h powerpcspe/linuxspe.h powerpcspe/e500.h"
;;
*)
tm_file="${tm_file} rs6000/freebsd.h"