summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/kgcc64')
-rw-r--r--sys-devel/kgcc64/ChangeLog11
-rw-r--r--sys-devel/kgcc64/files/digest-kgcc64-3.4.66
-rw-r--r--sys-devel/kgcc64/files/digest-kgcc64-4.1.16
-rw-r--r--sys-devel/kgcc64/kgcc64-3.4.6.ebuild59
-rw-r--r--sys-devel/kgcc64/kgcc64-4.1.1.ebuild36
5 files changed, 116 insertions, 2 deletions
diff --git a/sys-devel/kgcc64/ChangeLog b/sys-devel/kgcc64/ChangeLog
index d5927d59ccf8..1275dee11a1d 100644
--- a/sys-devel/kgcc64/ChangeLog
+++ b/sys-devel/kgcc64/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-devel/kgcc64
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.1 2005/12/22 02:02:04 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.2 2006/07/17 06:03:37 vapier Exp $
+
+*kgcc64-4.1.1 (17 Jul 2006)
+*kgcc64-3.4.6 (17 Jul 2006)
+
+ 17 Jul 2006; Mike Frysinger <vapier@gentoo.org> +kgcc64-3.4.6.ebuild,
+ +kgcc64-4.1.1.ebuild:
+ New versions #136913 by Joshua Kinard.
*kgcc64-3.4.5 (22 Dec 2005)
diff --git a/sys-devel/kgcc64/files/digest-kgcc64-3.4.6 b/sys-devel/kgcc64/files/digest-kgcc64-3.4.6
new file mode 100644
index 000000000000..733e4f637e23
--- /dev/null
+++ b/sys-devel/kgcc64/files/digest-kgcc64-3.4.6
@@ -0,0 +1,6 @@
+MD5 fe9514353eaf5a09ab16790b7714481b gcc-3.4.6-patches-1.2.tar.bz2 54757
+RMD160 d4e1240b9e45b7661b7f8bf4f57bb2c9cac17686 gcc-3.4.6-patches-1.2.tar.bz2 54757
+SHA256 43253a8defa6111bd6f107178cc46f425ec81efe0eb26b730c11c422a4d4de26 gcc-3.4.6-patches-1.2.tar.bz2 54757
+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/kgcc64/files/digest-kgcc64-4.1.1 b/sys-devel/kgcc64/files/digest-kgcc64-4.1.1
new file mode 100644
index 000000000000..69b657cc5b68
--- /dev/null
+++ b/sys-devel/kgcc64/files/digest-kgcc64-4.1.1
@@ -0,0 +1,6 @@
+MD5 9c9ef7e72a1555998e408b7afead88f0 gcc-4.1.1-patches-1.6.tar.bz2 29117
+RMD160 deda1cc8917bb63e446048dff15eca32530aa56e gcc-4.1.1-patches-1.6.tar.bz2 29117
+SHA256 b587a9328f359162645601a7f43a2da079df05b85ed3b613b7055023e32f560b gcc-4.1.1-patches-1.6.tar.bz2 29117
+MD5 ad9f97a4d04982ccf4fd67cb464879f3 gcc-4.1.1.tar.bz2 39172003
+RMD160 0edeac242d900b075a7e36796380492b5b3c8564 gcc-4.1.1.tar.bz2 39172003
+SHA256 985cbb23a486570a8783395a42a8689218f5218a0ccdd6bec590eef341367bb7 gcc-4.1.1.tar.bz2 39172003
diff --git a/sys-devel/kgcc64/kgcc64-3.4.6.ebuild b/sys-devel/kgcc64/kgcc64-3.4.6.ebuild
new file mode 100644
index 000000000000..56fab43c9cea
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-3.4.6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-3.4.6.ebuild,v 1.1 2006/07/17 06:03:37 vapier Exp $
+
+case ${CHOST} in
+ hppa*) CTARGET=hppa64-${CHOST#*-};;
+ mips*) CTARGET=${CHOST/mips/mips64};;
+ powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+ s390*) CTARGET=${CHOST/s390/s390x};;
+ sparc*) CTARGET=${CHOST/sparc/sparc64};;
+ i?86*) CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+GCC_TARGET_NO_MULTILIB=true
+
+PATCH_VER="1.2"
+ETYPE="gcc-compiler"
+GCC_FILESDIR=${FILESDIR/${PN}/gcc}
+
+inherit toolchain eutils
+
+DESCRIPTION="64bit kernel compiler"
+
+KEYWORDS="-* ~hppa ~mips ~ppc ~s390 ~sparc ~x86"
+
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="hppa? ( sys-devel/binutils-hppa64 )"
+
+src_unpack() {
+ gcc_src_unpack
+
+ epatch "${GCC_FILESDIR}"/3.4.4/gcc-3.4.4-cross-compile.patch
+
+ # Arch stuff
+ case $(tc-arch) in
+ mips)
+ # 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 "${GCC_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.
+ epatch "${GCC_FILESDIR}"/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers-v2.patch
+ ;;
+ esac
+}
diff --git a/sys-devel/kgcc64/kgcc64-4.1.1.ebuild b/sys-devel/kgcc64/kgcc64-4.1.1.ebuild
new file mode 100644
index 000000000000..3834020ced7f
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-4.1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-4.1.1.ebuild,v 1.1 2006/07/17 06:03:37 vapier Exp $
+
+case ${CHOST} in
+ hppa*) CTARGET=hppa64-${CHOST#*-};;
+ mips*) CTARGET=${CHOST/mips/mips64};;
+ powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+ s390*) CTARGET=${CHOST/s390/s390x};;
+ sparc*) CTARGET=${CHOST/sparc/sparc64};;
+ i?86*) CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+GCC_TARGET_NO_MULTILIB=true
+
+PATCH_VER="1.6"
+ETYPE="gcc-compiler"
+GCC_FILESDIR=${FILESDIR/${PN}/gcc}
+
+inherit toolchain eutils
+
+DESCRIPTION="64bit kernel compiler"
+
+KEYWORDS="-* ~hppa ~mips ~ppc ~s390 ~sparc ~x86"
+
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="hppa? ( sys-devel/binutils-hppa64 )"
+
+src_unpack() {
+ gcc_src_unpack
+
+ # Fix cross-compiling
+ epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+}