diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-06 06:14:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-06 06:14:35 +0000 |
commit | 26c6e00c2d0c924217564a9d46897c5cf362ab56 (patch) | |
tree | 50f90bc287af957f3a0c7375ab6c324395344b36 /sys-devel | |
parent | remove stray line continuation (diff) | |
download | historical-26c6e00c2d0c924217564a9d46897c5cf362ab56.tar.gz historical-26c6e00c2d0c924217564a9d46897c5cf362ab56.tar.bz2 historical-26c6e00c2d0c924217564a9d46897c5cf362ab56.zip |
Version bump.
Package-Manager: portage-2.0.53
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gcc/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/gcc/files/digest-gcc-3.4.5 | 5 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.4.5.ebuild | 137 |
4 files changed, 154 insertions, 5 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog index c246a5abf121..bd45b1c695b5 100644 --- a/sys-devel/gcc/ChangeLog +++ b/sys-devel/gcc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gcc # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.471 2005/12/03 20:19:13 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.472 2005/12/06 06:14:35 vapier Exp $ + +*gcc-3.4.5 (06 Dec 2005) + + 06 Dec 2005; Mike Frysinger <vapier@gentoo.org> +gcc-3.4.5.ebuild: + Version bump. *gcc-4.1.0_beta20051202 (03 Dec 2005) diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index cce034ac9e8e..01f2c825cacf 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 74e95d4f1820dc1c364aa5c365d562c3 ChangeLog 96795 +MD5 9fee21e5b011c686c168f58bc885686b ChangeLog 96906 MD5 8ec9b0352d226e4693cabffe0fa5bba6 files/3.2.1/gcc31-loop-load-final-value.patch 3324 MD5 5e8f2122ef7f9ce187b0a0d50ac9d24a files/3.2.1/gcc32-arm-disable-mathf.patch 2229 MD5 044a164462d9392aa67cde6f9fd5c1bc files/3.2.1/gcc32-arm-reload1-fix.patch 932 @@ -67,6 +67,7 @@ MD5 c6ea8a92bac6d2638c54c011f98bc5b8 files/digest-gcc-3.4.1-r3 442 MD5 b756cafc55e6590c804a20976e6ebc6e files/digest-gcc-3.4.3-r1 607 MD5 ba7469d4f191ff1baa00b9dd45e3dc6b files/digest-gcc-3.4.3.20050110-r2 616 MD5 fa32cd40c637c54b4e3b89dd4ed4c573 files/digest-gcc-3.4.4-r1 450 +MD5 009ef464ff3b7e1a3f6aa78e20736969 files/digest-gcc-3.4.5 364 MD5 f0c74f849066ffaefe7d364d69a71961 files/digest-gcc-4.0.1 380 MD5 935eea1ace4e13688f89c88d75b38dbc files/digest-gcc-4.0.2-r1 381 MD5 93ea14733f1263068e6d320beac16361 files/digest-gcc-4.1.0_beta20051202 71 @@ -96,6 +97,7 @@ MD5 307b46ee9b86bb1d182824303c4b01f3 gcc-3.4.1-r3.ebuild 31283 MD5 71e25d702be3dd13ee277b7383345fad gcc-3.4.3-r1.ebuild 5477 MD5 769273e24a52732ce892d08ebeb4bbeb gcc-3.4.3.20050110-r2.ebuild 5240 MD5 ad86c8dcde61118c4d96fb1c1ad9c554 gcc-3.4.4-r1.ebuild 5205 +MD5 9a3bb62bb6f96135f6b8e42792c353b4 gcc-3.4.5.ebuild 5030 MD5 c2611e7e7fdf69e451da52b22ef78815 gcc-4.0.1.ebuild 1889 MD5 f383e6cf5c7f764a5e3083d1143e0117 gcc-4.0.2-r1.ebuild 2350 MD5 e8df080ee9666004143a1bc68f972373 gcc-4.1.0_beta20051202.ebuild 2169 @@ -103,7 +105,7 @@ MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDlRdPgIKl8Uu19MoRAo6xAJ9Vtiee5C/OKGkfa1Hg2gN+AvNqcACeJ0bh -Sw2p8EGOTDRnALcWWVogqC4= -=z3BG +iD8DBQFDlSz2gIKl8Uu19MoRAqgBAJwIIllC7cbepT/5CvHEwgKTG9gOoACeOWZb +MqM9SaKriQurPXq38F4CXmY= +=Sgzk -----END PGP SIGNATURE----- diff --git a/sys-devel/gcc/files/digest-gcc-3.4.5 b/sys-devel/gcc/files/digest-gcc-3.4.5 new file mode 100644 index 000000000000..11c7c753afcb --- /dev/null +++ b/sys-devel/gcc/files/digest-gcc-3.4.5 @@ -0,0 +1,5 @@ +MD5 c4147ee1bff0babe6e0ed4033da04677 gcc-3.4.5-patches-1.0.tar.bz2 47040 +MD5 c9403328cea26d2582310d7c821eb95a gcc-3.4.5-piepatches-v8.7.9.tar.bz2 8140 +MD5 cb9fda1432fb18b239935c9e23c0b637 gcc-3.4.5-ssp-1.0.tar.bz2 31589 +MD5 b4f1d2ab4001a2d186b8d5830fcdccfc gcc-3.4.5-uclibc-patches-1.0.tar.bz2 26048 +MD5 7c3c3c3e764dcee5eb771432062d69e1 gcc-3.4.5.tar.bz2 28254232 diff --git a/sys-devel/gcc/gcc-3.4.5.ebuild b/sys-devel/gcc/gcc-3.4.5.ebuild new file mode 100644 index 000000000000..2c5b743664b3 --- /dev/null +++ b/sys-devel/gcc/gcc-3.4.5.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.5.ebuild,v 1.1 2005/12/06 06:14:35 vapier Exp $ + +MAN_VER="" +PATCH_VER="1.0" +UCLIBC_VER="1.0" +PIE_VER="8.7.9" +PP_VER="1.0" +HTB_VER="" #1.00" + +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 ) + ) + amd64? ( multilib? ( >=app-emulation/emul-linux-x86-glibc-1.1 ) ) + !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-v2.patch + fi + ;; + amd64) + if is_multilib ; then + sed -i -e '/GLIBCXX_IS_NATIVE=/s:false:true:' libstdc++-v3/configure || die + fi + ;; + esac +} |