From 3417dc39a8ce4c3b64369491f8b475831533d2c3 Mon Sep 17 00:00:00 2001 From: Zorry Date: Fri, 14 Aug 2009 15:09:12 +0200 Subject: libstdc++-v3 fixed in flag-o-matic.eclass --- sys-libs/libstdc++-v3/ChangeLog | 235 --------------------- sys-libs/libstdc++-v3/Manifest | 6 - .../libstdc++-v3/files/compile_with_no-SSP.patch | 11 - sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild | 179 ---------------- sys-libs/libstdc++-v3/metadata.xml | 5 - 5 files changed, 436 deletions(-) delete mode 100644 sys-libs/libstdc++-v3/ChangeLog delete mode 100644 sys-libs/libstdc++-v3/Manifest delete mode 100644 sys-libs/libstdc++-v3/files/compile_with_no-SSP.patch delete mode 100644 sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild delete mode 100644 sys-libs/libstdc++-v3/metadata.xml diff --git a/sys-libs/libstdc++-v3/ChangeLog b/sys-libs/libstdc++-v3/ChangeLog deleted file mode 100644 index 13802e6b..00000000 --- a/sys-libs/libstdc++-v3/ChangeLog +++ /dev/null @@ -1,235 +0,0 @@ -# ChangeLog for sys-libs/libstdc++-v3 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/ChangeLog,v 1.60 2009/02/17 03:28:06 vapier Exp $ - - 17 Feb 2009; Mike Frysinger libstdc++-v3-3.3.6.ebuild: - Restore USE=multilib crap #259215. - - 16 Feb 2009; Mike Frysinger libstdc++-v3-3.3.6.ebuild: - Restore out-of-tree building #259192 by Martin von Gagern. - - 16 Feb 2009; Mike Frysinger libstdc++-v3-3.3.6.ebuild: - Simplify ebuild greatly by removing all the extraneous gcc cruft. - - 15 Feb 2009; Mike Frysinger - -files/libstdc++-v3-open_missing_mode.patch, libstdc++-v3-3.3.6.ebuild: - Use the common gcc patchset. - - 05 Feb 2009; Jeff Gardner - +files/libstdc++-v3-open_missing_mode.patch, libstdc++-v3-3.3.6.ebuild: - Patch to compile with gcc-4.3.3, thanks to Magnus Granberg, closes bug - #232102. Fixed repoman warnings galore. - - 01 Feb 2009; Michael Sterrett - libstdc++-v3-3.3.3-r1.ebuild, libstdc++-v3-3.3.4.ebuild, - libstdc++-v3-3.3.6.ebuild: - app-admin/eselect-compiler is long gone - - 21 Jan 2009; Guy Martin libstdc++-v3-3.3.6.ebuild: - hppa stable - - 06 Nov 2008; Jeroen Roovers libstdc++-v3-3.3.6.ebuild: - Marked ~hppa too. Thanks to LuckyLuke for testing. - - 16 Mar 2008; Samuli Suominen libstdc++-v3-3.3.6.ebuild: - amd64 stable wrt #208934, thanks to Jon and Matthias. - - 13 Mar 2008; Markus Rothe - libstdc++-v3-3.3.3-r1.ebuild, libstdc++-v3-3.3.4.ebuild, - libstdc++-v3-3.3.6.ebuild: - Mark this package -ppc64. Does not build with gcc-4 on ppc64. ppc64 moved to - sys-libs/libstdc++-v3-bin. Bug #213286 - - 24 Apr 2007; Raúl Porcel libstdc++-v3-3.3.6.ebuild: - x86 stable - - 09 Dec 2006; Timothy Redaelli - libstdc++-v3-3.3.6.ebuild: - Change cp -a with cp -pPR for not-GNU compatibility. - - 14 Aug 2006; libstdc++-v3-3.3.3-r1.ebuild, - libstdc++-v3-3.3.4.ebuild, libstdc++-v3-3.3.6.ebuild: - - switch default ordering of gcc-config and eselect-compiler to work around - portage bug - - 21 Jul 2006; Diego Pettenò - libstdc++-v3-3.3.6.ebuild: - Add ~x86-fbsd keyword as needed to add diablo-jre-bin (see bug #141071). - - 06 Jun 2006; Jeremy Huddleston - libstdc++-v3-3.3.3-r1.ebuild, libstdc++-v3-3.3.4.ebuild, - libstdc++-v3-3.3.6.ebuild: - Updated DEPEND to accept eselect-compiler. - - 27 Apr 2006; Alec Warner - files/digest-libstdc++-v3-3.3.3-r1, Manifest: - Fixing SHA256 digest, pass four - - 24 Apr 2006; Emanuele Giaquinta - libstdc++-v3-3.3.6.ebuild: - Stable on ppc. - - 29 Apr 2006; Joshua Kinard libstdc++-v3-3.3.4.ebuild: - Marked stable on mips. - - 10 Feb 2006; Herbie Hopkins libstdc++-v3-3.3.4.ebuild, - libstdc++-v3-3.3.6.ebuild: - Use correct libdir in env.d file. - - 22 Jan 2006; Markus Rothe libstdc++-v3-3.3.6.ebuild: - Stable on ppc64 - - 07 Jan 2006; Carsten Lohrke metadata.xml: - Maintainer retired. - - 05 Jan 2006; Gustavo Zacarias - libstdc++-v3-3.3.6.ebuild: - Stable on sparc - - 02 Dec 2005; Mark Loeser libstdc++-v3-3.3.4.ebuild: - Stable on x86 - - 25 Sep 2005; Chris Bainbridge - libstdc++-v3-3.3.3-r1.ebuild, libstdc++-v3-3.3.4.ebuild, - libstdc++-v3-3.3.6.ebuild: - Remove gcc 3.4 flag -mno-tls-direct-seg-refs, bug #103827 - - 23 Jul 2005; Tony Vroon libstdc++-v3-3.3.4.ebuild, - libstdc++-v3-3.3.6.ebuild: - Fix typo; has_multlib_profile -> has_multilib_profile. - -*libstdc++-v3-3.3.6 (23 Jul 2005) - - 23 Jul 2005; Jeremy Huddleston - +libstdc++-v3-3.3.6.ebuild: - Version bump. - - 04 Jun 2005; Danny van Dyk - libstdc++-v3-3.3.4.ebuild: - Fixed multilib handling, both triggers (has_multilib_profile) and - directories (lib64 instead lib). - - 11 May 2005; Diego Pettenò - libstdc++-v3-3.3.4.ebuild: - Make libstdc++ depend on glibc only on glibc systems. - - 07 Feb 2005; Markus Rothe libstdc++-v3-3.3.4.ebuild: - Fix typo in ppc64 CFLAGS-filter - - 21 Nov 2004; Tom Gall libstdc++-v3-3.3.4.ebuild: - fix bug #70972 on ppc64 - - 11 Nov 2004; Joshua Kinard libstdc++-v3-3.3.3-r1.ebuild, - libstdc++-v3-3.3.4.ebuild: - Marked unstable on sparc. - - 31 Oct 2004; Joshua Kinard libstdc++-v3-3.3.3-r1.ebuild: - Marked stable on mips. - - 30 Oct 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild, - libstdc++-v3-3.3.4.ebuild: - updated the ebuild with a table of known valid arch settings for i386/x86-64, - mips, and rs6000/ppc/ppc64 - - 26 Oct 2004; Daniel Goller libstdc++-v3-3.3.4.ebuild: - Do the required magic to deal with G3, G4, G5 archs on gcc3.3 - Closing bug 64252 - - 11 Sep 2004; Travis Tilley -libstdc++-v3-3.3.4-r1.ebuild: - temporarily removing ebuild pending a redesign of the toolchain eclass. - compatibility library targets should be handled differently from normal - library targets. - -*libstdc++-v3-3.3.4-r1 (05 Sep 2004) - - 05 Sep 2004; Travis Tilley +libstdc++-v3-3.3.4-r1.ebuild: - added stack smashing protection and converted the ebuild over to using the new - toolchain.eclass - - 03 Sep 2004; Pieter Van den Abeele - libstdc++-v3-3.3.3-r1.ebuild: - Masked libstdc++-v3-3.3.3-r1.ebuild stable for ppc - - 01 Sep 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild, - libstdc++-v3-3.3.4.ebuild: - made libstdc++-v3 use $(get_libdir) for optionally installing to lib32/lib64 - based on the CONF_LIBDIR setting. CONF_LIBDIR wont be fully supported until - portage 2.0.51 - -*libstdc++-v3-3.3.4 (29 Aug 2004) - - 29 Aug 2004; Travis Tilley +libstdc++-v3-3.3.4.ebuild: - version bump - - 28 Aug 2004; libstdc++-v3-3.3.3-r1.ebuild: - added call to gnuconfig_update - - 28 Aug 2004; libstdc++-v3-3.3.3-r1.ebuild: - remove glibc from the depends if USE=uclibc is set - - 19 Aug 2004; Guy Martin libstdc++-v3-3.3.3-r1.ebuild: - Removed hppa KEYWORD until we have a working >=gcc-3.3.3. - - 17 Aug 2004; Luca Barbato libstdc++-v3-3.3.3-r1.ebuild: - Marked ~ppc - - 02 Aug 2004; Daniel Goller libstdc++-v3-3.3.3-r1.ebuild: - Without stable deps reversing x86 to ~x86 - - 01 Aug 2004; Tom Gall libstdc++-v3-3.3.3-r1.ebuild: - stable on ppc64, bug #59028 - - 31 Jul 2004; Aron Griffis - libstdc++-v3-3.3.3-r1.ebuild: - replace-flags -march=pentium-m -march=pentium3 for gcc-3.3 compat #58967 - - 30 Jul 2004; Daniel Goller libstdc++-v3-3.3.3-r1.ebuild: - Marked stable on x86 - - 25 Jul 2004; Daniel Goller libstdc++-v3-3.3.3-r1.ebuild: - Marked ~x86 for gcc3.4 profile - - 15 Jul 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild: - added -fstack-protector and a few others to the list of filtered flags - - 13 Jul 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild: - filter some gcc 3.4 flags that the gcc 3.3.3 xgcc will fail on - - 11 Jul 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild: - gcc 3.3 doesnt support -mtune on numerous archs, so xgcc will fail if we have - it in CFLAGS. the ebuild now filters this flag. - - 02 Jul 2004; Jeremy Huddleston - libstdc++-v3-3.3.3-r1.ebuild: - virtual/glibc -> virtual/libc - - 10 Jun 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild: - stable on amd64 - - 10 Jun 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild: - fixed the bug where some apps would fail to link if libstdc++-v3 is installed. - I didnt have previous ebuilds remove the .so symlink... this one does. - - 31 May 2004; Joshua Kinard libstdc++-v3-3.3.3-r1.ebuild: - Added ~mips to KEYWORDS. - - 26 May 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild: - adding ~amd64 keyword now that gcc 3.4 is also marked ~amd64 - - 27 May 2004; Travis Tilley libstdc++-v3-3.3.3-r1.ebuild: - changed directory so that it doesnt clash with gcc 3.3.3 - -*libstdc++-v3-3.3.3-r1 (24 May 2004) - - 24 May 2004; Travis Tilley +libstdc++-v3-3.3.3-r1.ebuild, - -libstdc++-v3-3.3.3.ebuild: - moved library to versioned directory with an env.d entry that tries to be as - far after the 3.4 libstdc++ as possible. hopefully this will fix the problems - people see with arts and similar ebuilds when the compat package is installed. - -*libstdc++-v3-3.3.3 (23 May 2004) - - 23 May 2004; Travis Tilley +Changelog, - +files/libstdc++_amd64_multilib_hack.patch, +libstdc++-v3-3.3.3.ebuild: - initial commit - diff --git a/sys-libs/libstdc++-v3/Manifest b/sys-libs/libstdc++-v3/Manifest deleted file mode 100644 index bc503014..00000000 --- a/sys-libs/libstdc++-v3/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX compile_with_no-SSP.patch 504 RMD160 930629599b7ccc9b6ec653347701dbab3293c860 SHA1 9524e40c135667d00b248e55bca5b5e98ba38e1f SHA256 59cc57651fb4431d3afa6c8853299e8666832a7d339c7405f2ee701c33809355 -DIST gcc-3.3.6-patches-1.6.tar.bz2 48814 RMD160 3f25b67015c6e4d874690c48d23292a670501e0c SHA1 aba4661d50787aad26849497d45194804bf21b73 SHA256 c692f8f00d16947e13dd86ca974e419c35d1befee9ee915fa6c50a741487ef63 -DIST gcc-3.3.6.tar.bz2 23972413 RMD160 b32c7a08c690857f0ac52dda3deb47cf5775d967 SHA1 2cc43978bb09af6c2ccfdf74797d10d7cc2596fb SHA256 1c1aa533c67e9da5e55ed4f5736258dc753466bd716bdae3fb88fb66e6ff1d7f -EBUILD libstdc++-v3-3.3.6-r1.ebuild 4906 RMD160 32b155e30ff211118e2f3123d245bbab29031056 SHA1 c0e2cd74e2641e599102d206454e72f7c1f77c72 SHA256 9894a05da00869610aea4c0b09eb7142bd15c916b0673404b23b986594ec11a5 -MISC ChangeLog 9033 RMD160 4a9c940783eae5b09601c425a7a2776c3314ebba SHA1 d7c70eeb693bede965a11a26c332522b9ff6f3e3 SHA256 fe1ab4fbd2c502eaeffce5ddf7d9f856ca18b36d4ffe1a3e25d172240ba78c97 -MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a diff --git a/sys-libs/libstdc++-v3/files/compile_with_no-SSP.patch b/sys-libs/libstdc++-v3/files/compile_with_no-SSP.patch deleted file mode 100644 index d4598ff8..00000000 --- a/sys-libs/libstdc++-v3/files/compile_with_no-SSP.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gcc/Makefile.in 2009-03-10 00:13:55.000000000 +0000 -+++ gcc/Makefile.in 2009-03-10 00:19:02.000000000 +0000 -@@ -623,7 +623,7 @@ - # This is the variable actually used when we compile. - # If you change this line, you probably also need to change the definition - # of HOST_CFLAGS in build-make to match. --ALL_CFLAGS = $(X_CFLAGS) $(T_CFLAGS) \ -+ALL_CFLAGS = $(X_CFLAGS) $(T_CFLAGS) -fno-stack-protector \ - $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) $(XCFLAGS) @DEFS@ - - # Likewise. diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild deleted file mode 100644 index 6f57d444..00000000 --- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild,v 1.24 2009/02/17 03:28:06 vapier Exp $ - -inherit eutils flag-o-matic libtool multilib - -transform_known_flags() { - declare setting - - # and on x86, we just need to filter the 3.4 specific amd64 -marchs - replace-cpu-flags k8 athlon64 opteron x86-64 - - # gcc 3.3 doesn't support -march=pentium-m - replace-cpu-flags pentium-m pentium3m pentium3 - - #GCC 3.3 does not understand G3, G4, G5 on ppc - replace-cpu-flags G3 750 - replace-cpu-flags G4 7400 - replace-cpu-flags G5 7400 -} - -is_arch_allowed() { - i386_processor_table="i386 i486 i586 pentium pentium-mmx winchip-c6 \ - winchip2 c3 i686 pentiumpro pentium2 pentium3 pentium4 prescott \ - nocona k6 k6-2 k6-3 athlon athlon-tbird x86-64 athlon-4 athlon-xp \ - athlon-mp" - - for proc in ${i386_processor_table} ; do - [ "${proc}" == "${1}" ] && return 0 - done - - mips_processor_table="mips1 mips2 mips3 mips4 mips32 mips64 r3000 r2000 \ - r3900 r6000 r4000 vr4100 vr4111 vr4120 vr4300 r4400 r4600 orion \ - r4650 r8000 vr5000 vr5400 vr5500 4kc 4kp 5kc 20kc sr71000 sb1" - - for proc in ${mips_processor_table} ; do - [ "${proc}" == "${1}" ] && return 0 - done - - rs6000_processor_table="common power power2 power3 power4 powerpc \ - powerpc64 rios rios1 rsc rsc1 rios2 rs64a 401 403 405 505 601 602 \ - 603 603e ec603e 604 604e 620 630 740 750 7400 7450 8540 801 821 823 \ - 860" - - for proc in ${rs6000_processor_table} ; do - [ "${proc}" == "${1}" ] && return 0 - done - - return 1 -} - -do_filter_flags() { - declare setting - - # In general gcc does not like optimization, and add -O2 where - # it is safe. This is especially true for gcc 3.3 + 3.4 - replace-flags -O? -O2 - - # gcc 3.3 doesn't support -mtune on numerous archs, so xgcc will fail - setting="`get-flag mtune`" - [ ! -z "${setting}" ] && filter-flags -mtune="${setting}" - - # in gcc 3.3 there is a bug on ppc64 where if -mcpu is used - # the compiler incorrectly assumes the code you are about to build - # is 32 bit - use ppc64 && setting="`get-flag mcpu`" - [ ! -z "${setting}" ] && filter-flags -mcpu="${setting}" - - # only allow the flags that we -know- are supported - transform_known_flags - setting="`get-flag march`" - if [ ! -z "${setting}" ] ; then - is_arch_allowed "${setting}" || filter-flags -march="${setting}" - fi - setting="`get-flag mcpu`" - if [ ! -z "${setting}" ] ; then - is_arch_allowed "${setting}" || filter-flags -mcpu="${setting}" - fi - - # xgcc wont understand gcc 3.4 flags... - filter-flags -fno-unit-at-a-time - filter-flags -funit-at-a-time - filter-flags -fweb - filter-flags -fno-web - filter-flags -mno-tls-direct-seg-refs - - # xgcc isnt patched with propolice - if [[ get-version < 4.1 ]] ; then - filter-flags -fno-stack-protector-all - filter-flags -fstack-protector-all - filter-flags -fno-stack-protector - filter-flags -fstack-protector - fi - - # xgcc isnt patched with the gcc symbol visibility patch - filter-flags -fvisibility-inlines-hidden - filter-flags -fvisibility=hidden - - # ...sure, why not? - strip-unsupported-flags - - strip-flags -} - -PATCH_VER="1.6" - -DESCRIPTION="Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++" -HOMEPAGE="http://gcc.gnu.org/libstdc++/" -SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-${PV}.tar.bz2 - mirror://gentoo/gcc-${PV}-patches-${PATCH_VER}.tar.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="5" -KEYWORDS="amd64 hppa ~mips ppc -ppc64 sparc x86 ~x86-fbsd" -IUSE="multilib nls" - -S=${WORKDIR}/gcc-${PV} - -src_unpack() { - unpack ${A} - cd "${S}" - EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - - # gcc isnt patched with SSP support and we can't use filter-flags on > GCC 4.1 - if [[ get-version > 4.1 ]] ; then - epatch "$FILESDIR"/compile_with_no-SSP.patch - fi - - elibtoolize --portage --shallow - ./contrib/gcc_update --touch - mkdir -p "${WORKDIR}"/build - - if use multilib ; then - # ugh, this shit has to match the way we've hacked gcc else - # the build falls apart #259215 - sed -i \ - -e 's:\(MULTILIB_OSDIRNAMES = \).*:\1../lib64 ../lib32:' \ - "${S}"/gcc/config/i386/t-linux64 \ - || die "sed failed!" - fi -} - -src_compile() { - cd "${WORKDIR}"/build - do_filter_flags - ECONF_SOURCE=${S} - econf \ - --enable-shared \ - --with-system-zlib \ - --enable-languages=c++ \ - --enable-threads=posix \ - --enable-long-long \ - --disable-checking \ - --enable-cstdio=stdio \ - --enable-__cxa_atexit \ - $(use_enable multilib) \ - $(use_enable nls) \ - $(use_with !nls included-gettext) \ - || die - - touch "${S}"/gcc/c-gperf.h - - emake all-target-libstdc++-v3 || die -} - -src_install() { - emake -j1 \ - -C "${WORKDIR}"/build \ - DESTDIR="${D}" \ - install-target-libstdc++-v3 || die - - # scrub everything but the library we care about - pushd "${D}" >/dev/null - mv usr/lib* . || die - rm -rf usr - rm -f lib*/*.{a,la,so} || die - dodir /usr - mv lib* usr/ || die -} diff --git a/sys-libs/libstdc++-v3/metadata.xml b/sys-libs/libstdc++-v3/metadata.xml deleted file mode 100644 index fb4199eb..00000000 --- a/sys-libs/libstdc++-v3/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - -toolchain - -- cgit v1.2.3-65-gdbad