From 3321ef9f5cfdc3af265650ddd1a64ab9192e7f5a Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Tue, 29 Jun 2021 17:08:01 +0300 Subject: [PATCH] sys-devel/gcc: update package version --- sys-devel/gcc/Manifest | 6 ++-- sys-devel/gcc/files/6.3.0/cpu_indicator.patch | 30 ---------------- ...gcc-10.2.0-r5.ebuild => gcc-10.3.0.ebuild} | 6 ++-- sys-devel/gcc/gcc-9.3.0-r2.ebuild | 33 ----------------- sys-devel/gcc/metadata.xml | 36 ------------------- 5 files changed, 5 insertions(+), 106 deletions(-) delete mode 100644 sys-devel/gcc/files/6.3.0/cpu_indicator.patch rename sys-devel/gcc/{gcc-10.2.0-r5.ebuild => gcc-10.3.0.ebuild} (81%) delete mode 100644 sys-devel/gcc/gcc-9.3.0-r2.ebuild delete mode 100644 sys-devel/gcc/metadata.xml diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 56868f0..98f8bbe 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -1,4 +1,2 @@ -DIST gcc-10.2.0-patches-6.tar.bz2 24103 BLAKE2B f719012f86136ad9c4ea1397548caca6e69687534599a88cc25fe0e4f83dd7fd34c07375fa6e612e2b430e078c1a59913160cce07312e94fa1ce575a33e5457b SHA512 61d97dba29024c7a22806689ebf33f5cb9ce099230bcc344f2865b976c3fdfd8ebec5962eaffd0156de75eca58499ba785867bd4a4ac92c6f799ab1bee8844a1 -DIST gcc-10.2.0.tar.xz 75004144 BLAKE2B 1d79397330354e61439283cac96a109bf78ffc726265442e6d3ec131f107589ab7349d6612836edd8c8512f7bcc1d901a65a0d5d925d28a5bf3ef5cc3f9787ee SHA512 42ae38928bd2e8183af445da34220964eb690b675b1892bbeb7cd5bb62be499011ec9a93397dba5e2fb681afadfc6f2767d03b9035b44ba9be807187ae6dc65e -DIST gcc-9.3.0-patches-4.tar.bz2 15474 BLAKE2B b06fdfce4402850bb1c6c211ace4c3a07ad2114ffa48eac58d1624124d5d1bddd6d2b4faa18be3291a340272c022bea26dfcaf17929828ceb6474a5211401389 SHA512 54904a4a1c4a784f1a707cbdd9f6f498457e4aa550dc6f3d6eff71ed05a75685e23e6b71c2a614b1dea7e506b9f42fb0109ecfde00ef00373275bbc0409cb7e0 -DIST gcc-9.3.0.tar.xz 70533868 BLAKE2B 21efb1432aefad5ed9b9b395e88ef2adfda3a8ea6e3e808cd151da6e66df9fed1bafdc8b8ff055d4b2272ac786d8b7ddc4293bb6b51c55c40a261a0eda0e7cb4 SHA512 4b9e3639eef6e623747a22c37a904b4750c93b6da77cf3958d5047e9b5ebddb7eebe091cc16ca0a227c0ecbd2bf3b984b221130f269a97ee4cc18f9cf6c444de +DIST gcc-10.3.0-patches-1.tar.bz2 15282 SHA256 3f40362d401937e6004856dae5cdeec4640154c31541923ba42b1134e876a7e3 SHA512 6dc435c8619a1532000fae843b9964d0d1e28d3cc9cc1962ab7391570a0cf1135424ea5c0b0d3d5ec5ea863f02e963be2ec4c94822f217fc692a1d808325404e WHIRLPOOL 4c32dd838d10bcfd5e6bf16d78bdc7316ff246f28741a4da246d7d31ca6b6acdc7d0b9f547d2d09dd0057cddc591a9a106496c06f5fab45984b2ac075490e7da +DIST gcc-10.3.0.tar.xz 76692288 SHA256 64f404c1a650f27fc33da242e1f2df54952e3963a49e06e73f6940f3223ac344 SHA512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 WHIRLPOOL 265a3710fad955eb25c2752342c583d4f52357cb5afc3cced6eb2cadae20cf4ca2f3f107b7be15be544a861e767c4d16032f21f747453e87ed65d7b59a11fc24 diff --git a/sys-devel/gcc/files/6.3.0/cpu_indicator.patch b/sys-devel/gcc/files/6.3.0/cpu_indicator.patch deleted file mode 100644 index cdd3fff..0000000 --- a/sys-devel/gcc/files/6.3.0/cpu_indicator.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur gcc-6.2.0.orig/gcc/config/i386/i386.c gcc-6.2.0/gcc/config/i386/i386.c ---- gcc-6.2.0.orig/gcc/config/i386/i386.c 2016-12-24 15:55:23.355343088 -0800 -+++ gcc-6.2.0/gcc/config/i386/i386.c 2016-12-24 15:55:58.718681693 -0800 -@@ -40325,10 +40325,10 @@ - { - case IX86_BUILTIN_CPU_INIT: - { -- /* Make it call __cpu_indicator_init in libgcc. */ -+ /* Make it call __cpu_indicator_init_local in libgcc. */ - tree call_expr, fndecl, type; - type = build_function_type_list (integer_type_node, NULL_TREE); -- fndecl = build_fn_decl ("__cpu_indicator_init", type); -+ fndecl = build_fn_decl ("__cpu_indicator_init_local", type); - call_expr = build_call_expr (fndecl, 0); - return expand_expr (call_expr, target, mode, EXPAND_NORMAL); - } -diff -Naur gcc-6.2.0.orig/libgcc/config/i386/cpuinfo.c gcc-6.2.0/libgcc/config/i386/cpuinfo.c ---- gcc-6.2.0.orig/libgcc/config/i386/cpuinfo.c 2016-12-24 15:55:15.817270911 -0800 -+++ gcc-6.2.0/libgcc/config/i386/cpuinfo.c 2016-12-24 15:57:05.399320163 -0800 -@@ -485,7 +485,7 @@ - return 0; - } - --#if defined SHARED && defined USE_ELF_SYMVER --__asm__ (".symver __cpu_indicator_init, __cpu_indicator_init@GCC_4.8.0"); --__asm__ (".symver __cpu_model, __cpu_model@GCC_4.8.0"); -+#ifndef SHARED -+int __cpu_indicator_init_local (void) -+ __attribute__ ((weak, alias ("__cpu_indicator_init"))); - #endif diff --git a/sys-devel/gcc/gcc-10.2.0-r5.ebuild b/sys-devel/gcc/gcc-10.3.0.ebuild similarity index 81% rename from sys-devel/gcc/gcc-10.2.0-r5.ebuild rename to sys-devel/gcc/gcc-10.3.0.ebuild index 0e045f8..61ff1bf 100644 --- a/sys-devel/gcc/gcc-10.2.0-r5.ebuild +++ b/sys-devel/gcc/gcc-10.3.0.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PATCH_VER="6" +PATCH_VER="1" inherit toolchain -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86" RDEPEND="" BDEPEND="${CATEGORY}/binutils" diff --git a/sys-devel/gcc/gcc-9.3.0-r2.ebuild b/sys-devel/gcc/gcc-9.3.0-r2.ebuild deleted file mode 100644 index 04fcb86..0000000 --- a/sys-devel/gcc/gcc-9.3.0-r2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PATCH_VER="4" - -inherit toolchain - -KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86" - -RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.13 ) - >=${CATEGORY}/binutils-2.20" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )" -fi - -src_prepare() { - toolchain_src_prepare - - if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then - eapply "${FILESDIR}"/6.3.0/cpu_indicator.patch - eapply "${FILESDIR}"/7.1.0/posix_memalign.patch - case $(tc-arch) in - amd64|arm64|ppc64) eapply "${FILESDIR}"/9.3.0/gcc-pure64.patch ;; - esac - fi - - eapply_user -} diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml deleted file mode 100644 index 6161017..0000000 --- a/sys-devel/gcc/metadata.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - toolchain@gentoo.org - Gentoo Toolchain Project - - - Build the ADA language (GNAT) frontend - Enable support for the D programming language - Enable fixed-point arithmetic support for MIPS targets - in gcc (Warning: significantly increases compile time!) - Build the GCC Go language frontend. - Add support for the framework for loop - optimizations based on a polyhedral intermediate representation - Enable libgccjit so other applications can embed gcc for Just-In-Time compilation. - This will slow down the compiler a bit as it forces all of the toolchain to be shared libs. - Build SSP support into a dedicated library rather than use the - code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES) - Build using Link Time Optimizations (LTO) - Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually) - Build support for the Objective C code language - Build support for the Objective C++ language - Build support for the Objective C code language Garbage - Collector - Build GCC using Profile Guided Optimization (PGO) - Build support for various sanitizer functions (ASAN/TSAN/etc...) - Build packages with stack smashing protector on by default - enable systemtap static probe points - Build support for virtual table verification (a C++ hardening feature) - - - cpe:/a:gnu:gcc - dgcc - -