From owner-svn-ports-all@freebsd.org Wed Oct 16 21:46:25 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 8D80D150B40; Wed, 16 Oct 2019 21:46:25 +0000 (UTC) (envelope-from jhb@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 46tm8K39D3z4JFr; Wed, 16 Oct 2019 21:46:25 +0000 (UTC) (envelope-from jhb@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 4FAE7D6AE; Wed, 16 Oct 2019 21:46:25 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9GLkPi4027140; Wed, 16 Oct 2019 21:46:25 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9GLkOmQ027138; Wed, 16 Oct 2019 21:46:24 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201910162146.x9GLkOmQ027138@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Wed, 16 Oct 2019 21:46:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514619 - in head/devel/powerpc64-gcc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jhb X-SVN-Commit-Paths: in head/devel/powerpc64-gcc: . files X-SVN-Commit-Revision: 514619 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, 16 Oct 2019 21:46:25 -0000 Author: jhb (src,doc committer) Date: Wed Oct 16 21:46:24 2019 New Revision: 514619 URL: https://svnweb.freebsd.org/changeset/ports/514619 Log: Always set the endian flag for the linker emulation for MIPS. Fix a regression in r472011 where gcc would pass a linker emulation without an endian flag if neither -EB nor -EL were provided on the gcc command line. Bump PORTREVISION. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D22004 Modified: head/devel/powerpc64-gcc/Makefile head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Modified: head/devel/powerpc64-gcc/Makefile ============================================================================== --- head/devel/powerpc64-gcc/Makefile Wed Oct 16 21:46:10 2019 (r514618) +++ head/devel/powerpc64-gcc/Makefile Wed Oct 16 21:46:24 2019 (r514619) @@ -2,7 +2,7 @@ PORTNAME= gcc PORTVERSION= 6.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMEPREFIX?= powerpc64- Modified: head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips ============================================================================== --- head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Wed Oct 16 21:46:10 2019 (r514618) +++ head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Wed Oct 16 21:46:24 2019 (r514619) @@ -64,7 +64,7 @@ new file mode 100644 index 0000000..56a921e --- /dev/null +++ gcc/config/mips/freebsd.h -@@ -0,0 +1,320 @@ +@@ -0,0 +1,325 @@ +/* Definitions for MIPS varients running FreeBSD with ELF format + Copyright (C) 2008 Free Software Foundation, Inc. + Continued by David O'Brien @@ -312,9 +312,14 @@ index 0000000..56a921e + +/* Always pass ISA to drivers */ +#undef DRIVER_SELF_SPECS -+#define DRIVER_SELF_SPECS \ -+ MIPS_DEFAULT_ISA_LEVEL_SPEC, \ -+ MIPS_ISA_LEVEL_SPEC, \ ++#define DRIVER_SELF_SPECS \ ++ MIPS_DEFAULT_ISA_LEVEL_SPEC, \ ++ MIPS_ISA_LEVEL_SPEC, \ ++ \ ++ /* Make sure that an endian option is always present. This makes \ ++ things like LINK_SPEC easier to write. */ \ ++ "%{!EB:%{!EL:%(endian_spec)}}", \ ++ \ + BASE_DRIVER_SELF_SPECS + +#if 0