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.7.2-r1.ebuild
Date: Mon, 25 Feb 2013 04:42:12
Message-Id: 20130225044207.64A882171D@flycatcher.gentoo.org
1 dirtyepic 13/02/25 04:42:07
2
3 Modified: ChangeLog
4 Added: gcc-4.7.2-r1.ebuild
5 Log:
6 4.7.2 p1.4: Fixes bug #451680 (bootstrap comparison failure on alpha),
7 bug #421305 and #417271 (libitm build breakage), and PR55940 (incorrect
8 code building virtualbox kernel modules). Revbump for unmasking.
9
10 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
11
12 Revision Changes Path
13 1.938 sys-devel/gcc/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.938&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.938&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/ChangeLog?r1=1.937&r2=1.938
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v
22 retrieving revision 1.937
23 retrieving revision 1.938
24 diff -u -r1.937 -r1.938
25 --- ChangeLog 8 Feb 2013 10:32:13 -0000 1.937
26 +++ ChangeLog 25 Feb 2013 04:42:07 -0000 1.938
27 @@ -1,6 +1,14 @@
28 # ChangeLog for sys-devel/gcc
29 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.937 2013/02/08 10:32:13 ago Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.938 2013/02/25 04:42:07 dirtyepic Exp $
32 +
33 +*gcc-4.7.2-r1 (25 Feb 2013)
34 +
35 + 25 Feb 2013; Ryan Hill <dirtyepic@g.o> +gcc-4.7.2-r1.ebuild,
36 + -files/pro-police-docs.patch:
37 + 4.7.2 p1.4: Fixes bug #451680 (bootstrap comparison failure on alpha),
38 + bug #421305 and #417271 (libitm build breakage), and PR55940 (incorrect
39 + code building virtualbox kernel modules). Revbump for unmasking.
40
41 08 Feb 2013; Agostino Sarubbo <ago@g.o> gcc-4.6.3.ebuild:
42 Stable for s390, wrt bug #418383
43
44
45
46 1.1 sys-devel/gcc/gcc-4.7.2-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.7.2-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc/gcc-4.7.2-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: gcc-4.7.2-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2013 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.2-r1.ebuild,v 1.1 2013/02/25 04:42:07 dirtyepic Exp $
56
57 PATCH_VER="1.4"
58 UCLIBC_VER="1.0"
59
60 # Hardened gcc 4 stuff
61 PIE_VER="0.5.5"
62 SPECS_VER="0.2.0"
63 SPECS_GCC_VER="4.4.3"
64 # arch/libc configurations known to be stable with {PIE,SSP}-by-default
65 PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
66 PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64"
67 SSP_STABLE="amd64 x86 ppc ppc64 arm"
68 # uclibc need tls and nptl support for SSP support
69 # uclibc need to be >= 0.9.33
70 SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
71 #end Hardened stuff
72
73 inherit toolchain
74
75 DESCRIPTION="The GNU Compiler Collection"
76
77 LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
78
79 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
80 ~amd64-fbsd ~x86-fbsd"
81
82 RDEPEND=""
83 DEPEND="${RDEPEND}
84 elibc_glibc? ( >=sys-libs/glibc-2.8 )
85 >=${CATEGORY}/binutils-2.18"
86
87 if [[ ${CATEGORY} != cross-* ]] ; then
88 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
89 fi
90
91 src_unpack() {
92 if has_version '<sys-libs/glibc-2.12' ; then
93 ewarn "Your host glibc is too old; disabling automatic fortify."
94 ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
95 EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
96 fi
97
98 # drop the x32 stuff once 4.7 goes stable
99 if [[ ${CTARGET} != x86_64* ]] || ! has x32 $(get_all_abis TARGET) ; then
100 EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch"
101 fi
102
103 toolchain_src_unpack
104
105 use vanilla && return 0
106
107 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
108 }
109
110 pkg_setup() {
111 toolchain_pkg_setup
112
113 ewarn
114 ewarn "LTO support is still experimental and unstable."
115 ewarn "Any bugs resulting from the use of LTO will not be fixed."
116 ewarn
117 }