Gentoo Archives: gentoo-commits

From: "Mark Loeser (halcy0n)" <halcy0n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/gcc: metadata.xml ChangeLog gcc-4.5.0.ebuild
Date: Sat, 24 Apr 2010 23:53:56
Message-Id: 20100424235352.6464F2C04C@corvid.gentoo.org
1 halcy0n 10/04/24 23:53:52
2
3 Modified: metadata.xml ChangeLog
4 Added: gcc-4.5.0.ebuild
5 Log:
6 Version bump to 4.5.0; fixes bug #315377. Thanks to Ryan Hill <dirtyepic AT gentoo DOT org> for help figuring out the changes needed
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 sys-devel/gcc/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/metadata.xml?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/metadata.xml?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/metadata.xml?r1=1.9&r2=1.10
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/metadata.xml,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- metadata.xml 7 May 2009 23:58:32 -0000 1.9
23 +++ metadata.xml 24 Apr 2010 23:53:52 -0000 1.10
24 @@ -13,6 +13,7 @@
25 <flag name="ip32r10k">Enable building a compiler capable of building an
26 experimental kernel for SGI O2 w/ R1x000 CPUs (IP32)</flag>
27 <flag name="libffi">Build the portable foreign function interface library</flag>
28 + <flag name="lto">Add support for link-time optimizations</flag>
29 <flag name="mudflap">Add support for mudflap, a pointer use checking library</flag>
30 <flag name="multislot">Allow for SLOTs to include minor version (3.3.4
31 instead of just 3.3)</flag>
32
33
34
35 1.748 sys-devel/gcc/ChangeLog
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.748&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/ChangeLog?rev=1.748&content-type=text/plain
39 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/ChangeLog?r1=1.747&r2=1.748
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v
44 retrieving revision 1.747
45 retrieving revision 1.748
46 diff -u -r1.747 -r1.748
47 --- ChangeLog 24 Apr 2010 18:19:00 -0000 1.747
48 +++ ChangeLog 24 Apr 2010 23:53:52 -0000 1.748
49 @@ -1,6 +1,13 @@
50 # ChangeLog for sys-devel/gcc
51 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.747 2010/04/24 18:19:00 halcy0n Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.748 2010/04/24 23:53:52 halcy0n Exp $
54 +
55 +*gcc-4.5.0 (24 Apr 2010)
56 +
57 + 24 Apr 2010; Mark Loeser <halcy0n@g.o> +gcc-4.5.0.ebuild,
58 + metadata.xml:
59 + Version bump to 4.5.0; fixes bug #315377. Thanks to Ryan Hill <dirtyepic
60 + AT gentoo DOT org> for help figuring out the changes needed
61
62 24 Apr 2010; Mark Loeser <halcy0n@g.o> gcc-4.4.3.ebuild:
63 Add ewarn about the use of graphite
64
65
66
67 1.1 sys-devel/gcc/gcc-4.5.0.ebuild
68
69 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/gcc-4.5.0.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/gcc-4.5.0.ebuild?rev=1.1&content-type=text/plain
71
72 Index: gcc-4.5.0.ebuild
73 ===================================================================
74 # Copyright 1999-2010 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.0.ebuild,v 1.1 2010/04/24 23:53:52 halcy0n Exp $
77
78 GENTOO_PATCH_EXCLUDE="00_all_gcc-trampolinewarn.patch
79 18_all_904-flatten-switch-stmt-00.patch
80 54_all_300-libstdc++-pic.patch
81 73_all_sh-libgcc-stacks.patch
82 90_all_gcc-freebsd.patch
83 91_all_gcc-freebsd.patch"
84
85 PATCH_VER="1.0"
86 UCLIBC_VER="1.0"
87
88 ETYPE="gcc-compiler"
89
90 # Hardened gcc 4 stuff
91 #PIE_VER="10.1.5"
92 #SPECS_VER="0.9.4"
93
94 # arch/libc configurations known to be stable or untested with {PIE,SSP,FORTIFY}-by-default
95 #PIE_GLIBC_STABLE="x86 amd64 ~ppc ~ppc64 ~arm ~sparc"
96 #PIE_UCLIBC_STABLE="x86 arm"
97 #SSP_STABLE="amd64 x86 ppc ppc64 ~arm ~sparc"
98 #SSP_UCLIBC_STABLE=""
99
100 # whether we should split out specs files for multiple {PIE,SSP}-by-default
101 # and vanilla configurations.
102 SPLIT_SPECS=no #${SPLIT_SPECS-true} hard disable until #106690 is fixed
103
104 inherit toolchain
105
106 DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
107
108 LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
109 KEYWORDS=""
110
111 RDEPEND=">=sys-libs/zlib-1.1.4
112 >=sys-devel/gcc-config-1.4
113 virtual/libiconv
114 >=dev-libs/gmp-4.3.2
115 >=dev-libs/mpfr-2.4.2
116 >=dev-libs/mpc-0.8.1
117 graphite? (
118 >=dev-libs/ppl-0.10
119 >=dev-libs/cloog-ppl-0.15.8
120 )
121 lto? ( >=dev-libs/elfutils-0.143 )
122 !build? (
123 gcj? (
124 gtk? (
125 x11-libs/libXt
126 x11-libs/libX11
127 x11-libs/libXtst
128 x11-proto/xproto
129 x11-proto/xextproto
130 >=x11-libs/gtk+-2.2
131 x11-libs/pango
132 )
133 >=media-libs/libart_lgpl-2.1
134 app-arch/zip
135 app-arch/unzip
136 )
137 >=sys-libs/ncurses-5.2-r2
138 nls? ( sys-devel/gettext )
139 )"
140 DEPEND="${RDEPEND}
141 test? ( >=dev-util/dejagnu-1.4.4 >=sys-devel/autogen-5.5.4 )
142 >=sys-apps/texinfo-4.8
143 >=sys-devel/bison-1.875
144 elibc_glibc? ( >=sys-libs/glibc-2.8 )
145 amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
146 ppc? ( >=${CATEGORY}/binutils-2.17 )
147 ppc64? ( >=${CATEGORY}/binutils-2.17 )
148 >=${CATEGORY}/binutils-2.15.94"
149 PDEPEND=">=sys-devel/gcc-config-1.4"
150 if [[ ${CATEGORY} != cross-* ]] ; then
151 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
152 fi
153
154 src_unpack() {
155 gcc_src_unpack
156
157 use vanilla && return 0
158
159 sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
160
161 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
162
163 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
164 }