diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-10-27 20:17:52 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-10-27 20:21:54 +0100 |
commit | c84f250076a6a6f33202c022a256b34284d91111 (patch) | |
tree | d4b03e586cdebe8796860b6a2420f62a7172797b /sys-devel/gcc | |
parent | dev-python/python-dateutil: 2.7.5 (diff) | |
download | gentoo-c84f250076a6a6f33202c022a256b34284d91111.tar.gz gentoo-c84f250076a6a6f33202c022a256b34284d91111.tar.bz2 gentoo-c84f250076a6a6f33202c022a256b34284d91111.zip |
sys-devel/gcc: cut 1.11 patchset for 5.4.0
Eight new patches:
+ 99_all_remove-lieee.patch:
drop assumed -lieee from -mieee-fp
+ 100_all_libgfortran-Werror.patch:
+ 101_all_libgomp-Werror.patch
+ 102_all_libitm-Werror.patch
+ 103_all_libatomic-Werror.patch
+ 104_all_libbacktrace-Werror.patch
+ 105_all_libsanitizer-libbacktrace-Werror.patch:
pull in all -Werror patches from 8.2.0
+ 106_all_libstdcxx-no-vtv.patch:
drop libvtv RPATH from libstdc++
Bug: https://bugs.gentoo.org/667104
Bug: https://bugs.gentoo.org/475350
Bug: https://bugs.gentoo.org/229059
Bug: http://gcc.gnu.org/PR38436
Bug: https://bugs.gentoo.org/433435
Bug: http://gcc.gnu.org/PR54724
Bug: https://bugs.gentoo.org/582524
Bug: https://gcc.gnu.org/PR85884
Closes: https://bugs.gentoo.org/621178
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-5.4.0-r6.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 90d11d452500..f46702e953cc 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -53,6 +53,7 @@ DIST gcc-4.9.4-piepatches-v0.6.4.tar.bz2 14414 BLAKE2B 2eccd4f2a164fbb32d13c7fe9 DIST gcc-4.9.4-uclibc-patches-1.0.tar.bz2 2618 BLAKE2B bff85a4088fb94fdb7a8b0bd552be98ace3e6d145889b6f8b4a1f2db2dad14342d155890ab159b42d5b55d88dfb7c392eb7f92590084e1958f6284c561da30f1 SHA512 5a1f44caa9261f4947101379628143869b31dec67fa28605e8e1f3894d4b7120c3f68ba6deb59da7a74fa906e27ab32cd3767761837dc3dfebc37865d349d6db DIST gcc-4.9.4.tar.bz2 90097606 BLAKE2B 373ff939ea72d6c4a7f3ab899b852b4c919481af2cfe3291281d9354c58a270d2eba73a0f301d90840dfabf423c82b368e113df7a2cb6cc28b2a703b0b6eb585 SHA512 93abb78e16277454f41a8e9810f41f66c0fdffdc539a762ff6b67d3037f78db971378683fd2ebf707d1d51c059fad2161fe42d110c330027f40214b7db0f3efe DIST gcc-5.4.0-patches-1.10.tar.bz2 34009 BLAKE2B af97da5ec3a41fd07df00e0b6710ba852375efccc3bb9f6863198908cfa996dd88ee9bc27e8f154a0279c5401e5f93909d6d6002a6c632c5bdc3a566c3c4277f SHA512 ba6c66db507f54e6b500dfebe441fa447ccdbaf56f5fc4ad49050e6a7110e73f83f9fed0b7d1b73aee769dc75b757f61a00f41c2d654e7ddbdabd595075e4896 +DIST gcc-5.4.0-patches-1.11.tar.bz2 35481 BLAKE2B 6a74fa85864bc62b506afba20adff693cb4554cd747cdb26e5ca6aa45eb511a9fbeb8afc654d55a786fbacd157164c4836de226b9bab4185774634182627c9a5 SHA512 b1d5bca91a8b2fddd2ba11573befc4bf957f9c2c149f1aa8b3ca336020b9101bd595cdeaae712f6eaaf4f7510f1f06cc6c49f62fe80b1bdf33f026118bc7074a DIST gcc-5.4.0-patches-1.9.tar.bz2 33602 BLAKE2B 2c914ad9c62eb1aa4ef941f332c1cc840b09e7aafa9eabe6598ddd6635816286e53ed142b466f10ed3616fe6bd39f4a42e2ed1d8f23596506f4f2ac3e032e467 SHA512 b83163722582d7ee92a87fde5018009f6ca4188ed77f89c34d9d35330126740e4bd54d3b4f2c2db9a1694632417b1b37a92499817a9f168a8cc6a3d8865216cf 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 diff --git a/sys-devel/gcc/gcc-5.4.0-r6.ebuild b/sys-devel/gcc/gcc-5.4.0-r6.ebuild new file mode 100644 index 000000000000..1c5a20716c10 --- /dev/null +++ b/sys-devel/gcc/gcc-5.4.0-r6.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.11" +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 +} |