Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-devel/gcc/
Date: Mon, 25 Feb 2013 23:01:32
Message-Id: 1361833247.eb6224f1ebd0ec726341cbfc70efc2d210cd03db.zorry@gentoo
1 commit: eb6224f1ebd0ec726341cbfc70efc2d210cd03db
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 25 23:00:47 2013 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 25 23:00:47 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=eb6224f1
7
8 remove old gcc 4.8 ebuild
9
10 ---
11 sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild | 64 --------------------------
12 1 files changed, 0 insertions(+), 64 deletions(-)
13
14 diff --git a/sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild b/sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild
15 deleted file mode 100644
16 index 1e822de..0000000
17 --- a/sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild
18 +++ /dev/null
19 @@ -1,64 +0,0 @@
20 -# Copyright 1999-2012 Gentoo Foundation
21 -# Distributed under the terms of the GNU General Public License v2
22 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.2.ebuild,v 1.7 2012/11/24 21:22:30 vapier Exp $
23 -
24 -PATCH_VER="1.0"
25 -#UCLIBC_VER="1.0"
26 -
27 -# Hardened gcc 4 stuff
28 -PIE_VER="0.5.6"
29 -SPECS_VER="0.2.0"
30 -SPECS_GCC_VER="4.4.3"
31 -# arch/libc configurations known to be stable with {PIE,SSP}-by-default
32 -PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
33 -PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64"
34 -SSP_STABLE="amd64 x86 ppc ppc64 arm"
35 -# uclibc need tls and nptl support for SSP support
36 -# uclibc need to be >= 0.9.33
37 -SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
38 -#end Hardened stuff
39 -
40 -inherit toolchain
41 -
42 -DESCRIPTION="The GNU Compiler Collection"
43 -
44 -LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
45 -
46 -KEYWORDS=""
47 -
48 -RDEPEND=""
49 -DEPEND="${RDEPEND}
50 - elibc_glibc? ( >=sys-libs/glibc-2.8 )
51 - >=${CATEGORY}/binutils-2.18"
52 -
53 -if [[ ${CATEGORY} != cross-* ]] ; then
54 - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
55 -fi
56 -
57 -src_unpack() {
58 - if has_version '<sys-libs/glibc-2.12' ; then
59 - ewarn "Your host glibc is too old; disabling automatic fortify."
60 - ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
61 - EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
62 - fi
63 -
64 - # drop the x32 stuff once 4.7 goes stable
65 - if [[ ${CTARGET} != x86_64* ]] || ! has x32 $(get_all_abis TARGET) ; then
66 - EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch"
67 - fi
68 -
69 - toolchain_src_unpack
70 -
71 - use vanilla && return 0
72 -
73 - [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
74 -}
75 -
76 -pkg_setup() {
77 - toolchain_pkg_setup
78 -
79 - ewarn
80 - ewarn "LTO support is still experimental and unstable."
81 - ewarn "Any bugs resulting from the use of LTO will not be fixed."
82 - ewarn
83 -}