Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/gcc: ChangeLog gcc-4.8.1.ebuild
Date: Tue, 04 Jun 2013 05:25:58
Message-Id: 20130604052551.AC5C22171D@flycatcher.gentoo.org
1 dirtyepic 13/06/04 05:25:51
2
3 Modified: ChangeLog
4 Added: gcc-4.8.1.ebuild
5 Log:
6 Version bump (bug #472116).
7
8 Signed-off-by: Ryan Hill <dirtyepic@g.o>
9 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
10
11 Revision Changes Path
12 1.952 sys-devel/gcc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.952&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.952&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?r1=1.951&r2=1.952
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v
21 retrieving revision 1.951
22 retrieving revision 1.952
23 diff -u -r1.951 -r1.952
24 --- ChangeLog 20 May 2013 10:56:06 -0000 1.951
25 +++ ChangeLog 4 Jun 2013 05:25:51 -0000 1.952
26 @@ -1,6 +1,11 @@
27 # ChangeLog for sys-devel/gcc
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.951 2013/05/20 10:56:06 aballier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.952 2013/06/04 05:25:51 dirtyepic Exp $
31 +
32 +*gcc-4.8.1 (04 Jun 2013)
33 +
34 + 04 Jun 2013; Ryan Hill <dirtyepic@g.o> +gcc-4.8.1.ebuild:
35 + Version bump (bug #472116).
36
37 20 May 2013; Alexis Ballier <aballier@g.o> gcc-4.7.0.ebuild,
38 gcc-4.7.1.ebuild, gcc-4.7.2-r1.ebuild, gcc-4.7.3.ebuild:
39
40
41
42 1.1 sys-devel/gcc/gcc-4.8.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.8.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.8.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gcc-4.8.1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.1.ebuild,v 1.1 2013/06/04 05:25:51 dirtyepic Exp $
52
53 PATCH_VER="1.0"
54 UCLIBC_VER="1.0"
55
56 # Hardened gcc 4 stuff
57 PIE_VER="0.5.6"
58 SPECS_VER="0.2.0"
59 SPECS_GCC_VER="4.4.3"
60 # arch/libc configurations known to be stable with {PIE,SSP}-by-default
61 PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64"
62 PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64"
63 SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
64 # uclibc need tls and nptl support for SSP support
65 # uclibc need to be >= 0.9.33
66 SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
67 #end Hardened stuff
68
69 inherit toolchain
70
71 DESCRIPTION="The GNU Compiler Collection"
72
73 LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
74
75 KEYWORDS=""
76
77 RDEPEND=""
78 DEPEND="${RDEPEND}
79 elibc_glibc? ( >=sys-libs/glibc-2.8 )
80 >=${CATEGORY}/binutils-2.20"
81
82 if [[ ${CATEGORY} != cross-* ]] ; then
83 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
84 fi
85
86 src_unpack() {
87 if has_version '<sys-libs/glibc-2.12' ; then
88 ewarn "Your host glibc is too old; disabling automatic fortify."
89 ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
90 EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
91 fi
92
93 toolchain_src_unpack
94
95 use vanilla && return 0
96
97 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
98 }
99
100 pkg_setup() {
101 toolchain_pkg_setup
102
103 if use lto ; then
104 ewarn
105 ewarn "LTO support is still experimental and unstable. Any bug reports"
106 ewarn "about LTO that do not include an upstream patch will be closed as"
107 ewarn "invalid."
108 ewarn
109 fi
110 }
111
112 pkg_postinst() {
113 toolchain_pkg_postinst
114
115 elog
116 elog "Packages failing to build with GCC 4.8 are tracked at"
117 elog "https://bugs.gentoo.org/461954"
118 elog
119 }