summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-12-10 10:01:05 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-12-10 10:07:07 +0000
commit75902b59aaf998db405d47754eba0f730e08379e (patch)
treea1d74306abfca6b0ead4e9ec5eb8398f7b1b0dc5
parentnet-misc/kea: Added support for mysql and postgresql. (diff)
downloadgentoo-75902b59aaf998db405d47754eba0f730e08379e.tar.gz
gentoo-75902b59aaf998db405d47754eba0f730e08379e.tar.bz2
gentoo-75902b59aaf998db405d47754eba0f730e08379e.zip
sys-devel/gcc: bump up to 5.5.0, patchset 1.0
The only changes from 5.4.0 patches are: - removed backported and upstreamed patches - dropped gcc.info doc patches Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--sys-devel/gcc/Manifest4
-rw-r--r--sys-devel/gcc/gcc-5.5.0.ebuild44
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index c2e4934dd79a..afcbaee10af5 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -58,6 +58,10 @@ DIST gcc-5.4.0-patches-1.9.tar.bz2 33602 BLAKE2B 2c914ad9c62eb1aa4ef941f332c1cc8
DIST gcc-5.4.0-piepatches-v0.6.5.tar.bz2 14551 BLAKE2B 6f3de9be0990a7580785821d8c85114a1907571c06bdf3a15ad91258f7c9e8bb6a4d2ddb8615f33bedf0ad036d215507e004fc095f788e40c824ae0ab3ffbb05 SHA512 4890f0713d261982ab81a20f93c5f65193aa1dfa171e3f9e5867f0b80ec7c1e76c5a997b1a4e6f47f8ce36af54ac91125c5bff8bf6d971b7d77c65a57a40a3c0
DIST gcc-5.4.0-uclibc-patches-1.0.tar.bz2 3731 BLAKE2B fa436d1c1d9c150714092132f816740f8218dfeb4f9a6a8c830ea54d211a020f209e6fd1fcc313b2560b82c7855120053d346af72b7c12c88a7a948379dd2356 SHA512 009f34197e79c5e8c6497a0db01ac45cc657e92e56a663b4f3281661d108b2a129cd977fab5f0064f225d6812ae91e82bab22a2b10ae02c486881eeed85ec7a3
DIST gcc-5.4.0.tar.bz2 95661481 BLAKE2B bf882acfa28cc1064cddd21e25332fff6bc65505d6af9acb2e455916edbc4f6b1de9b3524867f51d7819fc4f213ce21332fbf67cf71cd6c7b96fb8907e51d570 SHA512 2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d1ef16ea39def408a644ba48f97519ec7a7dd37d260c3e9423514265b
+DIST gcc-5.5.0-patches-1.0.tar.bz2 29527 BLAKE2B 3ee9565591e6c07d658ebecc36972a0a5835856bf8969da6997e02c4e79cef45a2dc565609f7bd02aa27c4c9db406b3502417da010e94e6d05d37f56af1ca71f SHA512 07f331c70da5e45be295e9559735f34479b4d6187da5354d5e23cb77760c372990030ce9c7408bcc9605e3c5e81c8acb10689b3aad57574378a20b0f22a4f3c3
+DIST gcc-5.5.0-piepatches-v0.6.5.tar.bz2 14327 BLAKE2B db24b2d321328307147b0dccabf9b66424302c4b8994c2981f09efe65af58692dc8fe69a65d262f60015ac15a2d1850c2b86964592b72c994737e61c1d8827ef SHA512 2e3ee95c8f2c36968fd6dfaf7bfcfd03d9d98e9a5ee827fbff06d8b28cf0375072165f7299baa9eceb8aee3af21dbd0099f9ba5162ccd52751af8f1c750de9e1
+DIST gcc-5.5.0-uclibc-patches-1.0.tar.bz2 3518 BLAKE2B b528d79d41de1099f3540c168339350b403568f38a338a5eeaf0a080ebc850cfa390ec72f03a6c61433f2617eaa452ed0c7397a530662188e9a73e5144bd6a1d SHA512 97b97d99fd121642ba7c170c62de245e9f2719dbfae148e0d69f7ee172f84669277f4ef26554fb4cecfab5956587ce50131d92e4244f28f914d1eecd2c361ba5
+DIST gcc-5.5.0.tar.xz 71096120 BLAKE2B 1e29ed718c8eb96facc405248b69406d77e27118473550ebd67cb1d62c627d3a394aeffca904e94a1a4c9edf7d0ba5fcd2a81e4b008790c64c1ba43dbed58781 SHA512 670ff52c2ae12c7852c12987e91798c5aa8bd6daf21f0d6e0cd57a4aa59cc4f06a837fe76426eaa1424cfddca937bed377680700eadc04d76b9180d462364fa1
DIST gcc-6.4.0-patches-1.3.tar.bz2 13617 BLAKE2B 6bfb1d70397e6ca4359e5d190e36003c18c7a03a9be4f923461dcff11307601e6b3502a2e289585b53baeb919008d83c29ad24078f814aed9b331140e4687419 SHA512 91be7c8db0004cdd150fec0f8daa709374753d2f524c58087dcf45b6696dbd609972297e866f971fba1aa679464cf96a384dd111e104183c0939ab69add017b2
DIST gcc-6.4.0-patches-1.6.tar.bz2 14486 BLAKE2B c2c5afa9768a408475bb072f26a77e45327c8006319412c46ff0cad6d9bed437d95864ad3132b8544097c2275f5b7b1519037f6691f2d116e8d5e60ce6f754a6 SHA512 fdfcb492e603b0c4e3e104e29a0df5ca2b551421edf3999c50fca3b0ae71fbface66b60722557020855a5068a46b89b41323f1d30bf84b1ce8f3a16459ff6a17
DIST gcc-6.4.0-patches-1.7.tar.bz2 15308 BLAKE2B ffad85cc5b92d9c41d472224fee78cbc030b5d75cd21254d9b05ea52af9ba1d3dfa8efc1ebfa72b60ee57e27c32981dcdbdf08f07b2ba218060344699beb8b5f SHA512 4e3804eb49cbb27f22762e0637d3094793367c565032efe294f517a1b5f98fac3adca46aaacc8b49b285b62bfca1c30dcd203c3b7a913f6dd40b76a3e3ce1263
diff --git a/sys-devel/gcc/gcc-5.5.0.ebuild b/sys-devel/gcc/gcc-5.5.0.ebuild
new file mode 100644
index 000000000000..ac8d9c9e40be
--- /dev/null
+++ b/sys-devel/gcc/gcc-5.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PATCH_VER="1.0"
+UCLIBC_VER="1.0"
+
+# Hardened gcc 4 stuff
+PIE_VER="0.6.5"
+SPECS_VER="0.2.0"
+SPECS_GCC_VER="4.4.3"
+# arch/libc configurations known to be stable with {PIE,SSP}-by-default
+PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64"
+PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64"
+SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
+# uclibc need tls and nptl support for SSP support
+# uclibc need to be >= 0.9.33
+SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
+#end Hardened stuff
+
+inherit toolchain
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.8 )
+ >=${CATEGORY}/binutils-2.20"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
+fi
+
+src_prepare() {
+ if has_version '<sys-libs/glibc-2.12' ; then
+ ewarn "Your host glibc is too old; disabling automatic fortify."
+ ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
+ EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
+ fi
+ is_crosscompile && EPATCH_EXCLUDE+=" 05_all_gcc-spec-env.patch"
+
+ toolchain_src_prepare
+}