From owner-svn-ports-head@freebsd.org Sun Dec 6 18:37:19 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E21749A03DA; Sun, 6 Dec 2015 18:37:18 +0000 (UTC) (envelope-from andreast@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 mx1.freebsd.org (Postfix) with ESMTPS id A39911E2A; Sun, 6 Dec 2015 18:37:18 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB6IbH4m001469; Sun, 6 Dec 2015 18:37:17 GMT (envelope-from andreast@FreeBSD.org) Received: (from andreast@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB6IbHNa001467; Sun, 6 Dec 2015 18:37:17 GMT (envelope-from andreast@FreeBSD.org) Message-Id: <201512061837.tB6IbHNa001467@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: andreast set sender to andreast@FreeBSD.org using -f From: Andreas Tobler Date: Sun, 6 Dec 2015 18:37:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403150 - head/lang/gcc5/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 06 Dec 2015 18:37:19 -0000 Author: andreast (src committer) Date: Sun Dec 6 18:37:17 2015 New Revision: 403150 URL: https://svnweb.freebsd.org/changeset/ports/403150 Log: Add two fixes which have missed the gcc-5.3 release date: - Fix --disable-bootstrap build. - Add ELFv2 support for FreeBSD PowerPC64. Approved by: gerald (maintainer) Added: head/lang/gcc5/files/patch-build-without-bootstrap (contents, props changed) head/lang/gcc5/files/patch-gcc-freebsd-powerpc64 (contents, props changed) Added: head/lang/gcc5/files/patch-build-without-bootstrap ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc5/files/patch-build-without-bootstrap Sun Dec 6 18:37:17 2015 (r403150) @@ -0,0 +1,25 @@ +--- UTC +Index: Makefile.def +=================================================================== +--- Makefile.def (revision 230942) ++++ Makefile.def (working copy) +@@ -534,6 +534,7 @@ + // on libgcc and newlib/libgloss. + lang_env_dependencies = { module=libjava; cxx=true; }; + lang_env_dependencies = { module=libitm; cxx=true; }; ++lang_env_dependencies = { module=libffi; cxx=true; }; + lang_env_dependencies = { module=libcilkrts; cxx=true; }; + lang_env_dependencies = { module=liboffloadmic; cxx=true; }; + lang_env_dependencies = { module=newlib; no_c=true; }; +Index: Makefile.in +=================================================================== +--- Makefile.in (revision 230942) ++++ Makefile.in (working copy) +@@ -51034,6 +51034,7 @@ + + + configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss ++configure-target-libffi: maybe-all-target-libstdc++-v3 + + configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss + configure-target-libjava: maybe-all-target-libstdc++-v3 Added: head/lang/gcc5/files/patch-gcc-freebsd-powerpc64 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc5/files/patch-gcc-freebsd-powerpc64 Sun Dec 6 18:37:17 2015 (r403150) @@ -0,0 +1,29 @@ +--- gcc/config/rs6000/freebsd64.h 2015-11-28 09:06:13.019999000 -0800 ++++ gcc/config/rs6000/freebsd64.h 2015-11-28 09:16:10.459373000 -0800 +@@ -65,6 +65,13 @@ + #define INVALID_64BIT "-m%s not supported in this configuration" + #define INVALID_32BIT INVALID_64BIT + ++/* Use LINUX64 instead of FREEBSD64 for compat with e.g. sysv4le.h */ ++#ifdef LINUX64_DEFAULT_ABI_ELFv2 ++#define ELFv2_ABI_CHECK (rs6000_elf_abi != 1) ++#else ++#define ELFv2_ABI_CHECK (rs6000_elf_abi == 2) ++#endif ++ + #undef SUBSUBTARGET_OVERRIDE_OPTIONS + #define SUBSUBTARGET_OVERRIDE_OPTIONS \ + do \ +@@ -84,6 +91,12 @@ + rs6000_isa_flags &= ~OPTION_MASK_RELOCATABLE; \ + error (INVALID_64BIT, "relocatable"); \ + } \ ++ if (ELFv2_ABI_CHECK) \ ++ { \ ++ rs6000_current_abi = ABI_ELFv2; \ ++ if (dot_symbols) \ ++ error ("-mcall-aixdesc incompatible with -mabi=elfv2"); \ ++ } \ + if (rs6000_isa_flags & OPTION_MASK_EABI) \ + { \ + rs6000_isa_flags &= ~OPTION_MASK_EABI; \