summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-18 00:52:26 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-18 00:52:26 +0000
commit563f30e0a7d9ad923a1e1a1d9a1b59f5b4b71f3b (patch)
tree36fdffa4ead4c47defff7a9bf6dcd5c0676589be
parentVersion bump. Bug #126531, by Davide Rebeccani <cubo at filibusta.crema.unimi... (diff)
downloadhistorical-563f30e0a7d9ad923a1e1a1d9a1b59f5b4b71f3b.tar.gz
historical-563f30e0a7d9ad923a1e1a1d9a1b59f5b4b71f3b.tar.bz2
historical-563f30e0a7d9ad923a1e1a1d9a1b59f5b4b71f3b.zip
Version bump #126492 by David Pufer.
Package-Manager: portage-2.1_pre6-r3
-rw-r--r--sys-devel/gcc/ChangeLog7
-rw-r--r--sys-devel/gcc/Manifest18
-rw-r--r--sys-devel/gcc/files/digest-gcc-3.4.618
-rw-r--r--sys-devel/gcc/gcc-3.4.6.ebuild144
4 files changed, 180 insertions, 7 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog
index 8debdcae218a..424031c7bdad 100644
--- a/sys-devel/gcc/ChangeLog
+++ b/sys-devel/gcc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/gcc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.509 2006/03/15 12:26:17 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.510 2006/03/18 00:52:26 vapier Exp $
+
+*gcc-3.4.6 (18 Mar 2006)
+
+ 18 Mar 2006; Mike Frysinger <vapier@gentoo.org> +gcc-3.4.6.ebuild:
+ Version bump #126492 by David Pufer.
15 Mar 2006; Markus Rothe <corsair@gentoo.org> gcc-3.4.5-r1.ebuild:
Added ~ppc64
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 91e94f458733..cd392f351574 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 b25cd41b133f91a676c17bbca09c71b1 ChangeLog 103044
-RMD160 731f74ffd6e4034eb0ccb898debe466f42eb7b8e ChangeLog 103044
-SHA256 09e4279e9a60b39181b26f0a45e642aa50cabb50e15dce6c82ad6a3a90e321c7 ChangeLog 103044
+MD5 c55405be336ede118c4780d125bde50c ChangeLog 103178
+RMD160 8daf19e4ffd43aad0e74ca98840c52e84ef02ff1 ChangeLog 103178
+SHA256 b0410e75712111854ae91657c81e5afacf44cf31fd60405854cef539ff25ce2d ChangeLog 103178
MD5 8ec9b0352d226e4693cabffe0fa5bba6 files/3.2.1/gcc31-loop-load-final-value.patch 3324
RMD160 8bb0e9133923821daf2e9d10a27a0a1930e00bbd files/3.2.1/gcc31-loop-load-final-value.patch 3324
SHA256 70aa8433fb19c95f334b6cbc155cae22a3b61a6892ed9e18f95860509d0091a8 files/3.2.1/gcc31-loop-load-final-value.patch 3324
@@ -205,6 +205,9 @@ SHA256 e5f752026105b0a2abc75e34cd5536950aefb53fe4fc9ab49fb0b847f1798581 files/di
MD5 73c94d11f8da2cdcc2ce56f227ac72c9 files/digest-gcc-3.4.5-r1 1623
RMD160 b5a153cbc9bc263b396bf7625af321fa5677a32c files/digest-gcc-3.4.5-r1 1623
SHA256 bd25d4b50dc342d11e5f4f260df4151c0d691b2fcb17da20ebd93f5a039e2531 files/digest-gcc-3.4.5-r1 1623
+MD5 e242bcd2b21f89c0e71338e2e7c0a5d0 files/digest-gcc-3.4.6 1623
+RMD160 9cb39ff8871b3192f90e865aa19799351eb27d6a files/digest-gcc-3.4.6 1623
+SHA256 7772b2d8bd9b56746d23614ce24b0e956b5ead8e72f82f5f46f9f54bd1973bb1 files/digest-gcc-3.4.6 1623
MD5 ca9dcb879f11e126507d4aa49b912347 files/digest-gcc-4.0.2-r3 1373
RMD160 5787629e33e3b09c77f9406337225e014c984c9a files/digest-gcc-4.0.2-r3 1373
SHA256 59a1b0cb797a6766c35ccc0523dc9c89c78f04e6e58368efb8caa1e5a846d47c files/digest-gcc-4.0.2-r3 1373
@@ -286,6 +289,9 @@ SHA256 3697fe1c3f7093194323f4fa628762a313450811f7307f4b9553edd3bce8cb14 gcc-3.4.
MD5 2438329b13091f47c6ac02beceb8db68 gcc-3.4.5.ebuild 5040
RMD160 5ab1c93d91e1084ee0e6b2d58e32bb26c647b44a gcc-3.4.5.ebuild 5040
SHA256 293f2e5dca85bc5ab718f8c9efad3ca82b094ebec14c1ed909ed3aa3d208c984 gcc-3.4.5.ebuild 5040
+MD5 976afc1a241722964515e109084696cb gcc-3.4.6.ebuild 5295
+RMD160 04ff618229ee8aa6b21c24526936524b70a0469d gcc-3.4.6.ebuild 5295
+SHA256 534fa3b566bddb0d333e55b06e0c4732803fec7c2dbd8f6cfa667e5c498346e7 gcc-3.4.6.ebuild 5295
MD5 30379732cfe02c86c972a0c3175258a4 gcc-4.0.2-r3.ebuild 2098
RMD160 080c38b88ba4f146bafccf8333dd38b03cd31ed7 gcc-4.0.2-r3.ebuild 2098
SHA256 f8ed17a1137e6ea3a9dc0bd7847cd84d5ef370188b967fce144095f199c85ee9 gcc-4.0.2-r3.ebuild 2098
@@ -301,7 +307,7 @@ SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a metadata
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFEGPTU2+ySkm8kpY0RAvbzAJ9jPyaK8dh0RzHWw4oLkwl/ejaZ2wCfRWU6
-qs80eGbeOs5HPwipP9nsk4g=
-=w0Az
+iD8DBQFEG1nl2+ySkm8kpY0RAm0/AKC+5oKwFxVAFxMoQYJkLV7k+oEn2wCcC0+f
+gBuBwohtbTIp4AWL96kNym8=
+=8GNP
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gcc/files/digest-gcc-3.4.6 b/sys-devel/gcc/files/digest-gcc-3.4.6
new file mode 100644
index 000000000000..bb21dbb9577c
--- /dev/null
+++ b/sys-devel/gcc/files/digest-gcc-3.4.6
@@ -0,0 +1,18 @@
+MD5 d5da59b788f30b6e31488cdae51ca822 bounds-checking-gcc-3.4.4-1.00.patch.bz2 815608
+RMD160 b5e1d4716a5ab881b5d7742bb6650e0492edce93 bounds-checking-gcc-3.4.4-1.00.patch.bz2 815608
+SHA256 a29adc9260071f5928f2e491803b73117ee176e4b19b56ce421aa3ca461370b2 bounds-checking-gcc-3.4.4-1.00.patch.bz2 815608
+MD5 c9403328cea26d2582310d7c821eb95a gcc-3.4.5-piepatches-v8.7.9.tar.bz2 8140
+RMD160 66aaa00b8261646cff64e7deabb6315dd9f39109 gcc-3.4.5-piepatches-v8.7.9.tar.bz2 8140
+SHA256 4af3c5671cbba9e015a6843ad646ba979fc91226cdaba8a074fbbc8dacfa07ad gcc-3.4.5-piepatches-v8.7.9.tar.bz2 8140
+MD5 cb9fda1432fb18b239935c9e23c0b637 gcc-3.4.5-ssp-1.0.tar.bz2 31589
+RMD160 24bfe531556455bd58833d589b84d09941af615a gcc-3.4.5-ssp-1.0.tar.bz2 31589
+SHA256 30036c39dc0b885c273ec4cbe57042ce6f458fa37ce6cbea58dd5ddeee0e2409 gcc-3.4.5-ssp-1.0.tar.bz2 31589
+MD5 90aa9cb64d7edcd9a2306abe910cbe3b gcc-3.4.5-uclibc-patches-1.1.tar.bz2 70923
+RMD160 89e42889420fbab22e418261d248a89ee2bbbe9b gcc-3.4.5-uclibc-patches-1.1.tar.bz2 70923
+SHA256 5b92fac2afe835a127976fdb6602fb5628cf28e67dd19e8289768a3bb8631ec2 gcc-3.4.5-uclibc-patches-1.1.tar.bz2 70923
+MD5 0973b71cad5fff6668d4514a66ebd412 gcc-3.4.6-patches-1.0.tar.bz2 53093
+RMD160 f340ae3c80e73525b4f893d0d5eed80714ba6816 gcc-3.4.6-patches-1.0.tar.bz2 53093
+SHA256 f6b23e32d93bebf837dc845bf989ddd599e272fcba7aae55be3ecafd7e620d0c gcc-3.4.6-patches-1.0.tar.bz2 53093
+MD5 4a21ac777d4b5617283ce488b808da7b gcc-3.4.6.tar.bz2 28193401
+RMD160 b15003368cedc7964f6ceaee0c39ddc43a46c442 gcc-3.4.6.tar.bz2 28193401
+SHA256 7791a601878b765669022b8b3409fba33cc72f9e39340fec8af6d0e6f72dec39 gcc-3.4.6.tar.bz2 28193401
diff --git a/sys-devel/gcc/gcc-3.4.6.ebuild b/sys-devel/gcc/gcc-3.4.6.ebuild
new file mode 100644
index 000000000000..baf8056f7560
--- /dev/null
+++ b/sys-devel/gcc/gcc-3.4.6.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.6.ebuild,v 1.1 2006/03/18 00:52:26 vapier Exp $
+
+MAN_VER=""
+PATCH_VER="1.0"
+UCLIBC_VER="1.1"
+UCLIBC_GCC_VER="3.4.5"
+PIE_VER="8.7.9"
+PIE_GCC_VER="3.4.5"
+PP_VER="1.0"
+PP_GCC_VER="3.4.5"
+HTB_VER="1.00"
+HTB_GCC_VER="3.4.4"
+
+GCC_LIBSSP_SUPPORT="true"
+
+ETYPE="gcc-compiler"
+
+# arch/libc configurations known to be stable with {PIE,SSP}-by-default
+SSP_STABLE="x86 sparc amd64 ppc ppc64"
+SSP_UCLIBC_STABLE="arm mips ppc x86"
+PIE_GLIBC_STABLE="x86 sparc amd64 ppc ppc64"
+PIE_UCLIBC_STABLE="x86 mips ppc"
+
+# arch/libc configurations known to be broken with {PIE,SSP}-by-default
+SSP_UNSUPPORTED="hppa"
+SSP_UCLIBC_UNSUPPORTED="${SSP_UNSUPPORTED}"
+PIE_UCLIBC_UNSUPPORTED="alpha amd64 arm hppa ia64 m68k ppc64 s390 sh sparc"
+PIE_GLIBC_UNSUPPORTED="hppa"
+
+# whether we should split out specs files for multiple {PIE,SSP}-by-default
+# and vanilla configurations.
+SPLIT_SPECS=${SPLIT_SPECS-true}
+
+#GENTOO_PATCH_EXCLUDE=""
+#PIEPATCH_EXCLUDE=""
+
+inherit toolchain eutils
+
+DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
+
+KEYWORDS="-*"
+
+# we need a proper glibc version for the Scrt1.o provided to the pie-ssp specs
+# NOTE: we SHOULD be using at least binutils 2.15.90.0.1 everywhere for proper
+# .eh_frame ld optimisation and symbol visibility support, but it hasnt been
+# well tested in gentoo on any arch other than amd64!!
+RDEPEND="|| ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.12-r4 )
+ >=sys-libs/zlib-1.1.4
+ !sys-devel/hardened-gcc
+ elibc_glibc? (
+ >=sys-libs/glibc-2.3.3_pre20040420-r1
+ hardened? ( >=sys-libs/glibc-2.3.3_pre20040529 )
+ )
+ !build? (
+ gcj? (
+ gtk? (
+ || ( ( x11-libs/libXt x11-libs/libX11 x11-libs/libXtst x11-proto/xproto x11-proto/xextproto ) virtual/x11 )
+ >=x11-libs/gtk+-2.2
+ )
+ >=media-libs/libart_lgpl-2.1
+ )
+ >=sys-libs/ncurses-5.2-r2
+ nls? ( sys-devel/gettext )
+ )"
+
+if [[ ${CATEGORY/cross-} != ${CATEGORY} ]]; then
+ RDEPEND="${RDEPEND} ${CATEGORY}/binutils"
+fi
+
+DEPEND="${RDEPEND}
+ >=sys-apps/texinfo-4.2-r4
+ >=sys-devel/bison-1.875
+ >=sys-devel/binutils-2.14.90.0.8-r1
+ amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"
+PDEPEND="|| ( app-admin/eselect-compiler sys-devel/gcc-config )
+ x86? ( !nocxx? ( !elibc_uclibc? ( !build? ( || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) ) ) ) )"
+
+src_unpack() {
+ gcc_src_unpack
+
+ # misc patches that havent made it into a patch tarball yet
+ [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
+
+ # nothing in the tree provides libssp.so, so nothing will ever trigger this
+ # logic, but having the patch in the tree makes life so much easier for me
+ # since I dont have to also have an overlay for this.
+ want_libssp && epatch "${FILESDIR}"/3.4.3/libssp.patch
+
+ # Anything useful and objc will require libffi. Seriously. Lets just force
+ # libffi to install with USE="objc", even though it normally only installs
+ # if you attempt to build gcj.
+ if ! use build && use objc && ! use gcj ; then
+ epatch "${FILESDIR}"/3.4.3/libffi-without-libgcj.patch
+ #epatch ${FILESDIR}/3.4.3/libffi-nogcj-lib-path-fix.patch
+ fi
+
+ # Fix cross-compiling
+ epatch "${FILESDIR}"/3.4.4/gcc-3.4.4-cross-compile.patch
+
+ [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/3.4.4/gcc-3.4.4-softfloat.patch
+
+ # Arch stuff
+ case $(tc-arch) in
+ mips)
+ # If mips, and we DON'T want multilib, then rig gcc to only use n32 OR n64
+ if ! is_multilib; then
+ use n32 && epatch ${FILESDIR}/3.4.1/gcc-3.4.1-mips-n32only.patch
+ use n64 && epatch ${FILESDIR}/3.4.1/gcc-3.4.1-mips-n64only.patch
+ fi
+
+ # Patch forward-ported from a gcc-3.0.x patch that adds -march=r10000 and
+ # -mtune=r10000 support to gcc (Allows the compiler to generate code to
+ # take advantage of R10k's second ALU, perform shifts, etc..
+ #
+ # Needs re-porting to DFA in gcc-4.0 - Any Volunteers? :)
+ epatch ${FILESDIR}/3.4.2/gcc-3.4.x-mips-add-march-r10k.patch
+
+ # This is a very special patch -- it allows us to build semi-usable kernels
+ # on SGI IP28 (Indigo2 Impact R10000) systems. The patch is henceforth
+ # regarded as a kludge by upstream, and thus, it will never get accepted upstream,
+ # but for our purposes of building a kernel, it works.
+ # Unless you're building an IP28 kernel, you really don't need care about what
+ # this patch does, because if you are, you are probably already aware of what
+ # it does.
+ # All that said, the abilities of this patch are disabled by default and need
+ # to be enabled by passing -mip28-cache-barrier. Only used to build kernels,
+ # There is the possibility it may be used for very specific userland apps too.
+ if use ip28; then
+ epatch ${FILESDIR}/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers-v3.patch
+ elif use ip32r10k; then
+ # similar to the above patch, but we force a whole ton of cache barriers to be
+ # generated for ther super-experimental ip32-r10k system
+ epatch ${FILESDIR}/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers-v3-ip32r10k.patch
+ fi
+ ;;
+ amd64)
+ if is_multilib ; then
+ sed -i -e '/GLIBCXX_IS_NATIVE=/s:false:true:' libstdc++-v3/configure || die
+ fi
+ ;;
+ esac
+}