diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-03-03 14:34:49 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-03-03 14:34:49 +0000 |
commit | cbe4b873e610e4d235bb5c42fbe60d05d03a5418 (patch) | |
tree | bbcd93865868a13720d7b871ef31120ae6eb920c /sys-devel/gcc | |
parent | add placeholder for old eclass, #124789 (diff) | |
download | historical-cbe4b873e610e4d235bb5c42fbe60d05d03a5418.tar.gz historical-cbe4b873e610e4d235bb5c42fbe60d05d03a5418.tar.bz2 historical-cbe4b873e610e4d235bb5c42fbe60d05d03a5418.zip |
remove code that never gets executed, as well as the patch applied by this code (use multilib && use amd64 == nono)
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/gcc/Manifest | 21 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc331_use_multilib.amd64.patch | 11 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.3.2-r7.ebuild | 61 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.4.1-r3.ebuild | 53 |
5 files changed, 30 insertions, 124 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog index eb1ca3c284cc..ffce6fdb94e2 100644 --- a/sys-devel/gcc/ChangeLog +++ b/sys-devel/gcc/ChangeLog @@ -1,6 +1,12 @@ # 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.503 2006/03/03 02:24:32 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.504 2006/03/03 14:34:49 blubb Exp $ + + 03 Mar 2006; Simon Stelling <blubb@gentoo.org> + -files/gcc331_use_multilib.amd64.patch, gcc-3.3.2-r7.ebuild, + gcc-3.4.1-r3.ebuild: + remove code that never gets executed, as well as the patch applied by this + code (use multilib && use amd64 == nono) *gcc-4.1.0 (03 Mar 2006) diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 61b426b7a464..3554804390dd 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -1,6 +1,6 @@ -MD5 f29b56c9561e6f6398e12dcbfb852396 ChangeLog 102263 -RMD160 5da43e01a157fb86f9b29396f9f2b4a2cf005ff6 ChangeLog 102263 -SHA256 bfe35be9d1ad4a7cb3ec94f41b36b5356f285ae86f94ff517d23a87317e9b349 ChangeLog 102263 +MD5 ee9a63eb1aca2fb2de3a0b30fda8b98c ChangeLog 102517 +RMD160 48b9934fecb7248f3d7a60e410519b2e2f1dfc4f ChangeLog 102517 +SHA256 5890085c816dc0f245b1393331015bdf3f14e4953b473b5b615c03e0fdefcce0 ChangeLog 102517 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 @@ -217,9 +217,6 @@ SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea files/gc MD5 f6eef7e81b209ca3c63c39e319b4a7a5 files/gcc-spec-env.patch 1389 RMD160 55e3920f2db033629d2846e8a8aef69ef98d4508 files/gcc-spec-env.patch 1389 SHA256 9d157b7dabd7e0921b1a72d551281a7500351748329c6bd442005d61a470a70d files/gcc-spec-env.patch 1389 -MD5 8baffb486c75efe253bd2daa88daa7d6 files/gcc331_use_multilib.amd64.patch 352 -RMD160 49ad0b0b365bc1d663c7ef38875ae2ac1614546e files/gcc331_use_multilib.amd64.patch 352 -SHA256 b38182d39a2bd0474476f279034805d921010037047b747ec35a473c0f6936d0 files/gcc331_use_multilib.amd64.patch 352 MD5 e3193bdffb435b77a21bfb504ff6f591 files/mkinfodir 7324 RMD160 96bbe8860ae8c0a50db42fea01cc1c2216bd36c8 files/mkinfodir 7324 SHA256 0565353e767e253207adb8b5c9be9ba215a628447e075a4dc7bb3183ed099d2a files/mkinfodir 7324 @@ -259,9 +256,9 @@ SHA256 33f12b02018457474d41d58356ce2442ad0ab1633852fd0d42bb94adcb4d7fd7 gcc-3.2. MD5 50a28b5bf54b833ca3bb3bfbf31d4ac9 gcc-3.2.3-r4.ebuild 19947 RMD160 d581e8369d0c3ecc35443bfd097edf707600759d gcc-3.2.3-r4.ebuild 19947 SHA256 8652271e1ffe48fb4336590d1066b88b05cc71663a0dce0fdd84089ab64a05bd gcc-3.2.3-r4.ebuild 19947 -MD5 6a290233a7c7a2759b09c3f590449e69 gcc-3.3.2-r7.ebuild 21863 -RMD160 39a4721e5225bf90447e9cb1dceeb6f6fec2dedb gcc-3.3.2-r7.ebuild 21863 -SHA256 6ae719a715610314b53e74c593d49454ec48e96cde466f87d3cd63a5f7c2e4c2 gcc-3.3.2-r7.ebuild 21863 +MD5 6856bd98253537f6a56229eb063280af gcc-3.3.2-r7.ebuild 20221 +RMD160 1c998cdf5f96ee4e6572465005501f82a98b4fdc gcc-3.3.2-r7.ebuild 20221 +SHA256 a44b339df3a8bebdd48f3db264ecf3d0de63a9877fb2d99f84b7ca79bc1b0571 gcc-3.3.2-r7.ebuild 20221 MD5 94f95fdb1a8363d4cc3b49198c2eb2cd gcc-3.3.5-r1.ebuild 3777 RMD160 629f349c53984a689987408f086ff4c27efe06f5 gcc-3.3.5-r1.ebuild 3777 SHA256 63d5dbac66568ab9b2e8520b86a656ae30c024b910217d538c3f74f474df81b0 gcc-3.3.5-r1.ebuild 3777 @@ -271,9 +268,9 @@ SHA256 c68a8026f1061fadb64c5355e6c5592380b60c80eaafeb91948cb71e7332e671 gcc-3.3. MD5 77e1d3a0b3b76845c0c3d97ad5e718cf gcc-3.3.6.ebuild 3166 RMD160 f2da0b7b31543115e3b751655899f28d92570c58 gcc-3.3.6.ebuild 3166 SHA256 4d782cc982d7e35722b132ebbdfd3f06e2ae72afabb50f4ba041838d68bf353a gcc-3.3.6.ebuild 3166 -MD5 307b46ee9b86bb1d182824303c4b01f3 gcc-3.4.1-r3.ebuild 31283 -RMD160 9b98fc0821d48eeaad7e51146c2cffe7ea8b9ef0 gcc-3.4.1-r3.ebuild 31283 -SHA256 5346cfd504414b56ab4f07a6b8fe8d71950a42c39d4245ee7fd425432c5c0122 gcc-3.4.1-r3.ebuild 31283 +MD5 8ebd0821b9d4ec10309878995c10c48a gcc-3.4.1-r3.ebuild 29831 +RMD160 40f4c4189e94ee43160b626bf2a28bee279d7fe8 gcc-3.4.1-r3.ebuild 29831 +SHA256 64953c6e1cf501e7abfb9d5456265b38fbbc9f63e2d3d685d3a6b81aa5bf6b07 gcc-3.4.1-r3.ebuild 29831 MD5 a7ddc4fad0f1043fe5fc0b5d91d877fc gcc-3.4.4-r1.ebuild 5136 RMD160 f0b2b05c3c524d81a58011fdbbd9dedab6ab4dfb gcc-3.4.4-r1.ebuild 5136 SHA256 96cd12c817939ed3cdb15dccb797feb956614629acfac81ffa2ebc164d0ebe24 gcc-3.4.4-r1.ebuild 5136 diff --git a/sys-devel/gcc/files/gcc331_use_multilib.amd64.patch b/sys-devel/gcc/files/gcc331_use_multilib.amd64.patch deleted file mode 100644 index 4ba45d19bc5f..000000000000 --- a/sys-devel/gcc/files/gcc331_use_multilib.amd64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gcc/config/i386/t-linux64.orig 2003-06-28 00:19:59.000000000 +0000 -+++ gcc/config/i386/t-linux64 2003-06-28 00:20:07.000000000 +0000 -@@ -6,7 +6,7 @@ - - MULTILIB_OPTIONS = m64/m32 - MULTILIB_DIRNAMES = 64 32 --MULTILIB_OSDIRNAMES = ../lib64 ../lib -+MULTILIB_OSDIRNAMES = ../lib64 ../lib32 - - LIBGCC = stmp-multilib - INSTALL_LIBGCC = install-multilib diff --git a/sys-devel/gcc/gcc-3.3.2-r7.ebuild b/sys-devel/gcc/gcc-3.3.2-r7.ebuild index 93142391f1ea..353d5c7ffcf1 100644 --- a/sys-devel/gcc/gcc-3.3.2-r7.ebuild +++ b/sys-devel/gcc/gcc-3.3.2-r7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.3.2-r7.ebuild,v 1.24 2005/10/07 02:01:56 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.2-r7.ebuild,v 1.25 2006/03/03 14:34:49 blubb Exp $ IUSE="static nls bootstrap java build X multilib gcj emul-linux-x86" @@ -122,7 +122,6 @@ DEPEND="virtual/libc >=sys-devel/binutils-2.14.90.0.6-r1 >=sys-devel/bison-1.875 || ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.1 ) - amd64? ( multilib? ( >=app-emulation/emul-linux-x86-baselibs-1.0 ) ) !build? ( >=sys-libs/ncurses-5.2-r2 nls? ( sys-devel/gettext ) )" @@ -286,13 +285,6 @@ src_unpack() { # mv -f ${WORKDIR}/patch/{40,41}* ${WORKDIR}/patch/exclude/ mv -f ${WORKDIR}/patch/41* ${WORKDIR}/patch/exclude/ - if use multilib && [ "${ARCH}" = "amd64" ] - then - mv -f ${WORKDIR}/patch/06* ${WORKDIR}/patch/exclude/ - bzip2 -c ${FILESDIR}/gcc331_use_multilib.amd64.patch > \ - ${WORKDIR}/patch/06_amd64_gcc331-use-multilib.patch.bz2 - fi - epatch ${WORKDIR}/patch fi @@ -370,18 +362,12 @@ src_compile() { myconf="${myconf} --enable-interpreter --enable-java-awt=xlib --with-x" fi - # Multilib not yet supported - if use multilib && [ "${ARCH}" = "amd64" ] + if [ "${ARCH}" = "amd64" ] then - einfo "WARNING: Multilib support enabled. This is still experimental." - myconf="${myconf} --enable-multilib" - else - if [ "${ARCH}" = "amd64" ] - then - einfo "WARNING: Multilib not enabled. You will not be able to build 32bit binaries." - fi - myconf="${myconf} --disable-multilib" + einfo "WARNING: Multilib not enabled. You will not be able to build 32bit binaries." fi + myconf="${myconf} --disable-multilib" + # Fix linking problem with c++ apps which where linkedi # agains a 3.2.2 libgcc @@ -497,14 +483,7 @@ src_install() { dodir /etc/env.d/gcc echo "PATH=\"${BINPATH}\"" > ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} echo "ROOTPATH=\"${BINPATH}\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} - if use multilib && [ "${ARCH}" = "amd64" ] - then - # amd64 is a bit unique because of multilib. Add some other paths - echo "LDPATH=\"${LIBPATH}:${LIBPATH}/32:${LIBPATH}/../lib64:${LIBPATH}/../lib32\"" >> \ - ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} - else - echo "LDPATH=\"${LIBPATH}\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} - fi + echo "LDPATH=\"${LIBPATH}\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} echo "MANPATH=\"${DATAPATH}/man\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} echo "INFOPATH=\"${DATAPATH}/info\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} echo "STDCXX_INCDIR=\"${STDCXX_INCDIR##*/}\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${GCC_RELEASE_VER} @@ -655,16 +634,6 @@ src_install() { doins ${FILESDIR}/awk/fixlafiles.awk exeinto /sbin doexe ${FILESDIR}/fix_libtool_files.sh - - if use multilib && [ "${ARCH}" = "amd64" ] - then - # If using multilib, GCC has a bug, where it doesn't know where to find - # -lgcc_s when linking while compiling with g++ . ${LIBPATH} is in - # it's path though, so ln the 64bit and 32bit versions of -lgcc_s - # to that directory. - ln -sf ${LIBPATH}/../lib64/libgcc_s.so ${D}/${LIBPATH}/libgcc_s.so - ln -sf ${LIBPATH}/../lib32/libgcc_s_32.so ${D}/${LIBPATH}/libgcc_s_32.so - fi } pkg_preinst() { @@ -676,25 +645,13 @@ pkg_preinst() { # Make again sure that the linker "should" be able to locate # libstdc++.so ... - if use multilib && [ "${ARCH}" = "amd64" ] - then - # Can't always find libgcc_s.so.1, make it find it - export LD_LIBRARY_PATH="${LIBPATH}:${LIBPATH}/../lib64:${LIBPATH}/../lib32:${LD_LIBRARY_PATH}" - else - export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" - fi + export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" ${ROOT}/sbin/ldconfig } pkg_postinst() { - if use multilib && [ "${ARCH}" = "amd64" ] - then - # Can't always find libgcc_s.so.1, make it find it - export LD_LIBRARY_PATH="${LIBPATH}:${LIBPATH}/../lib64:${LIBPATH}/../lib32:${LD_LIBRARY_PATH}" - else - export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" - fi + export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" if [ "${ROOT}" = "/" -a "${CHOST}" = "${CCHOST}" ] then gcc-config --use-portage-chost ${CCHOST}-${GCC_RELEASE_VER} diff --git a/sys-devel/gcc/gcc-3.4.1-r3.ebuild b/sys-devel/gcc/gcc-3.4.1-r3.ebuild index 048018739653..50d3e015554f 100644 --- a/sys-devel/gcc/gcc-3.4.1-r3.ebuild +++ b/sys-devel/gcc/gcc-3.4.1-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.1-r3.ebuild,v 1.20 2005/10/07 02:01:56 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.1-r3.ebuild,v 1.21 2006/03/03 14:34:49 blubb Exp $ IUSE="static nls bootstrap build multilib gcj gtk fortran objc hardened n32 n64 emul-linux-x86" @@ -27,7 +27,6 @@ DEPEND="virtual/libc amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 ) >=sys-devel/bison-1.875 || ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.1 ) - amd64? ( multilib? ( >=app-emulation/emul-linux-x86-baselibs-1.0 ) ) !build? ( gcj? ( gtk? ( >=x11-libs/gtk+-2.2 ) @@ -362,13 +361,6 @@ do_patch_tarball() { cp ${S}/gcc/config/sh/t-sh64 ${S}/gcc/config/sh/t-sh64-uclibc || \ die "can't copy sh/t-sh64" - if use multilib && [ "${ARCH}" = "amd64" ] - then - mv -f ${WORKDIR}/patch/06* ${WORKDIR}/patch/exclude/ - bzip2 -c ${FILESDIR}/gcc331_use_multilib.amd64.patch > \ - ${WORKDIR}/patch/06_amd64_gcc331-use-multilib.patch.bz2 - fi - epatch ${WORKDIR}/patch # the uclibc patches need autoconf to be run @@ -376,10 +368,6 @@ do_patch_tarball() { use build || ( cd ${S}/libstdc++-v3; autoconf; cd ${S} ) #use build && use elibc_uclibc && ewarn "uclibc in build stage is not supported yet" && exit 1 - elif use multilib && [ "${ARCH}" = "amd64" ] - then - # We need this even if there isnt a patchset - epatch ${FILESDIR}/gcc331_use_multilib.amd64.patch fi } @@ -511,15 +499,6 @@ src_unpack() { fi fi - if use amd64 && use multilib ; then - # this should hack around the GCC_NO_EXECUTABLES bug - epatch ${FILESDIR}/3.4.1/gcc-3.4.1-glibc-is-native.patch - cd ${S}/libstdc++-v3 - einfo "running autoreconf..." - autoreconf - cd ${S} - fi - # Misdesign in libstdc++ (Redhat) cp -a ${S}/libstdc++-v3/config/cpu/i{4,3}86/atomicity.h @@ -577,10 +556,6 @@ src_compile() { einfo "Multilib support enabled. This is still experimental." myconf="${myconf} --enable-multilib" else - if [ "${ARCH}" = "amd64" ] - then - einfo "WARNING: Multilib not enabled. You will not be able to build 32bit binaries." - fi myconf="${myconf} --disable-multilib" fi @@ -741,13 +716,7 @@ src_install() { # The LDPATH stuff is kinda iffy now that we need to provide compatibility # with older versions of GCC for binary apps. - if use multilib && [ "${ARCH}" = "amd64" ] - then - # amd64 is a bit unique because of multilib. Add some other paths - LDPATH="${LIBPATH}:${LIBPATH}/32:${LIBPATH}/../lib64:${LIBPATH}/../lib32" - else - LDPATH="${LIBPATH}" - fi + LDPATH="${LIBPATH}" if [ "${BULIB}" != "" ] then LDPATH="${LDPATH}:${LOC}/lib/gcc-lib/${CCHOST}/${BULIB}" @@ -939,25 +908,13 @@ pkg_preinst() { # Make again sure that the linker "should" be able to locate # libstdc++.so ... - if use multilib && [ "${ARCH}" = "amd64" ] - then - # Can't always find libgcc_s.so.1, make it find it - export LD_LIBRARY_PATH="${LIBPATH}:${LIBPATH}/../lib64:${LIBPATH}/../lib32:${LD_LIBRARY_PATH}" - else - export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" - fi + export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" ${ROOT}/sbin/ldconfig } pkg_postinst() { - if use multilib && [ "${ARCH}" = "amd64" ] - then - # Can't always find libgcc_s.so.1, make it find it - export LD_LIBRARY_PATH="${LIBPATH}:${LIBPATH}/../lib64:${LIBPATH}/../lib32:${LD_LIBRARY_PATH}" - else - export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" - fi + export LD_LIBRARY_PATH="${LIBPATH}:${LD_LIBRARY_PATH}" if [ "${ROOT}" = "/" -a "${CHOST}" = "${CCHOST}" ] then gcc-config --use-portage-chost ${CCHOST}-${GCC_RELEASE_VER} |