diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2005-07-30 21:27:50 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2005-07-30 21:27:50 +0000 |
commit | a43f703ee9f8119a64234ddff2b532bff6d412ff (patch) | |
tree | e3a47b59e90808c06f21c6aec4397e3cd907d257 /sys-devel | |
parent | Bug fixes to linux-wlan-ng (diff) | |
download | betelgeuse-a43f703ee9f8119a64234ddff2b532bff6d412ff.tar.gz betelgeuse-a43f703ee9f8119a64234ddff2b532bff6d412ff.tar.bz2 betelgeuse-a43f703ee9f8119a64234ddff2b532bff6d412ff.zip |
Added k3b and gcc
svn path=/; revision=22
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/ChangeLog | 2085 | ||||
-rw-r--r-- | sys-devel/gcc/Manifest | 16 | ||||
-rw-r--r-- | sys-devel/gcc/files/awk/fixlafiles.awk | 314 | ||||
-rw-r--r-- | sys-devel/gcc/files/awk/scanforssp.awk | 225 | ||||
-rwxr-xr-x | sys-devel/gcc/files/cc | 2 | ||||
-rwxr-xr-x | sys-devel/gcc/files/cpp | 2 | ||||
-rw-r--r-- | sys-devel/gcc/files/digest-gcc-2.95.3-r8 | 2 | ||||
-rw-r--r-- | sys-devel/gcc/files/digest-gcc-4.0.0 | 1 | ||||
-rw-r--r-- | sys-devel/gcc/files/digest-gcc-4.0.1_beta20050514 | 1 | ||||
-rw-r--r-- | sys-devel/gcc/files/fix_libtool_files.sh | 72 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc-spec-env.patch | 29 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc331_use_multilib.amd64.patch | 11 | ||||
-rwxr-xr-x | sys-devel/gcc/files/mkinfodir | 233 | ||||
-rw-r--r-- | sys-devel/gcc/files/pro-police-docs.patch | 74 | ||||
-rwxr-xr-x | sys-devel/gcc/files/scan_libgcc_linked_ssp.sh | 42 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-4.0.1_beta20050514.ebuild | 51 | ||||
-rw-r--r-- | sys-devel/gcc/metadata.xml | 5 |
17 files changed, 3165 insertions, 0 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog new file mode 100644 index 0000000..214362d --- /dev/null +++ b/sys-devel/gcc/ChangeLog @@ -0,0 +1,2085 @@ +# 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.406 2005/05/15 01:42:23 halcy0n Exp $ + +*gcc-4.0.1_beta20050514 (15 May 2005) + + 15 May 2005; Mark Loeser <halcy0n@gentoo.org> + -gcc-4.0.1_beta20050507.ebuild, +gcc-4.0.1_beta20050514.ebuild: + Bump gcc4 ebuild to the newest snapshot + + 11 May 2005; Martin Schlemmer <azarah@gentoo.org> + gcc-4.0.1_beta20050507.ebuild: + Fix depends to actually depend on glibc/binutils that sorda makes things + work (glibc I only depend on something we can build against, not build at + this stage). Remove my patching crud that got included by mistake. + + 11 May 2005; Diego Pettenò <flameeyes@gentoo.org> + gcc-3.4.3.20050110-r2.ebuild, gcc-4.0.1_beta20050507.ebuild: + Make latest gcc (3.4 and 4) depend on glibc just for glibc systems. + + 10 May 2005; Martin Schlemmer <azarah@gentoo.org> + files/awk/fixlafiles.awk, gcc-4.0.0.ebuild, gcc-4.0.1_beta20050507.ebuild: + Fixup fixlafiles.awk detecting of gcc CHOST. + +*gcc-4.0.1_beta20050507 (08 May 2005) + + 08 May 2005; Mark Loeser <halcy0n@gentoo.org> + -gcc-4.0.0_beta20050416.ebuild, +gcc-4.0.1_beta20050507.ebuild: + Version bump to the newest GCC4 snapshot. + + 23 Apr 2005; Joshua Kinard <kumba@gentoo.org> + +files/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers-v2.patch, + gcc-3.4.3-r1.ebuild, gcc-3.4.3.20050110-r1.ebuild, + gcc-3.4.3.20050110-r2.ebuild: + Update the gcc-3.4.3 ebuilds to use a newer IP28 cache barrier patch. Won't + affect mainstream Mips systems. + +*gcc-4.0.0 (21 Apr 2005) + + 21 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> +gcc-4.0.0.ebuild: + Adding ebuild for gcc-4.0.0 release. This doesn't mean it's supported yet! + +*gcc-4.0.0_beta20050416 (17 Apr 2005) + + 17 Apr 2005; Mark Loeser <halcy0n@gentoo.org> + -gcc-4.0.0_beta20050409.ebuild, +gcc-4.0.0_beta20050416.ebuild: + Bump to newest weekly snapshot. + +*gcc-4.0.0_beta20050409 (12 Apr 2005) + + 12 Apr 2005; Mark Loeser <halcy0n@gentoo.org> + -gcc-4.0.0_beta20050402.ebuild, +gcc-4.0.0_beta20050409.ebuild: + Updating GCC4 ebuild to the newest snapshot + +*gcc-3.3.5.20050130-r2 (08 Apr 2005) + + 08 Apr 2005; Mike Frysinger <vapier@gentoo.org> + +gcc-3.3.5.20050130-r2.ebuild: + Add a patch from Debian and the patch to prevent gcc from unlinking /dev/null. + +*gcc-3.4.3.20050110-r2 (08 Apr 2005) + + 08 Apr 2005; Mike Frysinger <vapier@gentoo.org> + +gcc-3.4.3.20050110-r2.ebuild: + Add fix for PR/16625 from upstream #88022 by Ed Catmur. Patch to prevent + /dev/null from being deleted #79836 by David Wood. Also add a patch for arm + PR/16201 and a patch from Debian for m68k. + +*gcc-4.0.0_beta20050402 (03 Apr 2005) + + 03 Apr 2005; Mark Loeser <halcy0n@gentoo.org> + -gcc-4.0.0_beta20050326.ebuild, +gcc-4.0.0_beta20050402.ebuild: + Version bump to the newest GCC4 snapshot + +*gcc-4.0.0_beta20050326 (28 Mar 2005) + + 28 Mar 2005; Mark Loeser <halcy0n@gentoo.org> + -gcc-4.0.0_beta20050305.ebuild, +gcc-4.0.0_beta20050326.ebuild: + Version bump to newest GCC4 snapshot + + 27 Mar 2005; Hardave Riar <hardave@gentoo.org> gcc-3.4.3-r1.ebuild: + Stable on mips. + + 21 Mar 2005; <solar@gentoo.org> gcc-3.4.3-r1.ebuild, + gcc-3.4.3.20050110-r1.ebuild: + - mark ppc pp64 stable for pie/ssp use + +*gcc-3.4.3.20050110-r1 (20 Mar 2005) + + 20 Mar 2005; Mike Frysinger <vapier@gentoo.org> + +gcc-3.4.3.20050110-r1.ebuild: + Fix visibility patches #78720, update uclibc support, and add support for + arm bigendian. + + 19 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.4.3-r1.ebuild, gcc-3.4.3.20050110.ebuild: + use_multilib -> is_multilib + +*gcc-3.3.5.20050130-r1 (19 Mar 2005) + + 19 Mar 2005; Mike Frysinger <vapier@gentoo.org> + +gcc-3.3.5.20050130-r1.ebuild: + Update uclibc patches and split them off into a sep tarball. + + 17 Mar 2005; Luca Barbato <lu_zero@gentoo.org> gcc-3.4.3-r1.ebuild: + Marked ppc + + 15 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.3.5.20050130.ebuild: + Stable sparc. + + 14 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-2.95.3-r8.ebuild: + Patched to compile usilg gcc-3.4. + +*gcc-4.0.0_beta20050305 (07 Mar 2005) + + 07 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> + +gcc-4.0.0_beta20050305.ebuild: + Version bump of gcc-4 for bleeding edge masochists. + +*gcc-4.0.0_alpha20050213 (17 Feb 2005) + + 17 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.3.5-r1.ebuild, gcc-3.3.5.20050130.ebuild, gcc-3.4.3-r1.ebuild, + gcc-3.4.3.20050110.ebuild, -gcc-4.0.0_alpha20050123.ebuild, + -gcc-4.0.0_alpha20050130.ebuild, +gcc-4.0.0_alpha20050213.ebuild: + Only apply libffi-without-libgcj.patch if we're -build. Bump the gcc-4 + version and make a note to report bugs upstream. + + 12 Feb 2005; <plasmaroo@gentoo.org> gcc-3.3.5.20050130.ebuild: + Mark -ia64 as bootstrapping fails with this version. + + 12 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.3.5-r1.ebuild, gcc-3.3.5.20050130.ebuild, gcc-3.4.3-r1.ebuild, + gcc-3.4.3.20050110.ebuild, gcc-4.0.0_alpha20050123.ebuild, + gcc-4.0.0_alpha20050130.ebuild: + Added DEPEND for cross-compilation. + + 12 Feb 2005; <plasmaroo@gentoo.org> gcc-3.4.3-r1.ebuild, + gcc-3.4.3.20050110.ebuild: + Mask 3.4 series -ia64; PINE fails horribly with it but works on 3.3.2... + + 10 Feb 2005; Markus Rothe <corsair@gentoo.org> gcc-3.4.3-r1.ebuild: + Stable on ppc64 + + 02 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.3.5.20050130.ebuild, gcc-3.4.3-r1.ebuild: + Fix bug #80434. + + 02 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.3.5.20050130.ebuild: + Pushing into ~arch. Re-adds support for tls on sparc. + + 01 Feb 2005; Sven Wegener <swegener@gentoo.org> + gcc-4.0.0_alpha20050123.ebuild, gcc-4.0.0_alpha20050130.ebuild: + Added missing ? in PDEPEND. + +*gcc-3.3.5.20050130 (01 Feb 2005) + + 01 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.3.5-r1.ebuild, +gcc-3.3.5.20050130.ebuild, gcc-3.4.3-r1.ebuild, + gcc-3.4.3.20050110.ebuild, +gcc-4.0.0_alpha20050123.ebuild, + +gcc-4.0.0_alpha20050130.ebuild: + Adding gcc4 alpha ebuilds for development and testing. Fix ordering of data + in ebuilds so DESCRIPTION, etc comes after inherit toolchain. Bump gcc-3.3 + to reintroduce patchs from fedora which got dropped from 3.3.5 and + 3.3.5-r1. This should fix tls issues on sparc (bug #78320), but it is still + in 'KEYWORDS=-*' until the PIE patches get updated. + + 31 Jan 2005; <plasmaroo@gentoo.org> gcc-3.3.5-r1.ebuild, + gcc-3.4.3-r1.ebuild: + GCC 3.3.5 eats fluffy bunnies for breakfast and kills IA64 bootstraps, so + 3.4.3-r1 is going stable as it works. Marking 3.3.5-r1 "-ia64". + + 25 Jan 2005; Rob Holland <tigger@gentoo.org> : + Don't break the description line by overriding it in the eclass. + + 19 Jan 2005; Joshua Kinard <kumba@gentoo.org> gcc-3.4.3-r1.ebuild, + gcc-3.4.3.20050110.ebuild: + Typo tweaks in some comments in src_unpack. + + 19 Jan 2005; Brandon Hale <tseng@gentoo.org> gcc-3.4.3.20050110.ebuild: + Re-masking by request, see bug #78666. This GCC is failing with ICE, and + some users report that it cannot even build itself. Hopefully the + SSE2/3 fixes can be sanely backported to a released toolchain instead of + unleashing a random, busted CVS checkout on ~arch. + + 16 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.4.3.20050110.ebuild: + Pushing into ~arch from -*. This fixes bugs #57602 and #75067. + + 11 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> gcc-3.3.5-r1.ebuild: + Stable on sparc + +*gcc-3.4.3.20050110 (10 Jan 2005) + + 10 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> + +gcc-3.4.3.20050110.ebuild: + Bump to a newer version of the 3.4 branch from upstream. This should resolve + alot of SIMD issues people are hsving with -msse and others. Should resolve + bug #57602, hopefully bug #75067, and all of its kin. + + 10 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.3.5-r1.ebuild, gcc-3.4.3-r1.ebuild: + Moved src_install, pkg_preinst, and pkg_postinst into eclass using + gcc-3.3.5-r1 and gcc-3.4.3-r1 as a base. Made env.d script creation more + abstract. Fixed up multilib support. Fixed some problems moving libs to + incorrect destinations or not moving some libs. Fixed a few + cross-compilation problems (but not all yet). Closes bug #76884. Updated + src_unpack to do patches based on ${CTARGET} instead of ${ARCH}. + + 09 Jan 2005; Joshua Kinard <kumba@gentoo.org> + +files/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers.patch, gcc-3.4.3-r1.ebuild: + Added patch that introduces cache barriers to be used when building SGI IP28 + kernels. Only enabled by passing -mip28-cache-barriers. Only patched in if USE + ip28 is set, so non-ip28 mips systems will never see this option. + + 06 Jan 2005; Mike Frysinger <vapier@gentoo.org> gcc-3.3.5-r1.ebuild: + Update pie patches to fix order #72665. + + 30 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> + +files/3.3.5/gcc-3.3.5-ffecom_gfrt_basictype-prototype.patch, + gcc-3.3.5-r1.ebuild: + Fixing bad function prototype which causes compilation to fail on some + configurations. + + 24 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.4.3-r1.ebuild: + Make sure ${CTARGET}-g77 is created. + + 21 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> + gcc-3.4.3-r1.ebuild: + sparc64 multilib fixes... /lib is 32bit which confused the ebuild. + +*gcc-3.3.5-r1 (04 Dec 2004) + + 04 Dec 2004; Travis Tilley <lv@gentoo.org> + +files/3.3.4/libffi-without-libgcj.patch, +gcc-3.3.5-r1.ebuild, + -gcc-3.3.5.ebuild: + added libffi-without-gcj fix, fixed another libpath bug, and updated the pie + patches so that sparc works again. the ebuilds and pie patch revisions for + the latest 3.3 and 3.4 ebuilds are now in sync. re-keyworded as testing on + sparc + + 03 Dec 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.3-r1.ebuild: + keyworded as testing on previously supported archs, as well as ia64 which + works now, yay + + 29 Nov 2004; Rob Holland <tigger@gentoo.org> files/gcc-spec-env.patch: + fixup gcc_specs patch to handle empty string + + 27 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> gcc-3.3.5.ebuild: + -sparc because of weirdness + + 26 Nov 2004; Sven Wegener <swegener@gentoo.org> : + Added missing digest entries. + + 27 Nov 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.3/libffi-without-libgcj.patch, gcc-3.4.3-r1.ebuild: + 1) added a patch that will allow building libffi without gcj. This + should make gnustep users happy. ;) + 2) fixed a few more issues with libraries ending up outside the gcc + ${LIBPATH} + 3) fixed the libtool archive libdir fixing thingie, which has apparently + been broken for quite some time without anyone noticing + +*gcc-3.4.3-r1 (25 Nov 2004) + + 25 Nov 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.3-r1.ebuild: + added a 20041125 branch update. made the logic for controlling + {PIE,SSP}-by-default logic even more fine grained, and updated the pie + patches to the latest version. + + 21 Nov 2004; Travis Tilley <lv@gentoo.org> -gcc-3.1.1-r2.ebuild, + -gcc-3.3.1-r5.ebuild, -gcc-3.3.2-r1.ebuild, gcc-3.3.2-r2.ebuild, + -gcc-3.3.2-r3.ebuild, -gcc-3.3.2-r4.ebuild, gcc-3.3.2-r5.ebuild, + gcc-3.3.2-r7.ebuild, gcc-3.3.2.ebuild, gcc-3.3.3-r3.ebuild, + -gcc-3.3.3-r5.ebuild, gcc-3.3.3-r6.ebuild, -gcc-3.3.3.ebuild, + gcc-3.3.4-r1.ebuild, gcc-3.3.4-r2.ebuild, -gcc-3.3.ebuild: + removed unused versions and changed the SLOT for all gcc 3.3 ebuilds to be + 3.3 instead of 3.2 + + 21 Nov 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.5.ebuild: + updated manpages and pie patches + + 20 Nov 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.3.ebuild: + stable on amd64 + + 20 Nov 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.5.ebuild: + added in bounds checking support, fixed some multilib path oddities, and + made the ebuild use the newish should_we_gcc_config check for deciding + whether or not we should run gcc-config during postinst. + NOTE: at the moment 3.3.5 will not compile xgcc when using gcc 3.4 + + 18 Nov 2004; Ilya A. Volynets-Evenbach <iluxa@gentoo.org> gcc-3.4.3.ebuild: + We don't need no stinky libstdc++-v3 on MIPS. Not to mention that 3.4.3 can't + compile it anyways + +*gcc-3.3.5 (17 Nov 2004) + + 17 Nov 2004; Mike Frysinger <vapier@gentoo.org> +gcc-3.3.5.ebuild: + Version bump. + + 14 Nov 2004; Sven Wegener <swegener@gentoo.org> : + Added missing ? after !build in PDEPEND. + + 09 Nov 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.3.ebuild: + add back in bounds checking support and fix a silly libdir bug (70481) + + 07 Nov 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.3.ebuild: + updated the pie patch tarball to version 8.7.6.6. this fixes a bug with + using the patches on alpha without a binutils that supports -pie. since + alpha is not currently keyworded for this ebuild, the revision has not been + bumped for this fix. + + 07 Nov 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.3-r3.ebuild, + gcc-3.3.3-r5.ebuild, gcc-3.3.3-r6.ebuild, gcc-3.3.4-r1.ebuild, + gcc-3.3.4-r2.ebuild, gcc-3.4.1-r2.ebuild, gcc-3.4.1-r3.ebuild, + gcc-3.4.1.ebuild, gcc-3.4.2-r2.ebuild, gcc-3.4.3.ebuild: + changed the f77 USE flag to just plain old fortran + +*gcc-3.4.3 (07 Nov 2004) + + 07 Nov 2004; Travis Tilley <lv@gentoo.org> -gcc-3.4.2-r3.ebuild, + +gcc-3.4.3.ebuild: + version bumped. only generate specs-specific gcc configs if hardened gcc is + known to work on your arch. updated a few patches from redhat, and added the + arm/cross patches to the gcc patch tarball. removed gcc 3.4.2-r3 since the + branch update used was made just before the 3.4.3 freeze (dont worry sparc + users, this ebuild is keyworded as testing on sparc). + + 06 Nov 2004; Joshua Kinard <kumba@gentoo.org> gcc-3.4.2-r3.ebuild: + Marked unstable on sparc (Needs cascaded sparc64/gcc34 testing profile). + + 31 Oct 2004; Joshua Kinard <kumba@gentoo.org> gcc-3.4.1-r3.ebuild: + Marked stable on mips. + + 28 Oct 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.2-r3.ebuild: + fixed the ppc logic in toolchain.eclass and keyworded 3.4.2-r3 as testing on + ppc + + 26 Oct 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.2-r3.ebuild: + keyword as testing on amd64, mips, ppc64, and x86 + + 26 Oct 2004; Mike Frysinger <vapier@gentoo.org> + +files/3.4.2/400-mips-pr17565.patch, +files/3.4.2/401-ppc-eabi-typo.patch, + +files/3.4.2/600-gcc34-arm-ldm-peephole.patch, + +files/3.4.2/601-gcc34-arm-ldm.patch, + +files/3.4.2/602-sdk-libstdc++-includes.patch, + +files/3.4.2/700-pr15068-fix.patch, +files/3.4.2/800-arm-bigendian.patch, + +files/3.4.2/810-arm-bigendian-uclibc.patch, gcc-3.4.2-r3.ebuild: + Import a bunch of patches from uclibc and merge a bunch of misc + cross-compiling fixes. + +*gcc-3.4.2-r3 (25 Oct 2004) + + 25 Oct 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.2-r3.ebuild: + any patches borrowed from fedora that are no longer in the latest fedora gcc + 3.4 src rpm have been removed, except for the symbol visibility patches. added + 20041025 branch update. a few GCC_SPECS and gcc-config related bugs in + toolchain.eclass have also been fixed. + + 18 Oct 2004; Tom Gall <tgall@gentoo.org> gcc-3.4.1-r3.ebuild: + stable on ppc64 + + 06 Oct 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.4.2-r2.ebuild: + added bounds checking by H.T. Brugge to gcc-3.4.2-r2 and toolchain.eclass, + notice that PIE+SSP is turned off when boundschecking is active + + 05 Oct 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.2-r2.ebuild: + made 3.4.2-r2 rdep on gcc-config-1.3.6-r3 to fix the new specs-specific config + switching and marked stable on amd64 + + 05 Oct 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.2-r2.ebuild: + revert the multilib-by-default changes, since this seems to be causing + problems with hardened, and we havent yet completely figured out how to handle + mips' three ABIs. + Note: the multilib problem with hardened on amd64 will soon be fixed in + hardened-dev-sources, and this will no longer be an issue. + + 03 Oct 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.2-r2.ebuild: + use create_gcc_env_entry from toolchain.eclass to create gcc-config entries + for using the hardened/vanilla specs files + + 25 Sep 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.3-r3.ebuild, + gcc-3.3.3-r5.ebuild, gcc-3.3.3-r6.ebuild, gcc-3.3.4-r1.ebuild, + gcc-3.3.4-r2.ebuild: + update uclibc patched ebuilds to work properly with recent libtool eclass + changes + + 22 Sep 2004; Joshua Kinard <kumba@gentoo.org> + +files/3.4.2/gcc-3.4.x-mips-add-march-r10k.patch, gcc-3.4.2-r2.ebuild: + Added a patch for mips that adds -march=r10000 and -mtune=r10000 support to + gcc. + +*gcc-3.4.2-r2 (21 Sep 2004) + + 21 Sep 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.2/gcc34-fix-sse2_pinsrw.patch, + +files/3.4.2/gcc34-m32-no-sse2.patch, -gcc-3.4.2-r1.ebuild, + +gcc-3.4.2-r2.ebuild: + moved libgcc stuff back into the versioned directory, the libgcc_s-only stuff + will be broken out into a seperate ebuild. fixed broken libtool archives. + added an sse2 fix from Scott "I also own lv" Ladd, and a workaround that + disables sse2 by default for 32bit on both x86 and amd64 until the rest of the + wrong-code bugs are fixed. the workaround can be disabled completely by using + the -msse2 flag. + + 19 Sep 2004; <solar@gentoo.org> files/3.3.4/gcc-3.3.4-spec-env.patch, + files/3.4.1/gcc-3.4.1-spec-env.patch: + update robs patches from GCC_SPEC to GCC_SPECS so names are consistent in all + gcc versions + + 19 Sep 2004; <solar@gentoo.org> : + restore changelog + +*gcc-3.4.1-r3 (19 Sep 2004) + + 19 Sep 2004; Rob Holland <tigger@gentoo.org> + +files/3.3.4/gcc-3.3.4-spec-env.patch, + +files/3.4.1/gcc-3.4.1-spec-env.patch, +gcc-3.3.4-r2.ebuild, + +gcc-3.4.1-r3.ebuild: + added GCC_SPEC environment variable support + + 14 Sep 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.4.2-r1.ebuild: + Marked -ppc + + 13 Sep 2004; Travis Tilley <lv@gentoo.org> +files/gcc-spec-env.patch, + gcc-3.4.2-r1.ebuild: + added a patch from Rob "I own lv" Holland that allows you to switch specs + files based on an environment variable (GCC_SPECS) and made gcc build both a + vanilla and hardened specs file by default. Eventually this will mean being + able to switch between gcc and hardened gcc on the fly. Since neither + gcc-config nor portage support this yet, I'm not bumping the revision number. + +*gcc-3.4.2-r1 (12 Sep 2004) + + 12 Sep 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.2-r1.ebuild, + -gcc-3.4.2.ebuild: + re-added uclibc patches and masked for testing + + 10 Sep 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.2.ebuild: + updated ssp patch to 3.4.1-1. this version includes it's own documentation and + will define _SSP_ when stack protection code is being built. + + 08 Sep 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.2.ebuild: + made gcc default to using multilib on supported archs. add nomultilib to USE + to disable. + +*gcc-3.4.2 (07 Sep 2004) + + 07 Sep 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.2.ebuild, + -gcc-3.4.2_pre20040902.ebuild: + version bump. disabled building libjava multilib. this release is masked until + the uclibc patches are done, bootstrapping is tested, and the toolchain.eclass + changes are tested on ppc and ppc64. + + 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> gcc-3.4.1-r2.ebuild, + gcc-3.4.1.ebuild, gcc-3.4.2_pre20040902.ebuild: + Switch to use epause and ebeep, bug #62950 + + 06 Sep 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.4.1-r2.ebuild: + Marked ppc + +*gcc-3.4.2_pre20040902 (05 Sep 2004) + + 05 Sep 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.2_pre20040902.ebuild: + - added 3.4.2_pre20040902 for testing and working on the new toolchain.eclass + - updated the gcc symbol visibility patch + - removed uclibc patches temporarily, they break every time I update gcc + - added a hack to make gcj not build multilib + - made libgcc_s.so install to /lib{,32,64} + - added a potential cross-compile fix that should run the correct target + when CCHOST != CHOST + - added java gui backport + + 31 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> gcc-3.3.4-r1.ebuild: + Stable on sparc + + 28 Aug 2004; <solar@gentoo.org> gcc-3.4.1-r2.ebuild, gcc-3.4.1.ebuild: + We don't want a PDEPEND of libstd++v3 on uclibc. + + 26 Aug 2004; Jon Portnoy <avenj@gentoo.org> gcc-3.3.4-r1.ebuild : + Stable on x86 + + 26 Aug 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.4-r1.ebuild: + stable on amd64 + + 26 Aug 2004; <solar@gentoo.org> -gcc-3.3.2-r6.ebuild, -gcc-3.3.3-r1.ebuild, + -gcc-3.3.4.ebuild, -gcc-3.4.0-r6.ebuild: + pruned a few more ebuilds + + 25 Aug 2004; <solar@gentoo.org> -gcc-3.3-r1.ebuild, -gcc-3.3.3-r4.ebuild, + -gcc-3.3.3_pre20040130.ebuild, -gcc-3.3.3_pre20040215.ebuild, + -gcc-3.3.3_pre20040322.ebuild, gcc-3.3.4-r1.ebuild, gcc-3.4.1-r2.ebuild: + removed old/stale ebuilds, marked gcc-3.3.4-r1 stable on arm, keep gcc from + scanning for guard symbols when environment variable is set + + 25 Aug 2004; Mike Frysinger <vapier@gentoo.org> gcc-2.95.3-r8.ebuild, + gcc-3.2.3-r4.ebuild, gcc-3.3-r1.ebuild, gcc-3.3.1-r5.ebuild, + gcc-3.3.2-r1.ebuild, gcc-3.3.2-r2.ebuild, gcc-3.3.2-r3.ebuild, + gcc-3.3.2-r4.ebuild, gcc-3.3.2-r5.ebuild, gcc-3.3.2-r6.ebuild, + gcc-3.3.2-r7.ebuild, gcc-3.3.2.ebuild, gcc-3.3.3-r1.ebuild, + gcc-3.3.3-r3.ebuild, gcc-3.3.3-r4.ebuild, gcc-3.3.3-r5.ebuild, + gcc-3.3.3-r6.ebuild, gcc-3.3.3.ebuild, gcc-3.3.3_pre20040130.ebuild, + gcc-3.3.3_pre20040215.ebuild, gcc-3.3.3_pre20040322.ebuild, + gcc-3.3.3_pre20040408-r1.ebuild, gcc-3.3.3_pre20040426.ebuild, + gcc-3.3.4-r1.ebuild, gcc-3.3.4.ebuild, gcc-3.3.ebuild, gcc-3.4.0-r6.ebuild, + gcc-3.4.1-r2.ebuild, gcc-3.4.1.ebuild: + Rip out $COMPILER since it isnt used in such a way that matters. + + 20 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> gcc-3.3.4-r1.ebuild: + Enabled -O2 for sparc: safe and good + + 17 Aug 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.1-r2.ebuild, + gcc-3.4.1.ebuild: + made gcc depend on media-libs/libart_lgpl when gcj is in USE + + 17 Aug 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.4.1-r2.ebuild: + Marked ~ppc + + 14 Aug 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r6.ebuild, + gcc-3.4.1-r2.ebuild, gcc-3.4.1.ebuild: + -mcpu is deprecated on amd64 and x86 + + 14 Aug 2004; Ilya A. Volynets-Evenbach <iluxa@gentoo.org> + files/3.4.1/gcc-3.4.1-mips-n32only.patch, + files/3.4.1/gcc-3.4.1-mips-n64only.patch, gcc-3.4.1-r2.ebuild: + Make sure all gcc libraries go into version-specific dir on n32-only and + n64-only systems + + 13 Aug 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.1-r2.ebuild: + stable on amd64 :) + + 11 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> gcc-3.3.4-r1.ebuild: + Keyworded ~sparc + + 11 Aug 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.1/gcc-3.4.1-glibc-is-native.patch, gcc-3.4.1-r2.ebuild, + gcc-3.4.1.ebuild: + added a fix for bug 55108, where enabling multilib caused gcc to fail + compiling with "Link tests are not allowed after GCC_NO_EXECUTABLES" + + 08 Aug 2004; Tom Martin <slarti@gentoo.org> gcc-3.3.3-r3.ebuild, + gcc-3.3.3-r4.ebuild, gcc-3.3.3-r5.ebuild, gcc-3.3.3-r6.ebuild, + gcc-3.3.4-r1.ebuild, gcc-3.3.4.ebuild, gcc-3.4.0-r6.ebuild, + gcc-3.4.1-r2.ebuild, gcc-3.4.1.ebuild: + Typo in DESCRIPTION: extentions -> extensions. Bug 59717. + + 06 Aug 2004; Mike Frysinger <vapier@gentoo.org> + +files/pro-police-docs.patch, gcc-3.3.4-r1.ebuild, gcc-3.4.0-r6.ebuild, + gcc-3.4.1-r2.ebuild, gcc-3.4.1.ebuild: + Add the pro-police doc patch. + + 05 Aug 2004; Ilya A. Volynets-Evenbach <iluxa@gentoo.org> + gcc-3.4.1-r2.ebuild: + Disable PDEPEND on libstdc++-v3 for n32/n64 systems. gcc-3.3 didn't work on + them ever. Not to mention that libstdc++-v3 simply doesn't build as n32. + Also add $ABI variable. It should be set in profile for multi-abi capable arches + +*gcc-3.4.1-r2 (03 Aug 2004) + + 03 Aug 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.1/gcc-3.4.1-r2-gentoo-branding.patch, -gcc-3.4.1-r1.ebuild, + +gcc-3.4.1-r2.ebuild, gcc-3.4.1.ebuild: + new snapshot, among other things it contains an enum fix that's needed to work + on porting openoffice to gcc 3.4. removed the old experimental ebuild and + keyworded 3.4.1 stable on ppc64 since it also has the ICE fix for mozilla. + updated piepatch version to 8.7.6.5 + + 03 Aug 2004; Tom Gall <tgall@gentoo.org> gcc-3.4.1-r1.ebuild: + stable on ppc64 + + 29 Jul 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.4-r1.ebuild: + adding hardened dependency for sparc, still not keyworded, but yet to come + + 26 Jul 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.1/gcc341-ppc64-mozilla-ICE-fix.patch, gcc-3.4.1-r1.ebuild, + gcc-3.4.1.ebuild: + added a patch that should fix a ppc64 specific internal compiler error that + shows up when compiling mozilla + + 25 Jul 2004; Daniel Goller <morfic@gentoo.org> gcc-3.4.1.ebuild: + Marking ~x86 for gcc 3.4 profile + + 25 Jul 2004; Guy Martin <gmsoft@gentoo.org> gcc-3.4.1.ebuild: + Marked -hppa. It b0rks glibc and co. + +*gcc-3.3.3-r1 (22 Jul 2004) + + 22 Jul 2004; Martin Schlemmer <azarah@gentoo.org> + +files/3.3.3/gcc333-pr15693.patch, +gcc-3.3.3-r1.ebuild: + Bug #57182. This is sparc only fixup. + + 22 Jul 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.4-r1.ebuild: + fire up hardened changes for sparc and hppa, though still leaving keyworded on + sparc + + 22 Jul 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.4.1.ebuild: + added hppa logic and note for glibc + + 20 Jul 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r6.ebuild: + added hardened auto PIE SSP for sparc + + 19 Jul 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r6.ebuild, + gcc-3.4.1-r1.ebuild, gcc-3.4.1.ebuild: + changed use of gtk2 USE flag to gtk + + 14 Jul 2004; <solar@gentoo.org> gcc-3.3.4-r1.ebuild: + gcc-3.3.4-r1 marked -hppa ~x86 ~amd64 ~mips ~arm, ~sparc desired + + 13 Jul 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.1.ebuild: + marking 3.4.1 stable on amd64. fixes bug 56864 + + 13 Jul 2004; Travis Tilley <lv@gentoo.org> files/awk/fixlafiles.awk: + added Martin Schlemmer's new fixlafiles.awk with support for gcc 3.4 lib paths + + 11 Jul 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r6.ebuild, + gcc-3.4.1-r1.ebuild, gcc-3.4.1.ebuild: + xlib peers are deprecated in libjava 3.4.0, switching gcc 3.4 ebuilds to gtk2 + +*gcc-3.4.1-r1 (10 Jul 2004) + + 10 Jul 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.1-r1.ebuild: + now that i've tested it a bit locally, i'm committing a -* masked ebuild with + the GCC symbol visibility patch + (http://www.nedprod.com/programs/gccvisibility.html) for further testing by + hardened + uclibc devs. it should eventually lead to speed increases for + hardened, smaller libs for uclibc, and improved load times for everybody. this + ebuild also has a few readability cleanups for my own personal sanity. + + 07 Jul 2004; Joshua Kinard <kumba@gentoo.org> gcc-3.3.3-r6.ebuild: + Marked stable on mips. + +*gcc-3.4.1 (05 Jul 2004) + + 05 Jul 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.1/gcc-3.4.1-gentoo-branding.patch, +gcc-3.4.1.ebuild: + new version. please see http://gcc.gnu.org/gcc-3.4/changes.html#3.4.1 for more + information. + +*gcc-3.3.4-r1 (04 Jul 2004) + + 04 Jul 2004; Martin Schlemmer <azarah@gentoo.org> +gcc-3.3.4-r1.ebuild: + Update from 3_3-rhl branch. Add PIE support back. + + 02 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> gcc-2.95.3-r8.ebuild, + gcc-3.0.4-r6.ebuild, gcc-3.1.1-r2.ebuild, gcc-3.3-r1.ebuild, + gcc-3.3.1-r5.ebuild, gcc-3.3.2-r1.ebuild, gcc-3.3.2-r2.ebuild, + gcc-3.3.2-r4.ebuild, gcc-3.3.2-r5.ebuild, gcc-3.3.2-r6.ebuild, + gcc-3.3.2-r7.ebuild, gcc-3.3.2.ebuild, gcc-3.3.3-r3.ebuild, + gcc-3.3.3-r4.ebuild, gcc-3.3.3-r5.ebuild, gcc-3.3.3-r6.ebuild, + gcc-3.3.3.ebuild, gcc-3.3.3_pre20040130.ebuild, + gcc-3.3.3_pre20040215.ebuild, gcc-3.3.3_pre20040322.ebuild, + gcc-3.3.3_pre20040408-r1.ebuild, gcc-3.3.3_pre20040426.ebuild, + gcc-3.3.4.ebuild, gcc-3.3.ebuild, gcc-3.4.0-r6.ebuild: + virtual/glibc -> virtual/libc + + 29 Jun 2004; <solar@gentoo.org> gcc-3.3.3-r6.ebuild, gcc-3.3.4.ebuild, + gcc-3.4.0-r6.ebuild, files/3.3.3/gcc-3.3.3-norelro.patch: + add norelro patch for uclibc + + 28 Jun 2004; <solar@gentoo.org> gcc-3.4.0-r6.ebuild: + fwdport uclibc updates from 3.3.4 + + 27 Jun 2004; Luca Barbato <lu_zero@gentoo.org> : + Minor ppc/altivec related fix + + 24 Jun 2004; <solar@gentoo.org> gcc-3.3.3-r6.ebuild: + backport uclibc updates from 3.3.4 + + 24 Jun 2004; Aron Griffis <agriffis@gentoo.org> gcc-3.3-r1.ebuild, + gcc-3.3.2-r1.ebuild, gcc-3.3.2-r2.ebuild, gcc-3.3.2-r3.ebuild, + gcc-3.3.2-r4.ebuild, gcc-3.3.2-r5.ebuild, gcc-3.3.2-r6.ebuild, + gcc-3.3.2-r7.ebuild, gcc-3.3.2.ebuild, gcc-3.3.3-r3.ebuild, + gcc-3.3.3-r4.ebuild, gcc-3.3.3-r5.ebuild, gcc-3.3.3-r6.ebuild, + gcc-3.3.3.ebuild, gcc-3.3.3_pre20040130.ebuild, + gcc-3.3.3_pre20040215.ebuild, gcc-3.3.3_pre20040322.ebuild, + gcc-3.3.3_pre20040408-r1.ebuild, gcc-3.3.3_pre20040426.ebuild, + gcc-3.3.4.ebuild, gcc-3.3.ebuild, gcc-3.4.0-r6.ebuild: + Fix use invocation and regenerate broken manifest + +*gcc-3.3.4 (20 Jun 2004) + + 20 Jun 2004; Martin Schlemmer <azarah@gentoo.org> + +files/3.3.4/gcc334-gentoo-branding.patch, +gcc-3.3.4.ebuild: + Update version. Add uclibc changes as from Ned Ludd (not sure who they from). + PIE support is for the moment disabled, and thus the '-*' in KEYWORDS. + Closes bug #54321. + + 09 Jun 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r6.ebuild: + removing the hardened PIE SSP logic for sparc - it breaks glibc compiling with + a hardened gcc and until this is sorted out we cannot support it on sparc + anyway + + 08 Jun 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.3-r6.ebuild: + stable on amd64 + + 08 Jun 2004; <solar@gentoo.org> gcc-3.3.3-r6.ebuild: + gcc-3.3.3-r6.ebuild marked stable for upcoming release + + 08 Jun 2004; Brandon Hale <tseng@gentoo.org> gcc-3.3.3-r6.ebuild: + Start wider testing for 3.3.3-r6, marked ~x86. + +*gcc-3.1.1-r2 (07 Jun 2004) + + 07 Jun 2004; Mike Frysinger <vapier@gentoo.org> -gcc-3.1.1-r1.ebuild, + +gcc-3.1.1-r2.ebuild: + Fix long standing env bug #30849 and use epatch instead of patch. + + 05 Jun 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/reiser4-why-do-you-hate-me.patch, gcc-3.4.0-r6.ebuild: + added fix for compiling on reiser4 filesystems + + 04 Jun 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch, + +files/3.4.0/gcc34-ice-hack.patch, gcc-3.4.0-r6.ebuild: + updated the ice hack patch and added a stack protector fix for cc1 + + 04 Jun 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r6.ebuild: + stable on amd64 + + 04 Jun 2004; Brandon Hale <tseng@gentoo.org> + +files/3.3.3/gcc-3.3.3-libiberty-pic.patch, gcc-3.3.3-r6.ebuild: + Readd missing libiberty-pic patch for gcc-3.3.3-r6 + + 03 Jun 2004; Tom Gall <tgall@gentoo.org> gcc-3.4.0-r6.ebuild: + stable on ppc64 + + 02 Jun 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> gcc-3.3.3_pre20040408-r1.ebuild: + Masked stable on ppc + + 02 Jun 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r6.ebuild: + lib64 fix for libgcc_s on ppc64 + + 02 Jun 2004; Joshua Kinard <kumba@gentoo.org> gcc-3.4.0-r6.ebuild: + Added ~mips back to KEYWORDS. + + 02 Jun 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc34-ia64-lib64.patch, +files/3.4.0/gcc34-multi32-hack.patch, + +files/3.4.0/gcc34-ppc64-m32-m64-multilib-only.patch, gcc-3.4.0-r6.ebuild: + added some last minute multilib fixes for ppc64, ia64, and sparc + +*gcc-3.4.0-r6 (01 Jun 2004) + + 01 Jun 2004; Travis Tilley <lv@gentoo.org> + -files/3.4.0/gcc-3.4-libiberty-pic.patch, + -files/3.4.0/gcc-3.4.0-mips-pcrel.diff, + -files/3.4.0/gcc-3.4.0-r3-gentoo-branding.patch, + +files/3.4.0/gcc-3.4.0-r6-gentoo-branding.patch, + -files/3.4.0/gcc34-ppc64-typo-fix.patch, -gcc-3.4.0-r4.ebuild, + -gcc-3.4.0-r5.ebuild, +gcc-3.4.0-r6.ebuild: + branch update. this release should fix most of the unit-at-a-time problems + people have been seeing. + + 30 May 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc34-ppc64-typo-fix.patch, gcc-3.4.0-r5.ebuild: + added a typo fix patch for ppc64 + + 30 May 2004; Ilya A. Volynets-Evenbach <iluxa@gentoo.org> + +files/3.4.0/gcc-3.4.0-mips-pcrel.diff, gcc-3.4.0-r5.ebuild: + Add n32 & n64 use flags + Add n32/n64 patches and build options + Allow multilibs on all arches + + 28 May 2004; Tom Gall <tgall@gentoo.org> gcc-3.3.3_pre20040408-r1.ebuild: + marked as stable for ppc64 + + 27 May 2004; Aron Griffis <agriffis@gentoo.org> gcc-3.3.2-r5.ebuild: + Fix bug 52147: gcc-3.3.2-r5 used to build on ia64, now it doesn't. Demote + stable version to 3.3.2-r2, which still builds. + +*gcc-3.3.3-r6 (27 May 2004) + + 27 May 2004; Alexander Gabert <pappy@gentoo.org> + +files/3.3.3/gcc333-ssp-3.3.2_1-fixup.patch, +gcc-3.3.3-r6.ebuild: + added preliminary gcc 3.3.3 -r6 version, this one will fix the problems with + bug 51386, removing guard from libgcc even UNResolved symbols + +*gcc-3.4.0-r5 (26 May 2004) + + 26 May 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.0-r5.ebuild: + uclibc related updates and fixes from Peter Mazinger + + 26 May 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r4.ebuild: + adding ~amd64 keyword. this shouldnt have an effect on most users, as gcc 3.4 + is profile masked. please switch to the gcc34-amd64-2004.1 profile if you want + to install this package on amd64. + + 21 May 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r4.ebuild: + updated piepatches from Peter Mazinger to 8.7.6.2. the 3.4.0 version should + now be as complete as the 3.3.x version. Thanks Peter, you rock! :) + + 20 May 2004; <solar@gentoo.org> gcc-3.3.3-r5.ebuild: + marked gcc-3.3.3-r5 -* -hppa arm ~x86 ~sparc ~amd64 + +*gcc-3.4.0-r4 (21 May 2004) + + 21 May 2004; Travis Tilley <lv@gentoo.org> -gcc-3.4.0-r3.ebuild, + +gcc-3.4.0-r4.ebuild: + 3.4.0-r3 was horribly broken, so i am doing a revision bump to encourage all + users who installed this version to upgrade. i have also removed backwards + compatibility support because it was horribly broken on a few archs other than + x86 and amd64. please keep gcc 3.3.x or 3.2.x around if you need the older + libstdc++ for running binary-only c++ apps. + +*gcc-3.4.0-r3 (20 May 2004) + + 20 May 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc-3.4-libiberty-pic.patch, + -files/3.4.0/gcc-3.4.0-fno-for-scope.patch, + -files/3.4.0/gcc-3.4.0-gentoo-branding.patch, + +files/3.4.0/gcc-3.4.0-r3-gentoo-branding.patch, -gcc-3.4.0-r1.ebuild, + -gcc-3.4.0-r2.ebuild, +gcc-3.4.0-r3.ebuild: + updated gcc 3.4 to a 20040519 snapshot and removed the fno-for-scope and + stack-size patches, as they"ve been merged upstream. updated to the latest + piessp patches from Peter Mazinger, only with the arm patches temporarily + disabled. removed SSP exclusion patch... it should no longer be needed. amd64 + users beware: this release breaks the ABI slightly, and has a small chance of + causing problems. for more information on this ABI break, see + http://gcc.gnu.org/ml/gcc/2004-05/msg00911.html + + 17 May 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.3-r5.ebuild: + added amd64 to the (short) list of archs that can enable automatic PIE + SSP + +*gcc-3.3.3-r5 (14 May 2004) + + 14 May 2004; Alexander Gabert <pappy@gentoo.org> +gcc-3.3.3-r5.ebuild: + added preliminary version for gcc-3.3.3-r5 with latest Mazinger patches and + sparc define fix, testing proceeds on intel and sparc + + 13 May 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc-3.4.0-move-propolice-into-glibc.patch, gcc-3.4.0-r2.ebuild: + it seems that the new SSP doesnt honor _LIBC_PROVIDES_SSP_, so i've included a + patch that adds this functionality back in + +*gcc-3.4.0-r2 (12 May 2004) + + 12 May 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.0-r2.ebuild, + -gcc-3.4.0.ebuild: + added SSP support and updated the piessp patches (mostly) to 8.7.4. note that + the piessp patches arent yet as complete as the 3.3.3 version on archs other + than x86 and amd64. + + 08 May 2004; <solar@gentoo.org> gcc-3.3.3-r4.ebuild: + patch updates + + 06 May 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.3-r3.ebuild, + gcc-3.3.3.ebuild, gcc-3.4.0-r1.ebuild: + made the compatibility check look for the actual .so instead of just the + versioned directory that contains it because there may or may not be any + shared objects to back up... The PPC-specific gcc 3.3.3 ebuilds for some + reason install libstdc++ directly to /usr/lib/ on PPC64, so this change should + allow gcc 3.4.0-r1 to install on this arch without tar failing. + + 06 May 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.3-r3.ebuild, + gcc-3.3.3.ebuild, gcc-3.4.0-r1.ebuild: + copied the sed magick from 3.3.3-r4 that should fix building gcc with binutils + 2.15.90.0.3 and then downgrading to a previous version. it disables the + --as-needed support that only gets compiled in when using binutils 2.15.90.0.2 + or higher (proper support of which has been moved back to a gcc 3.5 target) + + 06 May 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0-r1.ebuild: + added gcc333_pre20040408-stack-size.patch for testing on ppc64 + + 04 May 2004; Ilya A. Volynets-Evenbaks <iluxa@gentoo.org> gcc-3.4.0.ebuild: + gcc reqires glibc-2.3.3_pre20040420, primarily because of bunch of missing + sgidefs.h includes, patch for which is included there. + +*gcc-3.4.0-r1 (04 May 2004) + + 04 May 2004; Travis Tilley <lv@gentoo.org> +gcc-3.4.0-r1.ebuild: + added a compatibility function that backs up your older libstdc++ so that + binary applications wont break if/when you uninstall your old compiler + + 04 May 2004; <solar@gentoo.org> files/3.3.3/gcc-uclibc-3.3-loop.patch: + added gcc-uclibc-3.3-loop.patch + + 04 May 2004; <solar@gentoo.org> gcc-3.3.3-r4.ebuild: + fixed typo's and limit USE hardened piessp by default to x86 only for now + + 03 May 2004; <solar@gentoo.org> gcc-3.3.3-r4.ebuild, + files/3.3.3/gcc-3.3.3-uclibc-add-ssp.patch: + disable -as-needed from being compiled into gcc specs natively when using + >=sys-devel/binutils-2.15.90.0.3. This is done to keep our gcc backwards + compatible with binutils. misc pie updates for misc arches + +*gcc-3.3.3-r4 (02 May 2004) + + 02 May 2004; <solar@gentoo.org> gcc-3.3.3-r3, gcc-3.3.3-r4.ebuild: + ARM is having issues with static linking as the spec file calls for + crtbeginT.o vs crtbeginS.o so we disable improved handling patch till we can + take a closer look. FIXME + + 01 May 2004; <solar@gentoo.org> gcc-3.3.3-r4.ebuild: + piessp version 8.6.4 from Peter S. Mazinger. Additional patches added redhat + ice-hack updated and more uclibc updates + + 30 Apr 2004; Tom Gall <tgall@gentoo.org> gcc-3.3.3_pre20040322.ebuild, + gcc-3.3.3_pre20040408-r1.ebuild, gcc-3.3.3_pre20040426.ebuild: + mark these as ~ppc64. DO NOT MARK stable for ppc64 without talking to me please. + + 29 Apr 2004; Mike Frysinger <vapier@gentoo.org> gcc-3.3.3-r3.ebuild, + +files/3.3.3/gcc333-debian-arm-getoff.patch, + +files/3.3.3/gcc333-debian-arm-ldm.patch: + Take two patches from debian gcc-3.3.3 so that it works nicely on arm. + + 28 Apr 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc-3.4.0-fno-for-scope.patch, gcc-3.4.0.ebuild: + added fix for bug 49174 + + 28 Apr 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0.ebuild: + fixed things up a bit and added a check that changes the deprecated -mcpu + option to -mtune so that libiberty wont break anymore for people with -mcpu in + CFLAGS + + 28 Apr 2004; <solar@gentoo.org> gcc-3.3.3-r3.ebuild: + More updates for uClibc, cross compiling fixes and addition of + --disable-libunwind-exceptions for use with glibc + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> gcc-3.0.4-r6.ebuild: + Add flag-o-matic for bug 49179 + +*gcc-3.3.3_pre20040426 (27 Apr 2004) + + 27 Apr 2004; Luca Barbato <lu_zero@gentoo.org> + +files/3.3.3/gcc333_pre20040426-gentoo-branding.patch, + +gcc-3.3.3_pre20040426.ebuild: + New snapshot + + 27 Apr 2004; Mike Frysinger <vapier@gentoo.org> gcc-3.4.0.ebuild: + cleanup flag stuff and remove CHOST setting with hppa gcc-3.4.0.ebuild + + 27 Apr 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0.ebuild: + re-added manpages and made the ebuild automatically die if gcj or multilib are + in USE, as these are sure to make gcc 3.4.0 fail at this point... + + 26 Apr 2004; Tom Gall <tgall@gentoo.org> gcc-3.4.0.ebuild: + fix bug 49111, appears to work quite well on ppc64 + + 27 Apr 2004; Michael McCabe <randy@gentoo.org> gcc-3.3.3-r3.ebuild: + Marked stable on s390 + + 26 Apr 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0.ebuild: + fix bug where the ebuild tries to nuke libiberty from outside the sandbox + + 26 Apr 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0.ebuild: + change settings for mips again... arch set to mips3 and tune set to r4600 + + 26 Apr 2004; Travis Tilley <lv@gentoo.org> gcc-3.4.0.ebuild: + changed mips default arch settings so that march defaults to r4k and not + mips3. also removed default mtune setting. thanks for the heads up geoman + +*gcc-3.4.0 (26 Apr 2004) + + 26 Apr 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc-3.4.0-gentoo-branding.patch, + -files/3.4.0/gcc-3.4.0_pre20040416-gentoo-branding.patch, + gcc-3.3.3-r3.ebuild, +gcc-3.4.0.ebuild, -gcc-3.4.0_pre20040416.ebuild: + added ebuild for gcc 3.4.0 final, and removed ada from the IUSE of gcc 3.3.3-r3 + +*gcc-3.3.3-r3 (25 Apr 2004) + + 25 Apr 2004; Martin Schlemmer <azarah@gentoo.org> +gcc-3.3.3-r3.ebuild: + Update snapshot. Fix objc doc install. Do not build ada until we resolve if we + should or not. + + 24 Apr 2004; Joshua Kinard <kumba@gentoo.org> gcc-3.3.3.ebuild: + Marking gcc-3.3.3 stable on mips, as stages and GRPs are built with it, and + it's run fine with no issues. + + 22 Apr 2004; Mike Frysinger <vapier@gentoo.org> gcc-3.3.3-r2.ebuild: + Change the nogcj flag to gcj. + + 21 Apr 2004; Mike Frysinger <vapier@gentoo.org> gcc-3.2-r5 gcc-3.1-r8: + These were never released so lets prune them. + + 21 Apr 2004; Mike Frysinger <vapier@gentoo.org> gcc-3.2.3-r2 gcc-3.2.3-r3 + gcc-3.2.3-r4: + Bump r4 to stable and clean it up so we can force out r2 and r3 in the future. + + 21 Apr 2004; Mike Frysinger <vapier@gentoo.org> gcc-2.95.3-r7 gcc-2.95.3-r8: + Clean up ebuilds (filter-flags and similar) and bump r8 to stable for ppc/sparc/alpha + so we can trim out r7 in the future. + + 21 Apr 2004; Mike Frysinger <vapier@gentoo.org> gcc-3.0.4 gcc-3.1.1-r1: + Clean up the ebuild (filter-flags and similar). + + 20 Apr 2004; <solar@gentoo.org> gcc-3.3.3-r2.ebuild: + add s390 gcc-3.3.3 patch from bug #47915, added USE flags for f77, objc from + bug #23171. + +*gcc-3.4.0_pre20040416 (19 Apr 2004) + + 19 Apr 2004; Travis Tilley <lv@gentoo.org> + +files/3.4.0/gcc-3.4.0_pre20040416-gentoo-branding.patch, + +gcc-3.4.0_pre20040416.ebuild: + initial commit for gcc 3.4.0 pre-release. currently only amd64 is tested well + with gcc 3.4, gcj is broken, and some things dont compile properly. + PIE-by-default support has been added, but propolice has yet to be ported. + + 18 Apr 2004; <solar@gentoo.org> : + ChangeLog correction.. instructions on unmasking can be found in + /usr/portage/profiles/package.mask + +*gcc-3.3.3-r2 (18 Apr 2004) + + 18 Apr 2004; <solar@gentoo.org> gcc-3.3.3-r1.ebuild, gcc-3.3.3-r2.ebuild: + long awaited piessp functionality in here after alot of local testing.. Many + many thanks go to the PaX Team, Peter S. Mazinger (who helped tremendously), + and all those who helped getting this version ready.. This gcc-3.3.3-r2.ebuild + is currently package.masked but instructions on unmasking can be found in + /usr/portage/package.unmask, please test. Note: USE=uclibc might still need a + little more work, which we intend to address to before unmasking + +*gcc-3.3.3_pre20040408-r1 (15 Apr 2004) + + 15 Apr 2004; Luca Barbato <lu_zero@gentoo.org> + gcc-3.3.3_pre20040408-r1.ebuild, + files/3.3.3/gcc333_pre20040408-gentoo-branding.patch, + files/3.3.3/gcc333_pre20040408-stack-size.patch: + New Snapshot + + 05 Apr 2004; Brian Jackson <iggy@gentoo.org> gcc-3.3.3.ebuild: + add s390 to keywords + + 04 Apr 2004; Travis Tilley <lv@gentoo.org> gcc-3.3.3.ebuild: + added avenjs amd64 fixes to gcc-3.3.3.ebuild + + 03 Apr 2004; Jon Portnoy <avenj@gentoo.org> gcc-3.3.3-r1.ebuild : + Yanked unnecessary amd64-related construct for finding libc. + Bug #46697. + + 26 Mar 2004; Jason Wever <weeve@gentoo.org> gcc-3.3.3.ebuild: + And on the 5th date, gcc-3.3.3 was stable for sparc, and it was good. + + 25 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> gcc-3.2.2-r2.ebuild, + gcc-3.2.2.ebuild, gcc-3.2.3-r2.ebuild, gcc-3.2.3-r3.ebuild, + gcc-3.2.3-r4.ebuild, gcc-3.3.ebuild: + don't use deprecated ? : use syntax + + 24 Mar 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.3.3_pre20040322.ebuild: + Fixed SRC_URI + +*gcc-3.3.3_pre20040322 (23 Mar 2004) + + 23 Mar 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.3.3_pre20040322.ebuild, + files/3.3.3/gcc333_pre20040322-gentoo-branding.patch: + New snapshot from the hammer branch. + + 22 Mar 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.3.3_pre20040215.ebuild: + Marked again -ppc since it is still too much problematic. + + 15 Mar 2004; Joshua Kinard <kumba@gentoo.org> gcc-3.3.2-r5.ebuild, + gcc-3.3.2-r6.ebuild: + Removed bogus comment from -r6; marked -r5 stable on mips + + 09 Mar 2004; <agriffis@gentoo.org> gcc-3.3.2-r5.ebuild: + stable on alpha and ia64 + + 06 Mar 2004; Alexander Gabert <pappy@gentoo.org> : + patch updates to let pie-ssp-bounds-check work with propolice patch during the + ebuild patching + + 06 Mar 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r1.ebuild: + added support for bug 6148 to the pie-ssp patch, the bounds checker fails with + some hunks but coupled with the pie-ssp patch it applies good + + 06 Mar 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r1.ebuild: + added v5 version for hardened pie ssp patch, this will be the release version + when testing shows no problems + + 01 Mar 2004; Martin Schlemmer <azarah@gentoo.org> files/awk/scanforssp.awk: + Add support to detect corrupted filesystem/bad hardware, patch by + Carter Smithhart <derheld42@derheld.net>. + + 26 Feb 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r1.ebuild: + added IUSE hardened flag (thx swtaylor) + + 26 Feb 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r1.ebuild: + changed typo in FVER of SSP, fixed up release_version logic a bit + + 26 Feb 2004; Alexander Gabert <pappy@gentoo.org> gcc-2.95.3-r7.ebuild, + gcc-2.95.3-r8.ebuild, gcc-3.0.4-r6.ebuild, gcc-3.1-r8.ebuild, + gcc-3.1.1-r1.ebuild, gcc-3.2.1-r7.ebuild, gcc-3.2.3-r3.ebuild, + gcc-3.3-r1.ebuild, gcc-3.3.1-r1.ebuild, gcc-3.3.2-r3.ebuild, + gcc-3.3.2.ebuild, gcc-3.3.3-r1.ebuild: + changed brackets in SRC_URI for pie-ssp patch, fixed copyright ebuild headers + to 2004 + + 26 Feb 2004; Alexander Gabert <pappy@gentoo.org> gcc-2.95.3-r7.ebuild, + gcc-2.95.3-r8.ebuild, gcc-3.0.4-r6.ebuild, gcc-3.1-r8.ebuild, + gcc-3.1.1-r1.ebuild, gcc-3.2.1-r7.ebuild, gcc-3.2.3-r3.ebuild, + gcc-3.3-r1.ebuild, gcc-3.3.1-r1.ebuild, gcc-3.3.2-r3.ebuild, + gcc-3.3.2.ebuild, gcc-3.3.3-r1.ebuild: + changed brackets in SRC_URI for pie-ssp patch, fixed copyright ebuild headers + to 2004 + + 26 Feb 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r1.ebuild: + implemented easier patch logic for SSP and PIE support with Azarah + +*gcc-3.3.3-r1 (26 Feb 2004) + + 26 Feb 2004; Alexander Gabert <pappy@gentoo.org> gcc-3.3.3-r1.ebuild: + changed version_patch logic to use a single variable for assigning the string + to the different patch situations + + 26 Feb 2004; Alexander Gabert <pappy@gentoo.org> : + added preliminary version with hardened support + + 22 Feb 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.3.3_pre20040215.ebuild: + Marked ~ppc since seems to build altivec code correctly + + 21 Feb 2004; Brad House <brad_mssw@gentoo.org> gcc-3.3.3.ebuild: + mark stable for amd64 2004.0 release + +*gcc-3.3.3 (18 Feb 2004) + + 18 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.3.ebuild, + files/3.3.3/gcc333-gentoo-branding.patch, + files/3.3.3/gcc333-ssp-3.3_7-fixup.patch: + New release. + +*gcc-3.3.3_pre20040215 (16 Feb 2004) + + 15 Feb 2004; Tom Gall <tgall@gentoo.org> gcc-3.3.3_pre20040215.ebuild, + gcc-3.3.3_pre20040130: + Remove gcc-3.3.3_pre20040130, add gcc-3.3.3_pre20040215.ebuild + ppc64 prerelease, fixes a rather anoying set of ICEs. + gcc-3.3.2-r6.ebuild was the reference. + + 12 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r5.ebuild, + gcc-3.3.2-r7.ebuild: + Add nogcj USE flag to turn off building of gcj. + + 12 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r5.ebuild, + gcc-3.3.2-r7.ebuild: + Add -Os to previous fixup, bug #41322. + + 11 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r5.ebuild, + gcc-3.3.2-r7.ebuild: + Fix tweaking of -O gcc flag, bug #40863. + + 10 Feb 2004; Seemant Kulleen <seemant@gentoo.org> + files/fix_libtool_files.sh: + spelling correction: Scannig to Scanning + + 09 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> gcc-3.2.3-r4.ebuild: + set ppc in keywords + +*gcc-3.3.3_pre20040130 (09 Feb 2004) + + 09 Feb 2004; Brad House <brad_mssw@gentoo.org> gcc-3.3.3_pre20040130.ebuild, + files/gcc333-gentoo-branding.patch: + GCC 3.3.3 prerelease as required for PPC64. This ebuild has been based off the + gcc-3.3.2-r6.ebuild for reference + + 08 Feb 2004; Luca Barbato <lu_zero@gentoo.org> + files/3.3.2/gcc332-altivec-fix.patch: + Updated the altivec fix for gcc-3.3.2-r7 + +*gcc-3.3.2-r7 (08 Feb 2004) + + 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r7.ebuild: + Update snapshot to 20040119. Tweak SSP stuff to scan *before* unpacking and + patching. + + 07 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r6.ebuild: + Mask again, as it have some issues, bug #40603. + + 07 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r5.ebuild: + Bump to stable for x86. + + 03 Feb 2004; Joshua Kinard <kumba@gentoo.org> gcc-3.3.2-r4.ebuild: + Marked 3.3.2-r4 stable for mips. Stages are built for this, and no problems + have been reported so far. + +*gcc-3.2.3-r4 (27 Jan 2004) + + 27 Jan 2004; Luca Barbato <lu_zero@gentoo.org> gcc-3.2.3-r4.ebuild: + Removes the fixinclude headers, fix backported from the 3.3.2 series + +*gcc-3.3.2-r6 (21 Jan 2004) + + 21 Jan 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r6.ebuild, + files/3.3.2/gcc332-altivec-fix.patch: + Update snapshot to 20040108; fix SSP scanning to only scan when not already + done so, or when libgcc have __guard symbols; add altivec patch from Luca + Barbato <lu_zero@gentoo.org>. + + 08 Jan 2004; Aron Griffis <agriffis@gentoo.org> gcc-3.2-r5.ebuild, + gcc-3.2.2-r2.ebuild, gcc-3.2.2.ebuild, gcc-3.2.3-r2.ebuild, + gcc-3.3-r1.ebuild, gcc-3.3.1-r5.ebuild, gcc-3.3.2-r1.ebuild, + gcc-3.3.2-r2.ebuild: + Lots of keyword updates for ia64. I haven't tested anything past 3.3.2-r2, so + I didn't mark them ~ia64 yet + + 01 Jan 2004; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r5.ebuild: + Unmask again, as scanforssp.awk was fixed (bug #36792). + + 31 Dec 2003; <solar@gentoo.org> files/awk/scanforssp.awk: + Fix bug that causes awk script to fail when pipe is not closed. Closes bug + #36792 + + 30 Dec 2003; Brad House <brad_mssw@gentoo.org> gcc-3.3.2-r5.ebuild: + marking -* bug affects all arches + + 30 Dec 2003; Brad House <brad_mssw@gentoo.org> gcc-3.3.2-r5.ebuild: + Problems with -r5 on a fresh install of gentoo, I commented + inside the ebuild above the KEYWORDS= for more information, marked -amd64, but + other arches are probably affected too + + 29 Dec 2003; Seemant Kulleen <seemant@gentoo.org> gcc-3.3.2-r5.ebuild, + files/scan_libgcc_linked_ssp.sh: + spelling fixes, thanks to: Scott Taylor <scott@303underground.com> and Eric + Harney <eharney@clemson.edu> in bug #36772 + +*gcc-3.3.2-r5 (29 Dec 2003) + + 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r5.ebuild: + Update snapshot to 20031218; update SSP to 3.3-7. Rework guard detection in + glibc a bit (fix it to use scan_libgcc_linked_ssp.sh to detect ELF images + linked to __guard@GCC and add support for new _LIBC_PROVIDES_SSP_ instead + of patch to use __guard and co symbols from glibc). Thanks to the hardened + team, especially Ned Ludd <solar@gentoo.org> for help on the SSP stuff. + +*gcc-3.3.2-r4 (14 Dec 2003) + + 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r4.ebuild: + Update snapshot to 20031201. Remove 'fixed' headers, as they tend to break + some builds. Fix DEPEND on glibc for NPTL. Remove some stale sections. + + 30 Nov 2003; Alexander Gabert <pappy@gentoo.org> gcc-3.2.3-r3.ebuild, + gcc-3.3.2-r3.ebuild: + added ccache warnings to the ebuilds, thanks to Strider for pointing this out + and providing the workaround + + 29 Nov 2003; Brad House <brad_mssw@gentoo.org> gcc-3.3.2-r2.ebuild: + mark stable on amd64 + + 28 Nov 2003; Alexander Gabert <pappy@gentoo.org> gcc-3.2.3-r3.ebuild, + gcc-3.3.2-r3.ebuild: + added logic for false positives hitting gcc library with guard in it + +*gcc-3.2.3-r3 (27 Nov 2003) +*gcc-3.3.2-r3 (27 Nov 2003) + + 10 Dec 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.3.2-r3.ebuild, + gcc-3.3.2.ebuild : + Fixed little type unkown -> unknown. + + 08 Dec 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.3.2-r3.ebuild, + gcc-3.3.2.ebuild : + Force CHOST="hppa-unknown-linux-gnu" on hppa for stability. + + 27 Nov 2003; Alexander Gabert <pappy@gentoo.org> gcc-3.2.3-r3.ebuild, + gcc-3.3.2-r3.ebuild, files/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch: + adding bumpee versions of gcc-3.3.2 and gcc-3.2.3 for proper migration of the + propolice functions to the glibc, this updated is needed because of bugs like + 25299 and other related -static -fstack-protector building in the current + 2.3.2-r3 glibc + + 21 Nov 2003; Aron Griffis <agriffis@gentoo.org> gcc-3.3.2-r2.ebuild: + Add ~ia64 + + 20 Nov 2003; Aron Griffis <agriffis@gentoo.org> gcc-3.3.2-r2.ebuild: + Mark stable on alpha + + 04 Nov 2003; Brad House <brad_mssw@gentoo.org> gcc-3.3.1-r5.ebuild: + mark as stable on amd64 + + 01 Nov 2003; Aron Griffis <agriffis@gentoo.org> gcc-3.3.2-r2.ebuild: + Add ~alpha to KEYWORDS + +*gcc-3.3.2-r2 (27 Oct 2003) + + 19 Nov 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.3.2-r2.ebuild : + Added --enable-sjlj-exceptions to ${myconf} on hppa. + + 02 Nov 2003, Guy Martin <gmsoft@gentoo.org> gcc-3.3.2-r2.ebuild, + gcc-3.3.2-r1.ebuild, gcc-3.3.2.ebuild : + Marking gcc-3.3.2-r1 and -r2 -hppa due to a problem with binutils. + Marking gcc-3.3.2 as ~hppa which does not suffert of this problem. + + 27 Oct 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.3.2-r2.ebuild : + Added ~hppa to KEYWORDS. + + 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r2.ebuild: + Update protector patch to 3.3-5. + +*gcc-3.3.2-r1 (26 Oct 2003) + + 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2-r1.ebuild: + New snapshot of gcc-3_3-rhl-branch CVS branch that fixes the visibility issues + for x86 at least. + + 21 Oct 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2.ebuild: + Mask this puppy again until I figure out why it breaks visibility attribute + support (and thus NPTL, possibly TLS as well). + +*gcc-3.3.2 (21 Oct 2003) + + 08 Dec 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.3.2.ebuild : + Marked stable on hppa. + + 19 Nov 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.3.2.ebuild : + Added --enable-sjlj-exceptions to ${myconf} on hppa. + + 21 Oct 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.2.ebuild, + files/3.3.2/gcc332-gentoo-branding.patch: + New version. + + 18 Oct 2003; Brad House <brad_mssw@gentoo.org> gcc-3.3.1-r5.ebuild, + files/gcc331_use_multilib.amd64.patch: + add appropriate changes for amd64, and set ~amd64 in flags + +*gcc-3.3.1-r5 (14 Oct 2003) + + 15 Oct 2003; Joshua Kinard <kumba@gentoo.org> gcc-3.3.1-r4.ebuild, + gcc-3.3.1-r5.ebuild, gcc-3.3.1.ebuild: + Added ~sparc to KEYWORDS + This will only affect sparc64 users using the gcc33-sparc64 profile + + 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1-r5.ebuild, + files/3.3.1/gcc331-pp-fixup.patch: + Actually add gcc331-pp-fixup.patch for public use. + + 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1-r5.ebuild: + Update CVS snapshot. + + 09 Oct 2003; <tuxus@gentoo.org> gcc-3.3.1-r4.ebuild: + Added ~mips to Keywords + + 04 Oct 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.3-r2.ebuild: + Marked stable for x86, ppc, sparc, alpha, and mips. + + 03 Oct 2003; Brad House <brad_mssw@gentoo.org> gcc-3.3.1-r1.ebuild: + mark as stable for amd64 + + 28 Sep 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3-r1.ebuild, + gcc-3.3.1-r1.ebuild, gcc-3.3.1-r2.ebuild, gcc-3.3.1-r3.ebuild, + gcc-3.3.1.ebuild: + Exclude PPC mergel miscompilation workaround, as it is fixed in apps according + to lu_zero. + +*gcc-3.3.1-r4 (28 Sep 2003) + + 28 Sep 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1-r4.ebuild: + Update revision. Update ProPolice to 3.3-4. I also took the time and reaped + a few of non applied pr fixes for gcc-3_3-branch that is not yet applied to + gcc-3_3-rhl-branch we use. I also ported a few fixes that was fixed only 3.4 + side, and testing my side at least shows no regressions. + + 25 Sep 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1-r3.ebuild: + Add gcc-unsharing_lhs.patch resolving bug #29467. Also marked this ~x86. + More info on this bug can be found at: + + http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00853.html + +*gcc-3.3.1-r3 (20 Sep 2003) + + 20 Sep 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1-r3.ebuild: + Update CVS snapshot to 20030916 - this should fix the static linking problem + with some packages without the hack that broke things for a few people ... + +*gcc-3.3.1-r2 (15 Sep 2003) + + 15 Sep 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1-r2.ebuild: + Backout to an earlier cvs snapshot (20030815) to fix preprocessor issues (for + instance lilo not compiling, bug #28266). Change libgcc.a to a linker script + to fix problems with not linking to libc.a when linking static. + +*gcc-3.3.1-r1 (07 Sep 2003) + + 17 Sep 2003; Jon Portnoy <avenj@gentoo.org> gcc-3.3.1-r1.ebuild : + ia64 keywords. + + 12 Sep 2003; Joshua Kinard <kumba@gentoo.org> gcc-3.3.1.ebuild: + Added ~sparc to Keywords, should only affect users using the gcc33-sparc64-1.4 + testing profile. Yell if otherwise. + + 09 Sep 2003; George Shapovalov <george@gentoo.org> gcc-3.3.1.ebuild, gcc-3.3.1-r1.ebuild, gcc-3.2.1-r7.ebuild, gcc-3.2.2.ebuild, gcc-3.2.2-r2.ebuild: : + Removed "ada" from gcc_lang as month ago for previous versions. + Also removed gcc32-ada-make.patch and corresponding epatch invocations + + 07 Sep 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1-r1.ebuild: + Update snapshot to 20030904. Fix coreutils patch - it did not catch all broken + tail calls. + + 24 Aug 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.3-r1.ebuild, + gcc-3.2.3-r2.ebuild, gcc-3.3-r1.ebuild, gcc-3.3.1.ebuild, gcc-3.3.ebuild: + Add hardened-gcc support, bug #26305. + + 24 Aug 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2-r2.ebuild, + gcc-3.2.2.ebuild, gcc-3.2.3-r1.ebuild, gcc-3.2.3-r2.ebuild, + gcc-3.3-r1.ebuild, gcc-3.3.1.ebuild, gcc-3.3.ebuild, + files/fix_libtool_files.sh, files/awk/fixlafiles.awk: + Fix_libtool_files.sh did not catch a user changing CHOST. Updated + fixlafiles.awk and the latest ebuilds to support a fix for this, bug #23466. + +*gcc-3.3.1 (10 Aug 2003) + + 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.1.ebuild, + files/3.3.1/gcc331-gentoo-branding.patch: + New version. + + 09 Aug 2003; George Shapovalov <george@gentoo.org> gcc-2.95.3-r7.ebuild,gcc-2.95.3-r8.ebuild,gcc-3.0.4-r6.ebuild,gcc-3.1.1-r1.ebuild,gcc-3.1-r8.ebuild,gcc-3.2.3-r1.ebuild,gcc-3.2.3-r2.ebuild,gcc-3.2-r5.ebuild,gcc-3.3.ebuild,gcc-3.3-r1.ebuild + Removed "ada" from gcc_lang on listed ebuilds (did not touch three which do some patches, + will do them later myself or leave to azarah). + See #25178 for details. In short, having ada in --enable-languages does not make gcc build + ada support properly (there is more involved, see for example #11204) and makes gcc build fail + on users who have gnat installed. + + 04 Aug 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.3-r1.ebuild: + Update 3.3 ebuild to use the latest protector-3. Also don't patch + in ProPolice on HPPA (consistent with the 3.2.x gcc ebuilds). + +*gcc-3.2.3-r2 (23 Jul 2003) + + 23 Jul 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.3-r2.ebuild: + New revision includes updated ProPolice protector-10 + patch. This fixes the following issues: + - Regex functions cause m4 to seg fault + - Doesn't protect the 1st function argument when + CFLAGS="-O0". + + 24 Jul 2003; Martin Schlemmer <azarah@gentoo.org> files/fix_libtool_files.sh: + Fix fix_libtool_files.sh to first get the number of parameters, and $1, else + some odd settings in /etc/profile may cause $# to be overwritten. + +*gcc-3.3-r1 (20 Jul 2003) + + 20 Jul 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3-r1.ebuild, + files/3.3/gcc33-coreutils-compat.patch.bz2, + files/3.3/gcc33-gentoo-branding-1.patch: + New version that rather use the gcc-3_3-rhl-branch branch. Also add + gcc33-coreutils-compat.patch.bz2 to call head/tail corretly as needed + by coreutils-5.0. + + 20 Jul 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.ebulid, + files/3.3/gcc33-no-multilib-amd64.patch: + Cleanup amd64 support to rather use a patch. From Olivier Crete + <tester@gentoo.org>. + + 20 Jul 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.3-r1.ebuild, + files/3.2.3/gcc-3.2.3-mergel-fix.patch: + There exists a bug in the ebuild patched gcc that prevents hppa from getting + build because of default_assemble_visibility is not compiled. Patch done by + Alexander Gabert <pappy@nikita.ath.cx>. + + 18 Jul 2003; Will Woods <wwoods@gentoo.org> gcc-3.2.3-r1.ebuild: + Marked stable for alpha + + 16 Jul 2003; Jay Pfeifer <pfeifer@gentoo.org> gcc-3.2.3-r1.ebuild: + set stable on x86 + + 14 Jul 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.3-r1.ebuild: + ProPolice does not work on architectures where the stack + grows upward (such as HPPA). Therefore, if the + architecture is HPPA, do not apply the ProPolice patches. + + 09 Jul 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.3-r1.ebuild: + Updated ProPolice to protector-8. This includes minor + bugfixes on PPC that popped up in certain (rare) cases. + + 02 Jul 2003; Luca Barbato <lu_zero@gentoo.org> gcc-3.2.3-r1.ebuild: + set added the mergel workaround, G4 users should reemerge or change the + altivec.h include by hand + + 01 Jul 2003; Luca Barbato <lu_zero@gentoo.org> gcc-3.2.3-r1.ebuild: + set stable on ppc + + 01 Jul 2003; Todd Sunderlin <todd@gentoo.org> gcc-3.2.3-r1.ebuild: + set stable on sparc + + 14 Jun 2003; Joshua Kinard <kumba@gentoo.org> gcc-3.2.3-r1.ebuild: + Changed ~mips to mips in KEYWORDS + + 12 Jun 2003; <msterret@gentoo.org> gcc-3.1-r8.ebuild, gcc-3.1.1-r1.ebuild: + fix Header + + 10 Jun 2003; Tavis Ormandy,,, <taviso@gentoo.org> gcc-2.95.3-r8.ebuild, + files/gcc-2.95.3-alpha.diff: + new-atexit.diff is not finished for alpha, fixing #18626 + + 19 May 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.ebuild : + Only compile gcj AWT/Swing support if we have the Xlib.h header, else + it borks during bootstrap. + +*gcc-3.3 (17 May 2003) + + 17 May 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.3.ebuild, + gcc33-gentoo-branding.patch, gcc33-propolice-version.patch : + New version: + - Merge cleanups from Spider <spider@gentoo.org>. + - Add the manpages (required during bootstrap, as we do not have perl), + with some more cleanups. + - Add a nice collection of patches from Suse/Debian, thanks to + Nicholas Wourms <dragon@gentoo.org> for filtering these. + - Add an branch update from the Hammer 3.3 branch with lots of Athlon + and Hammer fixes/optimizations. This also includes the DFA scheduler + and profiler updates that should improve things accross the board. + Once again, many thanks to Nicholas Wourms <dragon@gentoo.org>. + - Add gcj AWT/Swing for people with X and java in USE (thanks again + Nicholas =). + + NOTE: I urge the faint of heart to leave this for now, as it have + deprecated many features, and a lot of packages will have to + be fixed first. + + 16 May 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild: + - Updated ProPolice to Protector-3.2.2-7, fixing the PPC bug and + parallel make bug - again we no longer need to apply these + separately. + - Converted to the new patch implementation as used in the + gcc-3.2.3-r1 ebuild making for easier patch management. Thanks + to Martin Schlemmer <azarah@gentoo.org> for this cleanup. + + 16 May 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.3-r1.ebuild: + Updated ProPolice to Protector-3.2.2-7. This revision includes the PPC bug fix + and the parallel make fix, so these no longer need to be applied separately. + +*gcc-3.2.3-r1 (29 Apr 2003) + + 14 Jun 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.2.3-r1.ebuild : + Changed ~hppa to -hppa in KEYWORDS. Too many crazy users are using ~hppa. + + 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.3-r1.ebuild : + Manpages gets regenerated, and as we do not have perl at bootstrap, we need + to use a tarball with updated manpages again. Also fix the build to gzip + manpages and info pages. Fix the build to actually remove man/info pages + if 'build' in USE .. this got broken during the gcc-config changes. + +*gcc-3.2.3 (28 Apr 2003) + + 28 Apr 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.3.ebuild, + gcc-323-propolice-version.patch, gcc32-c++-classfn-member-template.patch, + gcc32-mklibgcc-serialize-crtfiles.patch, gcc323-gentoo-branding.patch, + protector-3.2.2-6-PPC.patch : + Update version + - Add gcc323-gentoo-branding.patch and gcc-3.2.3-tls-update.patch.bz2 thanks + to Nicholas Wourms <dragon@gentoo.org>. He did a great job at porting + gcc-3.2.3-tls-update.patch.bz2 from 3.2.2! + - Add two patches from Mandrake; gcc32-c++-classfn-member-template.patch and + gcc32-mklibgcc-serialize-crtfiles.patch. + - Cleanup the ProPolice stuff. Also rather use the patch tarball from its + homepage then adding the files to cvs. + - Get the version patches (gcc323-gentoo-branding.patch and + gcc-323-propolice-version.patch) to be more generic to ebuild revisions; + added version_patch() for this. + - Fix awk/fixlafiles.awk to not change files in /usr/lib/gcc-lib. This got + broken with my previous recursion fix. + + 28 Apr 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2-r5.ebuild : + Remove message and 'die' in pkg_setup(). + + 28 Apr 2003; Luca Barbato <lu_zero@gentoo.org> gcc-3.2.2-r2.ebuild : + Unmasked on ppc + + 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org> : + - Fix latest ebuild to only build static if we are just building the C + frontend, else some C++ packages fails when trying to link to libstdc++.so, + bug #18050. + - One more effort to try and fix the corner cases where an upgrade borks + python, and thus portage, resulting in /etc/ld.so.conf not being updated. + +*gcc-3.2.2-r2 (21 Mar 2003) + + 21 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2-r2.ebuild, + gcc32-pr7768.patch, gcc32-pr8213.patch, gcc32-pr9732.patch, + gcc322-pr8746.patch, gcc322-pr9888.patch, gcc322-ggc_page-speedup.patch, + gcc-3.2.2-branch-update-20030322.patch, gcc-3.2.2-tls-update2.patch : + + - Update to gcc-3_2 branch 2003-03-22 (gcc-3.2.2-branch-update-20030322.patch) + - Update TLS patch (gcc-3.2.2-tls-update2.patch) for 2003-03-22 CVS branch. + - Add gcc322-pr9888.patch to fix a out of range 'loop' instructions for the + K6 family of processors. Many thanks to Jim Bray <jb@as220.org> for his + work in getting this resolved with the gcc devs, and bringing it to my + attention (included in branch-update). + - Add gcc322-pr8746.patch to fix corner cases of miscompilation on K6 arch. + - Get gcc to decreases the number of times the collector has to be run + by increasing its memory workspace, bug #16548, thanks to + Garen <garen@garen.net>, patch gcc322-ggc_page-speedup.patch. + - Also added some other PR bugfixes. + + 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2*.ebuild : + Fix handling of fix_libtool_files.sh to be more $FILESDIR independant. + We basically install it to /sbin now, and then call it from there. Also + export LD_LIBRARY_PATH with new gcc library path in it to prevent gcc-config + from borking when run. This will hopefully fix bugs #15288, #16632, #16797. + +*gcc-3.2.2-r3 (03 Mar 2003) + + 25 Apr 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild: + Added files/3.2.2/protector_parallel_make.patch which + fixes the errors we've been seeing when using >= -j2 + as addressed in bug 18091. + + 24 Apr 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild, + files/3.2.2/protector.c: + Fixed the ProPolice PPC segfault issue on certain packages. + Thanks to Hiroaki Etoh <ETOH@jp.ibm.com> for the quick fix + for this problem. + + 20 Apr 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild, + files/3.2.2/protector.patch: + Updated to the latest ProPolice patch, Protector-6. This should resolve the + problems experienced with the Protector-5 patch. This was due to a bug in the + patch enabling the protection by default. + + 11 Apr 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild, + manifest, files/3.2.2/protector.patch: + Downgraded ProPolice to protector-4. With Protector-5 GCC seems to + die on bootstrap with 1.4-rc4. It also seems to be the source of the + unresolved symbols seen previously. We'll stay with -4 for now. + + 10 Apr 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild, + manifest: + Removing -fstack-protector from ALLOWED_FLAGS. This leads + to unresolved symbols in builds of certain packages. + + 09 Apr 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild, + files/3.2.2/protector.patch: + Updated ProPolice to protector-3.2.2-5 + + 31 Mar 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild: + Moved ProPolice related files from $FILEDIR/3.2 to $FILESDIR/3.2.2 + + 26 Mar 2003; Matthew Rickard <frogger@gentoo.org> gcc-3.2.2-r3.ebuild, + files/3.2/protector.patch: + - Updated ProPolice patch to protector-3.2.2-4.tar.gz + - Removed unneeded comments in ebuild about a patch we aren't applying anymore. + - Added gcc-322-r3-propolice-version.patch which will add propolice to the + gcc version string. This is necessary for xfree to build correctly with + stack protection. + - Added -fstack-protector to the list of known good CFLAGS + + 05 Mar 2003; Joshua Brindle <method@gentoo.org> gcc-3.2.2-r3.ebuild : + replace-flags for pentium4 for bug #16867, add optimizations for x86 only + + 03 Mar 2003; Joshua Brindle <method@gentoo.org> gcc-3.2.2-r3.ebuild : + Fixed strip-flags to allow certain known stable optimizations including: + -O -O1 -O2 -Os -O3 -mcpu -march -pipe -g -freorder-blocks -fprefetch-loop-arrays + +*gcc-3.2.2-r1 (23 Feb 2003) + + 25 Feb 2003; Nicholas Wourms <dragon@gentoo.org> gcc-3.2.2-r1.ebuild : + Fix mips depends so they actually work. + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> gcc-3.2.2-r1.ebuild : + Mark testing for mips. Changed DEPENDS to a lower binutils *only* for mips, + since .18 generates really b0rked asm and tests prove that .16 works just fine. + + 23 Feb 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2-r1.ebuild : + Update from cvs to add __thread support. + +*gcc-3.2.2 (06 Feb 2003) + + 27 May 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.2.2.ebuild : + Downgrading DEPEND to binutils >=2.13.90.0.16 for hppa. + + 29 Mar 2003; Christian Birchinger <joker@gentoo.org> gcc-3.2.2.ebuild: + Added sparc stable keyword + + 25 Feb 2003; Nicholas Wourms <dragon@gentoo.org> gcc-3.2.2.ebuild : + Fix mips depends so they actually work. + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> gcc-3.2.2.ebuild : + Mark stable for mips. Changed DEPENDS to a lower binutils *only* for mips, + since .18 generates really b0rked asm and tests prove that .16 works just fine. + + 24 Feb 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2.ebuild : + Mark stable for x86. + + 22 Feb 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.2.2.ebuild : + Commited stable for hppa. + + 22 Feb 2003; Zach Welch <zwelch@gentoo.org> gcc-3.2.2.ebuild : + Added patch for arm to disable floating point math + + 21 Feb 2003; Zach Welch <zwelch@gentoo.org> gcc-3.2.2.ebuild : + Added patch for arm to fix incorrect code generation + + 21 Feb 2003; Aron Griffis <agriffis@gentoo.org> gcc-3.2.2.ebuild : + Mark 3.2.2 stable on alpha -- it's the best we've got so far! + + 18 Feb 2003; Zach Welch <zwelch@gentoo.org> gcc-3.2.2.ebuild : + Added arm to keywords. + + 08 Feb 2003; Guy Martin <gmsoft@gentoo.org> gcc-3.2.2.ebuild : + Added hppa to keywords. + + 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2.ebuild : + Update version. + +*gcc-3.2.2_pre20030131 (02 Feb 2003) + + 02 Feb 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2_pre20030131.ebuild : + New snapshot. This should close bug #14699. + +*gcc-3.2.1-r7 (18 Jan 2003) + + 18 Jan 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1-r7.ebuild : + Add some patches from Mandrake/Suse. + +*gcc-3.2.1-r6 (16 Dec 2002) + + 13 Feb 2003; Mark Guertin <gerk@gentoo.org> gcc-3.2.1-r6.ebuild : + set ppc in keywords + + 19 Jan 2003; Jan Seidel <tuxus@gentoo.org> : + Added mips to keywords + + 08 Jan 2003; Seemant Kulleen <seemant@gentoo.org> gcc-3.2.1-r6.ebuild : + + Stable for sparc. + + 08 Jan 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1-r6.ebuild : + Mark stable for x86. Do not merge with C[XX]FLAGS="-march=k6[-2]", as + it causes problems, bug #12791. + + 28 Dec 2002; Jack Morgan <jmorgan@gentoo.org> gcc-3.2.1.ebuild : + Changing ~sparc to sparc + + 23 Dec 2002; Martin Schlemmer <azarah@gentoo.org> : + Fix to use get_number_of_jobs to set -j. + + 16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1*.ebuild : + Fix to set CC and CXX properly. + + 16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1-r1.ebuild, + gcc-3.2.1-r6.ebuild, gcc-2.95.3-r7.ebuild gcc-3.2.1*.ebuild : + + Install and touch manpages if we do not have perl, as they started to + use perl to generate the manpages ... If we do not do this, gcc fails + to build during bootstrap. + + Install the /lib/cpp and /usr/bin/cc wrappers for other common used gcc's. + +*gcc-3.2.1-r1 (16 Dec 2002) + + 16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1-r1.ebuild, + gcc-3.2.1-r6.ebuild : + + Update with patches from Redhat, and also update with patch against 2002-12-08 + CVS branch. For -r6, changed the /lib/cpp and /usr/bin/cc symlinks to wrapper + scripts, which is more generic if we do not fisically switch gcc profiles. + + 15 Dec 2002; Martin Schlemmer <azarah@gentoo.org> gcc-2.95.3-r*.ebuild : + Fix CXX to equal 'g++'. For some reason I was under the impression that + gcc3 was the only gcc that needed this. This should close bugs #11589 + and #12169. Ill figure some way to get this fixed painlessly for + most users ... + + 13 Dec 2002; Mark Guertin <gerk@gentoo.org> gcc-3.2.1.ebuild : + Marked stable for ppc. + + 12 Dec 2002; Jan Seidel <tuxus@gentoo.org> gcc-3.2.1.ebuild : + Added mips to keywords. + + 10 Dec 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1.ebuild : + Mark as stable for x86. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : + Changed sparc ~sparc keywords. + + 03 Dec 2002; Martin Schlemmer <azarah@gentoo.org> : + Also set CC and CXX in /etc/env.d/05gcc. + + 01 Dec 2002; Olivier Reisch <doctomoe@gentoo.org> gcc-3.2-r4.ebuild : + Definitely fine now, marking it ppc stable. Moving on to 3.2.1 :) + + 25 Nov 2002; Olivier Reisch <doctomoe@gentoo.org> gcc-3.2-r4.ebuild : + Changed -ppc to ~ppc, we have been able to make it compile fine on a few + test machines. Will test further before marking it ppc stable eventually. + + 24 Nov 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1.ebuild, + gcc-3.2.1-r5.ebuild : + + Get these to run ${FILESDIR}/fix_libtool_files.sh, and thus fix libtool + linker scripts to reference the right gcc version ... This should close + bug #11094. + +*gcc-3.2.1 (21 Nov 2002) +*gcc-3.2.1-r5 (21 Nov 2002) + + 21 Nov 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.1.ebuild, + gcc-3.2.1-r5.ebuild : + + Update to new version. Multi arch version is -r5. + + 21 Nov 2002; Olivier Reisch <doctomoe@gentoo.org> gcc-3.2-r4.ebuild : + + Added -ppc, it does not compile on PPC test machine. + + 20 Nov 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2-r4.ebuild : + + Mark as stable. + +*gcc-3.2-r5 (10 Oct 2002) + + 10 Nov 2002; Martin Schlemmer <azarah@gentoo.org> : + + New multi version/arch version. Updated with patches + from Mandrake/Redhat/Suse. Have SLOT=$PV if CCHOST=CHOST. + +*gcc-3.2-r4 (10 Oct 2002) + + 10 Nov 2002; Martin Schlemmer <azarah@gentoo.org> : + + Updated with patches from Mandrake/Redhat/Suse. + +*gcc-2.95.3-r8 (10 Oct 2002) + + 03 Arp 2003; Martin Holzer <mholzer@gentoo.org> gcc-2.95.3-r8.ebuild : + Filtering out -ggdb. Closes #8229. + + 08 Jan 2003; Seemant Kulleen <seemant@gentoo.org> gcc-2.95.3-r8.ebuild : + + Marked stable for x86 + + 10 Nov 2002; Martin Schlemmer <azarah@gentoo.org> : + + New multi version/arch version. + +*gcc-3.2-r3 (28 Oct 2002) + + 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2-r3.ebuild : + + Initial version that support alpha version of new multi version/arch + scheme. Very ALPHA, so use at your own risk!! + +*gcc-3.2-r2 (20 Oct 2002) + + 20 Oct 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2-r2.ebuild : + + Add patches to compile under glibc-2.3.1. + +*gcc-3.2-r1 (27 Aug 2002) + + 9 Sep 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2-r1.ebuild : + + Remove symlinks that are installed to /usr/lib/gcc-lib/$CHOST/$PV/include, + as it may cause the build to fail. + + 27 Aug 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2-r1.ebuild : + + Update the "misconstruct function call frame" bug patches. This resolves + bug #7071, thanks to Steven Wong <wongs15@tartarus.uwa.edu.au>. Updated + info can be found at: + + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2002/08/0588.html + + Good patch site to keep in mind (reminder to myself): + + http://www.zipworld.com.au/~gschafer/lfs-tweaks.html + + 21 Aug 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : + + Filter -fomit-frame-pointer flag, which causes problems as reported in + bug #6641. + + 15 Aug 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.ebuild : + + Add back gcc-3-deopt.patch. Also add gcc-3-deopt-doc.patch. Update + the docs that gets installed, as well as added html pages for libstdc++-v3. + +*gcc-3.2 (15 Aug 2002) + + 15 Aug 2002; Daniel Robbins <drobbins@gentoo.org> gcc-3.2.ebuild : + + Update to latest version + +*gcc-3.2_pre-r1 (15 Aug 2002) + + 15 Aug 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2_pre-r1 : + + New snapshot. + + Fixes a bug in gcc-3.1 and above ... -maccumulate-outgoing-args flag (added + in gcc-3.1) causes gcc to misconstruct the function call frame in many cases. + Thanks to Ronald Hummelink <ronald@hummelink.xs4all.nl> for bringing it to + our attention. + + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2002/08/ + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2002/08/0319.html + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2002/08/0350.html + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2002/08/0410.html + http://gcc.gnu.org/ml/gcc/2002-08/msg00731.html + + NOTE to myself: I still have to apply the patch to the manpage *after* + compile. + + Add --enable-__cxa_atexit to ./configure, fixing bug #6430. + +*gcc-3.1.1-r1 (30 Jul 2002) + + 30 Jul 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1.1-r1 : + + Gcc-3.1.1 final. Also fixed it to be able to disable java. + Major cleanups from 3.1.1. + +*gcc-3.2_pre (28 Jul 2002) + + 30 Jul 2002; Mark Guertin <gerk@gentoo.org> gcc-3.2_pre : + Added ppc to keywords + + 30 Jul 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2_pre : + + Some cleanups. Use the "java" USE flag to enable/disable java + as it add a bit to compile time. + + 28 Jul 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.2_pre : + + Add CVS version of gcc-3.2. + +*gcc-3.1.1 (07 Jul 2002) + + 7 Jul 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1.1 : + + Add snapshot for gcc-3.1.1. This fixes the internal compiler + errors with "-march=pentium4" for me at least (had with gcc-3.1). + +*gcc-3.1-r8 (03 Jul 2002) + + 6 Jul 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1-r8 : + + Update the fix for bug #4411, as the old caused ncurses, among things + not to link properly if an older version was installed. The sed + rule is now: + + sed -e "s:%{L\*} %(link_libgcc):%{L\*} -L/lib %(link_libgcc):" specs + + + 3 Jul 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1-r8 : + + Move all the libs to the version specific directory. Add a fix for + bug #4411, which should be considered *very* experimental. + + 3 Jul 2002; Martin Schlemmer <azarah@gentoo.org> : + Add the /usr/bin/$CHOST-g++ symlink, as it is needed now for + some weird reason. + +*gcc-2.95.3-r7 (29 Jun 2002) + + 29 Jun 2002; Martin Schlemmer <azarah@gentoo.org> : + Remove texinfo as we have an ebuild again. + + This new patch for the atexit problem occured with glibc-2.2.3 should + work with glibc-2.2.4. This closes bug #3987 and #4004. + + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2001/08/0476.html + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2001/08/0589.html + + Something to note, is that this patch makes gcc crash if its given + the "-mno-ieee-fp" flag ... libvorbis is an good example of this. + This however is on of those which one we want fixed most cases :/ + + Also fix bug #3527, which was caused by a stray symlink on downgrading from + gcc-3.x. + +*gcc-3.1-r7 (29 June 2002) + + 29 June 2002; Brandon Low <lostlogic@gentoo.org> gcc-3.1-r6.ebuild : + + Make sure that static linking against gcc libraries works with a little + sed magic :). + + 25 Jun 2002; Martin Schlemmer <azarah@gentoo.org> texinfo providing ebuilds : + Add ibiblio to SRC_URI for all texinfo providing ebuilds (2.95.3 and 3.0.4); + resolve bug #1777. + +*gcc-3.1-r6 (10 June 2002) + + 11 June 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1-r6.ebuild : + + Update version checking. + + 10 June 2002; Bart Verwilst <verwilst@gentoo.org> Changelog: + + Remove curses.h and ncurses.h from the installation, so it doesn't + conflict with our ncurses package. + + +*gcc-3.1-r5 (29 May 2002) + + 29 May 2002; Matthew Kennedy <azarah@gentoo.org> gcc-3.1-r5.ebuild, + ChangeLog, files/digest-gcc-3.1-r5 : + + Fixes how we check for already install gcc's. + +*gcc-3.1-r4 (25 May 2002) + + 25 May 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1-r4.ebuild : + + Fix some more files that got installed in the wrong location. From + gcc-3.1, locales is installed in $datadir, so we should not set that + to a custom dir, and since libgcj.jar now have the version appended, + it should not be a problem with multiple version installs anymore. + +*gcc-3.1-r3 (25 May 2002) + + 25 May 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1-r3.ebuild : + + Added some Redhat/Suse/Mandrake patches. + +*gcc-3.1-r2 (24 May 2002) + + 24 May 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.1-r2.ebuild : + + Use the correct library versions in src_install(). + +*gcc-3.1-r1 (20 May 2002) + 20 May 2002; Spider <spider@gentoo.org> gcc-3.1-r1.ebuild : + removed all texinfo references in gcc 3.1 ebuild. + +*gcc-3.1 (17 May 2002) + + 17 May 2002; Preston Elder <prez@gentoo.org> gcc-3.1 : + + Added the 3.1 ebuild. + +*gcc-3.0.4-r6 (2 May 2002) + + 3 May 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.0.4-r6 : + + Fix some typo's thanks to Jared H. Hudson. + +*gcc-3.0.4-r5 (2 May 2002) + + 2 May 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.0.4-r5 : + + Only move .la files for parallel builds, else some packages (KDE *grin*) + fails to build. + +*gcc-2.95.3-r6 (30 Apr 2002) + + 30 Apr 2002; Daniel Robbins <drobbins@gentoo.org>: removed libiberty.a as + binutils installs it. This closes bug #2266. + +*gcc-3.0.4-r4 (25 Apr 2002) + + 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.0.4-r4 : + + Only apply the gcc3-program-transform.patch patch if building + a multiple install of gcc. + + 17 Apr 2002; Martin Schlemmer <azarah@gentoo.org> gcc-3.0.4-r3 : + + Move .la files to gcc internal dir to fix gcc2+libtool problems + of trying to link /usr/lib/libstdc++.so. + +*gcc-3.0.4-r3 (16 Apr 2002) + + 16 Apr 2002; Martin Schlemmer <azarah@gentoo.org> : + + Moved the manpages to version spesific ones. More cleanups. + Moved libgcj.jar to /usr/lib/gcc-$PV. + +*gcc-3.0.4-r2 (15 Apr 2002) + + 15 Apr 2002; Martin Schlemmer <azarah@gentoo.org> : + + This build enables us to have multiple versions of gcc + installed. + +*gcc-3.0.4 (1 Mar 2002) + + 1 Mar 2002; Grant Goodyear <g2boojum@gentoo.org> : + + Added 3.0.4. It looks like using the --disable-checks + command fixes most of the sandbox violations that we had + with 3.0.3 (or 3.0.4 no longer tries to update system + headers; I'm not sure which). + +*gcc-2.95.3-r5 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest new file mode 100644 index 0000000..5b3a92a --- /dev/null +++ b/sys-devel/gcc/Manifest @@ -0,0 +1,16 @@ +MD5 7cf2d13cc4e02d3b3525bc84a3fe79cc ChangeLog 84776 +MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 +MD5 f623b1d98e0a13c4e99bef4efdae5935 gcc-4.0.1_beta20050514.ebuild 1521 +MD5 f7e7042c2ddf66e344b30cbc66ebaf73 files/cc 24 +MD5 80d122265d3062847a4a1b161abe1d26 files/cpp 24 +MD5 a570da9000df56c70620ec2e36e864a3 files/digest-gcc-2.95.3-r8 137 +MD5 1acd56209164ab837c5f91723434464e files/fix_libtool_files.sh 1712 +MD5 f80fd6ebeeea00d3e1649dfccdd85062 files/gcc-spec-env.patch 893 +MD5 e3193bdffb435b77a21bfb504ff6f591 files/mkinfodir 7324 +MD5 ea2cf3df0d89a26d5fdc1a531176e395 files/pro-police-docs.patch 3287 +MD5 30e991ec7ed6889d3c06ad2e2673984f files/digest-gcc-4.0.1_beta20050514 71 +MD5 8baffb486c75efe253bd2daa88daa7d6 files/gcc331_use_multilib.amd64.patch 352 +MD5 07b57d62aa1a8cd4d1cd37984ebe2053 files/scan_libgcc_linked_ssp.sh 861 +MD5 d94ab93895a7b6bcff53aa5ec4dd0ff2 files/digest-gcc-4.0.0 64 +MD5 f8c48b2e721c21d83582f5884bfb79c7 files/awk/fixlafiles.awk 7830 +MD5 c672adb59a1f452475ab0a864b9d1bd1 files/awk/scanforssp.awk 5830 diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk new file mode 100644 index 0000000..26567c2 --- /dev/null +++ b/sys-devel/gcc/files/awk/fixlafiles.awk @@ -0,0 +1,314 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.13 2005/05/10 18:10:37 azarah Exp $ + +# +# Helper functions +# +function printn(string) { + system("echo -n \"" string "\"") +} +function einfo(string) { + system("echo -e \" \\e[32;01m*\\e[0m " string "\"") +} +function einfon(string) { + system("echo -ne \" \\e[32;01m*\\e[0m " string "\"") +} +function ewarn(string) { + system("echo -e \" \\e[33;01m*\\e[0m " string "\"") +} +function ewarnn(string) { + system("echo -ne \" \\e[33;01m*\\e[0m " string "\"") +} +function eerror(string) { + system("echo -e \" \\e[31;01m*\\e[0m " string "\"") +} + +# +# assert(condition, errmsg) +# assert that a condition is true. Otherwise exit. +# +function assert(condition, string) { + if (! condition) { + printf("%s:%d: assertion failed: %s\n", + FILENAME, FNR, string) > "/dev/stderr" + _assert_exit = 1 + exit 1 + } +} + +# +# system(command, return) +# wrapper that normalizes return codes ... +# +function dosystem(command, ret) { + ret = 0 + ret = system(command) + if (ret == 0) + return 1 + else + return 0 +} + +BEGIN { + # + # Get our variables from environment + # + OLDVER = ENVIRON["OLDVER"] + OLDCHOST = ENVIRON["OLDCHOST"] + + if (OLDVER == "") { + eerror("Could not get OLDVER!"); + exit 1 + } + + # Setup some sane defaults + LIBCOUNT = 2 + HAVE_GCC34 = 0 + DIRLIST[1] = "/lib" + DIRLIST[2] = "/usr/lib" + + # + # Walk /etc/ld.so.conf to discover all our library paths + # + pipe = "cat /etc/ld.so.conf | sort 2>/dev/null" + while(((pipe) | getline ldsoconf_data) > 0) { + if (ldsoconf_data !~ /^[[:space:]]*#/) { + if (ldsoconf_data == "") continue + + # Remove any trailing comments + sub(/#.*$/, "", ldsoconf_data) + # Remove any trailing spaces + sub(/[[:space:]]+$/, "", ldsoconf_data) + + # If there's more than one path per line, split + # it up as if they were sep lines + split(ldsoconf_data, nodes, /[:,[:space:]]/) + + # Now add the rest from ld.so.conf + for (x in nodes) { + # wtf does this line do ? + sub(/=.*/, "", nodes[x]) + # Prune trailing / + sub(/\/$/, "", nodes[x]) + + if (nodes[x] == "") continue + + # + # Drop the directory if its a child directory of + # one that was already added ... + # For example, if we have: + # /usr/lib /usr/lib/mozilla /usr/lib/nss + # We really just want to save /usr/lib + # + CHILD = 0 + for (y in DIRLIST) { + if (nodes[x] ~ "^" DIRLIST[y]) { + CHILD = 1 + break + } + } + if (CHILD) continue + + DIRLIST[++LIBCOUNT] = nodes[x] + } + } + } + close(pipe) + + # + # Get line from gcc's output containing CHOST + # + pipe = "gcc -print-file-name=libgcc.a 2>/dev/null" + if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) { + close(pipe) + + # If we fail to get the CHOST, see if we can get the CHOST + # portage thinks we are using ... + pipe = "/usr/bin/portageq envvar 'CHOST'" + assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST") + } else { + # Check pre gcc-3.4.x versions + CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST) + + if (CHOST == TMP_CHOST || CHOST == "") { + # Check gcc-3.4.x or later + CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST); + + if (CHOST == TMP_CHOST || CHOST == "") + CHOST = "" + else + HAVE_GCC34 = 1 + } + } + close(pipe) + + if (CHOST == "") { + eerror("Could not get gcc's CHOST!") + exit 1 + } + + if (OLDCHOST != "") + if (OLDCHOST == CHOST) + OLDCHOST = "" + + GCCLIBPREFIX_OLD = "/usr/lib/gcc-lib/" + GCCLIBPREFIX_NEW = "/usr/lib/gcc/" + + if (HAVE_GCC34) + GCCLIBPREFIX = GCCLIBPREFIX_NEW + else + GCCLIBPREFIX = GCCLIBPREFIX_OLD + + GCCLIB = GCCLIBPREFIX CHOST + + if (OLDCHOST != "") { + OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST + OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST + } + + # Get current gcc's version + pipe = "gcc -dumpversion" + assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)") + close(pipe) + + if (NEWVER == "") { + eerror("Could not get gcc's version!") + exit 1 + } + + # Nothing to do ? + if ((OLDVER == NEWVER) && (OLDCHOST == "")) + exit 0 + + # + # Ok, now let's scan for the .la files and actually fix them up + # + for (x = 1; x <= LIBCOUNT; x++) { + # Do nothing if the target dir is gcc's internal library path + if (DIRLIST[x] ~ GCCLIBPREFIX_OLD || + DIRLIST[x] ~ GCCLIBPREFIX_NEW) + continue + + einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...") + + pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null" + while (((pipe) | getline la_files) > 0) { + + # Do nothing if the .la file is located in gcc's internal lib path + if (la_files ~ GCCLIBPREFIX_OLD || + la_files ~ GCCLIBPREFIX_NEW) + continue + + CHANGED = 0 + CHOST_CHANGED = 0 + + # See if we need to fix the .la file + while ((getline la_data < (la_files)) > 0) { + if (OLDCHOST != "") { + if ((gsub(OLDGCCLIB1 "[/[:space:]]+", + GCCLIB, la_data) > 0) || + (gsub(OLDGCCLIB2 "[/[:space:]]+", + GCCLIB, la_data) > 0)) { + CHANGED = 1 + CHOST_CHANGED = 1 + } + } + if (OLDVER != NEWVER) { + if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*", + GCCLIB "/" NEWVER, la_data) > 0) || + (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*", + GCCLIB "/" NEWVER, la_data) > 0)) + CHANGED = 1 + } + } + close(la_files) + + # Do the actual changes in a second loop, as we can then + # verify that CHOST_CHANGED among things is correct ... + if (CHANGED) { + ewarnn(" FIXING: " la_files " ...") + + if (CHANGED) + printn("[") + + # Clear the temp file (removing rather than '>foo' is better + # out of a security point of view?) + dosystem("rm -f " la_files ".new") + + while ((getline la_data < (la_files)) > 0) { + if (OLDCHOST != "") { + tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)", + GCCLIB "\\1", "g", la_data) + tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)", + GCCLIB "\\1", "g", tmpstr) + + if (la_data != tmpstr) { + printn("c") + la_data = tmpstr + } + + if (CHOST_CHANGED > 0) { + # We try to be careful about CHOST changes outside + # the gcc library path (meaning we cannot match it + # via /GCCLIBPREFIX CHOST/) ... + + # Catch: + # + # dependency_libs=' -L/usr/CHOST/{bin,lib}' + # + gsub("-L/usr/" OLDCHOST "/", + "-L/usr/" CHOST "/", la_data) + # Catch: + # + # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib' + # + la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/", + "\\1/" CHOST "/", "g", la_data) + } + } + + if (OLDVER != NEWVER) { + # Catch: + # + # dependency_libs=' -L/usr/lib/gcc/CHOST/VER' + # + tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)", + GCCLIB "/" NEWVER "\\1", "g", la_data) + tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)", + GCCLIB "/" NEWVER "\\1", "g", tmpstr) + + if (la_data != tmpstr) { + # Catch: + # + # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib' + # + # in cases where we have gcc34 + tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)", + GCCLIBPREFIX "\\1", "g", tmpstr) + tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)", + GCCLIBPREFIX "\\1", "g", tmpstr) + printn("v") + la_data = tmpstr + } + } + + print la_data >> (la_files ".new") + } + + if (CHANGED) + print "]" + + close(la_files) + close(la_files ".new") + + assert(dosystem("mv -f " la_files ".new " la_files), + "dosystem(\"mv -f " la_files ".new " la_files "\")") + } + } + + close(pipe) + } +} + +# vim:ts=4 diff --git a/sys-devel/gcc/files/awk/scanforssp.awk b/sys-devel/gcc/files/awk/scanforssp.awk new file mode 100644 index 0000000..e8a1fe8 --- /dev/null +++ b/sys-devel/gcc/files/awk/scanforssp.awk @@ -0,0 +1,225 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# Author: Martin Schlemmer <azarah@gentoo.org> +# Contributor: Ned Ludd <solar@gentoo.org> +# Contributor: Natanael Copa <nat@c2i.net> +# Contributor: Carter Smithhart <derheld42@derheld.net> +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/scanforssp.awk,v 1.7 2004/07/15 00:59:02 agriffis Exp $ + + +# Does not seem to be used in this script. +function printn(string) +{ + printf("%s", string) +} + +function einfo(string) +{ + printf(" %s %s%s", "\033[32;01m*\033[0m", string, "\n") +} + +# Does not seem to be used in this script. +function einfon(string) +{ + printf(" %s %s" , "\033[32;01m*\033[0m", string) +} + +function ewarn(string) +{ + printf(" %s %s%s" , "\033[33;01m*\033[0m", string, "\n") +} + +# Does not seem to be used in this script. +function ewarnn(string) +{ + printf("%s %s" , "\032[33;01m*\033[0m", string) +} + +function eerror(string) +{ + printf(" %s %s%s" , "\033[31;01m*\033[0m", string, "\n") +} + + # These are private, else wierd things + # might happen ... +function iself(scan_files, scan_file_pipe, scan_data) { + # Can we open() a file and read() 4 bytes? + scan_file_pipe = ("head -c 4 " scan_files " 2>/dev/null | tail -c 3") + scan_file_pipe | getline scan_data + close(scan_file_pipe) + return ((scan_data == "ELF") ? 0 : 1) +} + +BEGIN { + # Do we have etcat ? + pipe = ("which etcat 2>/dev/null") + if ((((pipe) | getline etcat_data) > 0) && (etcat_data != "")) + auto_etcat = 1 + else + auto_etcat = 0 + + # Fix bug that causes script to fail when pipe is not closed. Closes bug #36792 + close(pipe) + + DIRCOUNT = 0 + # Add the two default library paths + DIRLIST[1] = "/lib" + DIRLIST[2] = "/usr/lib" + + # Walk /etc/ld.so.conf line for line and get any library paths + pipe = ("cat /etc/ld.so.conf 2>/dev/null | sort") + while(((pipe) | getline ldsoconf_data) > 0) { + + if (ldsoconf_data !~ /^[[:space:]]*#/) { + + if (ldsoconf_data == "") continue + + # Remove any trailing comments + sub(/#.*$/, "", ldsoconf_data) + # Remove any trailing spaces + sub(/[[:space:]]+$/, "", ldsoconf_data) + + split(ldsoconf_data, nodes, /[:,[:space:]]/) + + # Now add the rest from ld.so.conf + for (x in nodes) { + + sub(/=.*/, "", nodes[x]) + sub(/\/$/, "", nodes[x]) + + if (nodes[x] == "") continue + + CHILD = 0 + + # Drop the directory if its a child directory of + # one that was already added ... + for (y in DIRLIST) { + + if (nodes[x] ~ "^" DIRLIST[y]) { + + CHILD = 1 + break + } + } + + if (CHILD) continue + + DIRLIST[++DIRCOUNT + 2] = nodes[x] + } + } + } + +# We have no guarantee that ld.so.conf have more library paths than +# the default, and its better scan files only in /lib and /usr/lib +# than nothing at all ... +# +# exit_val = close(pipe) +# if (exit_val != 0) +# print(exit_val " - " ERRNO) +# +# if (DIRCOUNT == 0) { +# eerror("Could not read from /etc/ld.so.conf!") +# exit 1 +# } + + # Correct DIRCOUNT, as we already added /lib and /usr/lib + DIRCOUNT += 2 + + # Add all the dirs in $PATH + split(ENVIRON["PATH"], TMPPATHLIST, ":") + count = asort(TMPPATHLIST, PATHLIST) + for (x = 1;x <= count;x++) { + + ADDED = 0 + + # Already added? + for (dnode in DIRLIST) + if (PATHLIST[x] == DIRLIST[dnode]) + ADDED = 1 + + if (ADDED) + continue + + # Valid? If so, add it ... + if (((PATHLIST[x] != "") && (PATHLIST[x] != "/") && (PATHLIST[x] != "."))) + DIRLIST[++DIRCOUNT] = PATHLIST[x] + + } + + GCCLIBPREFIX = "/usr/lib/gcc-lib/" + + for (x = 1;x <= DIRCOUNT;x++) { + + # Do nothing if the target dir is gcc's internal library path + if (DIRLIST[x] ~ GCCLIBPREFIX) continue + + einfo(" Scanning " ((x <= 9) ? "0"x : x)" of " DIRCOUNT " " DIRLIST[x] "...") + + pipe = ("find " DIRLIST[x] "/ -type f -perm -1 2>/dev/null") + while ( (pipe | getline scan_files) > 0) { + + #print scan_files + # Do nothing if the file is located in gcc's internal lib path ... + if (scan_files ~ GCCLIBPREFIX) continue + # Or if its hardend files ... + if (scan_files ~ "/lib/libgcc-3" ) continue + # Or not a elf image ... + if (iself(scan_files)) continue + + scan_file_pipe = ("readelf -s " scan_files " 2>&1") + while (((scan_file_pipe) | getline scan_data) > 0) { + bad = 0; + if (scan_data ~ /__guard@GCC/ || scan_data ~ /__guard@@GCC/) { + bad = 1; + print + + # 194: 00000000 32 OBJECT GLOBAL DEFAULT UND __guard@GCC_3.0 (3) + # 59: 00008ee0 32 OBJECT GLOBAL DEFAULT 22 __guard@@GCC_3.0 + split(scan_data, scan_data_nodes) + ewarn("Found " scan_data_nodes[8] " in " scan_files "!") + print + } + if (scan_data ~ /readelf: Error: Unable to seek/) { + bad = 1; + print + ewarn("Error executing readelf. Bad block? Filesystem error? in " scan_files) + print + } + + if (bad) { + + if (auto_etcat) { + + # Use etcat that comes with gentoolkit if auto_etcat is true. + etcat_pipe = ("etcat belongs " scan_files) + (etcat_pipe) | getline etcat_belongs + + while(((etcat_pipe) | getline etcat_belongs) > 0) + eerror(etcat_belongs != "" ? "Please emerge '>=" etcat_belongs "'": "") + close(etcat_pipe) + } else { + + eerror("You need to remerge package that above file belongs to!") + eerror("To find out what package it is, please emerge gentoolkit,") + eerror("and then run:") + print + print " # etcat belongs " scan_files + } + + print + + close(scan_file_pipe) + close(pipe) + exit(1) + } + } + close(scan_file_pipe) + } + close(pipe) + } + + exit(0) +} + + +# vim:ts=4 diff --git a/sys-devel/gcc/files/cc b/sys-devel/gcc/files/cc new file mode 100755 index 0000000..3d3b37b --- /dev/null +++ b/sys-devel/gcc/files/cc @@ -0,0 +1,2 @@ +#!/bin/sh +exec gcc "$@" diff --git a/sys-devel/gcc/files/cpp b/sys-devel/gcc/files/cpp new file mode 100755 index 0000000..d933a18 --- /dev/null +++ b/sys-devel/gcc/files/cpp @@ -0,0 +1,2 @@ +#!/bin/sh +exec cpp "$@" diff --git a/sys-devel/gcc/files/digest-gcc-2.95.3-r8 b/sys-devel/gcc/files/digest-gcc-2.95.3-r8 new file mode 100644 index 0000000..9362be7 --- /dev/null +++ b/sys-devel/gcc/files/digest-gcc-2.95.3-r8 @@ -0,0 +1,2 @@ +MD5 f3ad4f32c2296fad758ed051b5ac8e28 gcc-2.95.3.tar.gz 12911721 +MD5 48792aed1fb395bbc28d48789c3b871d gcc-2.95.3-patches-1.1.tar.bz2 9474 diff --git a/sys-devel/gcc/files/digest-gcc-4.0.0 b/sys-devel/gcc/files/digest-gcc-4.0.0 new file mode 100644 index 0000000..e19d852 --- /dev/null +++ b/sys-devel/gcc/files/digest-gcc-4.0.0 @@ -0,0 +1 @@ +MD5 55ee7df1b29f719138ec063c57b89db6 gcc-4.0.0.tar.bz2 31338477 diff --git a/sys-devel/gcc/files/digest-gcc-4.0.1_beta20050514 b/sys-devel/gcc/files/digest-gcc-4.0.1_beta20050514 new file mode 100644 index 0000000..3f6a90f --- /dev/null +++ b/sys-devel/gcc/files/digest-gcc-4.0.1_beta20050514 @@ -0,0 +1 @@ +MD5 25e147473b14c4bb43cdc53299c3524c gcc-4.0-20050514.tar.bz2 29630998 diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh new file mode 100644 index 0000000..c144be2 --- /dev/null +++ b/sys-devel/gcc/files/fix_libtool_files.sh @@ -0,0 +1,72 @@ +#!/bin/bash +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.12 2005/01/30 18:45:22 vapier Exp $ + +usage() { +cat << "USAGE_END" +Usage: fix_libtool_files.sh <old-gcc-version> [--oldarch <old-CHOST>] + + Where <old-gcc-version> is the version number of the + previous gcc version. For example, if you updated to + gcc-3.2.1, and you had gcc-3.2 installed, run: + + # fix_libtool_files.sh 3.2 + + If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu + but you now have CHOST as i686-pc-linux-gnu, run: + + # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu + + Note that if only the CHOST and not the version changed, you can run + it with the current version and the '--oldarch <old-CHOST>' arguments, + and it will do the expected: + + # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu + +USAGE_END + exit 1 +} + +if [[ $2 != "--oldarch" && $# -ne 1 ]] || \ + [[ $2 == "--oldarch" && $# -ne 3 ]] +then + usage +fi + +ARGV1=$1 +ARGV2=$2 +ARGV3=$3 + +source /etc/profile +source /sbin/functions.sh + +if [[ ${EUID} -ne 0 ]] ; then + eerror "${0##*/}: Must be root." + exit 1 +fi + +# make sure the files come out sane +umask 0022 + +if [[ ${ARGV2} == "--oldarch" ]] && [[ -n ${ARGV3} ]] ; then + OLDCHOST=${ARGV3} +else + OLDCHOST= +fi + +AWKDIR="/lib/rcscripts/awk" + +if [[ ! -r ${AWKDIR}/fixlafiles.awk ]] ; then + eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!" + exit 1 +fi + +OLDVER=${ARGV1} + +export OLDVER OLDCHOST + +einfo "Scanning libtool files for hardcoded gcc library paths..." +/bin/gawk -f "${AWKDIR}/fixlafiles.awk" + +# vim:ts=4 diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch new file mode 100644 index 0000000..27029c8 --- /dev/null +++ b/sys-devel/gcc/files/gcc-spec-env.patch @@ -0,0 +1,29 @@ +Add support for external spec file via the GCC_SPECS env var. This +allows us to easily control pie/ssp defaults with gcc-config profiles. + +Patch by Rob Holland. + +--- gcc-3/gcc/gcc.c ++++ gcc-3/gcc/gcc.c +@@ -6421,6 +6421,21 @@ + + /* Process any user specified specs in the order given on the command + line. */ ++ ++ GET_ENVIRONMENT (specs_file, "GCC_SPECS"); ++ if (specs_file && (strlen(specs_file) > 0)) ++ { ++ struct user_specs *user = (struct user_specs *) ++ xmalloc (sizeof (struct user_specs)); ++ ++ user->next = (struct user_specs *) 0; ++ user->filename = specs_file; ++ if (user_specs_tail) ++ user_specs_tail->next = user; ++ else ++ user_specs_head = user; ++ user_specs_tail = user; ++ } + for (uptr = user_specs_head; uptr; uptr = uptr->next) + { + char *filename = find_a_file (&startfile_prefixes, uptr->filename, diff --git a/sys-devel/gcc/files/gcc331_use_multilib.amd64.patch b/sys-devel/gcc/files/gcc331_use_multilib.amd64.patch new file mode 100644 index 0000000..4ba45d1 --- /dev/null +++ b/sys-devel/gcc/files/gcc331_use_multilib.amd64.patch @@ -0,0 +1,11 @@ +--- 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/files/mkinfodir b/sys-devel/gcc/files/mkinfodir new file mode 100755 index 0000000..a62840e --- /dev/null +++ b/sys-devel/gcc/files/mkinfodir @@ -0,0 +1,233 @@ +#!/bin/bash +# $Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ +# Generate the top-level Info node, given a directory of Info files +# and (optionally) a skeleton file. The output will be suitable for a +# top-level dir file. The skeleton file contains info topic names in the +# order they should appear in the output. There are three special +# lines that alter the behavior: a line consisting of just "--" causes +# the next line to be echoed verbatim to the output. A line +# containing just "%%" causes all the remaining filenames (wildcards +# allowed) in the rest of the file to be ignored. A line containing +# just "!!" exits the script when reached (unless preceded by a line +# containing just "--"). Once the script reaches the end of the +# skeleton file, it goes through the remaining files in the directory +# in order, putting their entries at the end. The script will use the +# ENTRY information in each info file if it exists. Otherwise it will +# make a minimal entry. + +# sent by Jeffrey Osier <jeffrey@cygnus.com>, who thinks it came from +# zoo@winternet.com (david d `zoo' zuhn) + +# modified 7 April 1995 by Joe Harrington <jh@tecate.gsfc.nasa.gov> to +# take special flags + +INFODIR=$1 +if [ $# = 2 ] ; then + SKELETON=$2 +else + SKELETON=/dev/null +fi + +skip= + +if [ $# -gt 2 ] ; then + echo usage: $0 info-directory [ skeleton-file ] 1>&2 + exit 1 +elif [ -z "${INFODIR}" ] ; then + INFODIR="%%DEFAULT_INFO_DIR%%" +else + true +fi + +if [ ! -d ${INFODIR} ] ; then + echo "$0: first argument must specify a directory" + exit 1 +fi + +### output the dir header +echo "-*- Text -*-" +echo "This file was generated automatically by $0." +echo "This version was generated on `date`" +echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`" + +cat << moobler +\$Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ +This is the file .../info/dir, which contains the topmost node of the +Info hierarchy. The first time you invoke Info you start off +looking at that node, which is (dir)Top. + +File: dir Node: Top This is the top of the INFO tree + + This (the Directory node) gives a menu of major topics. + Typing "q" exits, "?" lists all Info commands, "d" returns here, + "h" gives a primer for first-timers, + "mEmacs<Return>" visits the Emacs topic, etc. + + In Emacs, you can click mouse button 2 on a menu item or cross reference + to select it. + +* Menu: The list of major topics begins on the next line. + +moobler + +### go through the list of files in the skeleton. If an info file +### exists, grab the ENTRY information from it. If an entry exists +### use it, otherwise create a minimal dir entry. +### +### Then remove that file from the list of existing files. If any +### additional files remain (ones that don't have a skeleton entry), +### then generate entries for those in the same way, putting the info for +### those at the end.... + +infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*\.gz$' | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')` + +# echoing gets clobbered by backquotes; we do it the hard way... +lines=`wc $SKELETON | awk '{print $1}'` +line=1 +while [ $lines -ge $line ] ; do + # Read one line from the file. This is so that we can echo lines with + # whitespace and quoted characters in them. + fileline=`awk NR==$line $SKELETON` + + # flag fancy features + if [ ! -z "$echoline" ] ; then # echo line + echo "$fileline" + fileline= + echoline= + elif [ "${fileline}" = "--" ] ; then # should we echo the next line? + echoline=1 + elif [ "${fileline}" = "%%" ] ; then # eliminate remaining files from dir? + skip=1 + elif [ "${fileline}" = "!!" ] ; then # quit now + exit 0 + fi + + # handle files if they exist + for file in $fileline"" ; do # expand wildcards ("" handles blank lines) + + fname= + + if [ -z "$echoline" -a ! -z "$file" ] ; then + + # Find the file to operate upon. Check both possible names. + infoname=`echo $file | sed 's/\.gz$//'` + infoname=`echo $infoname | sed 's/\.info$//'` + noext= + ext= + if [ -f ${INFODIR}/$infoname ] ; then + noext=$infoname + fi + if [ -f ${INFODIR}/${infoname}.info ] ; then + ext=${infoname}.info + fi + if [ -f ${INFODIR}/${infoname}.info.gz ] ; then + ext=${infoname}.info.gz + fi + # If it exists with both names take what was said in the file. + if [ ! -z "$ext" -a ! -z "$noext" ]; then + fname=$file + warn="### Warning: $ext and $noext both exist! Using ${file}. ###" + elif [ ! \( -z "$ext" -a -z "$noext" \) ]; then + # just take the name if it exists only once + fname=${noext}${ext} + fi + + # if we found something and aren't skipping, do the entry + if [ ! -z "$fname" ] ; then + if [ -z "$skip" ] ; then + + if [ ! -z "$warn" ] ; then # issue any warning + echo $warn + warn= + fi + if [ "${fname##*.}" = "gz" ] ; then + entry=`zcat ${INFODIR}/${fname} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ + -e '/END-INFO-DIR-ENTRY/,$d' ` + else + entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ + -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$fname` + fi + if [ ! -z "${entry}" ] ; then + echo "${entry}" + else + echo "* ${infoname}: (${infoname})." + fi + fi + + # remove the name from the directory listing + infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${fname} / /" -e "s/ / /g"` + + fi + + fi + + done + + line=`expr $line + 1` +done + +if [ -z "${infofiles}" ] ; then + exit 0 +elif [ $lines -gt 0 ]; then + echo +fi + +# Sort remaining files by INFO-DIR-SECTION. +prevsect= +filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \ + fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \ + sort -t: -k2 -k1 | tr ' ' '_')` +for sectdata in ${filesectdata}; do + file=`echo ${sectdata} | cut -d: -f1` + section=`sed -n -e 's/^INFO-DIR-SECTION //p' ${INFODIR}/${file}` + infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${file} / /" -e "s/ / /g"` + + if [ "${prevsect}" != "${section}" ] ; then + if [ ! -z "${prevsect}" ] ; then + echo "" + fi + echo "${section}" + prevsect="${section}" + fi + infoname=`echo $file | sed 's/\.gz$//'` + infoname=`echo $infoname | sed 's/\.info$//'` + if [ "${file##*.}" = "gz" ] ; then + entry=`zcat ${INFODIR}/$file | sed -e '1,/START-INFO-DIR-ENTRY/d' \ + -e '/END-INFO-DIR-ENTRY/,$d' ` + else + entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ + -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` + fi + if [ ! -z "${entry}" ] ; then + echo "${entry}" + elif [ ! -d "${INFODIR}/${file}" ] ; then + echo "* ${infoname}: (${infoname})." + fi +done + +# Process miscellaneous files. +for file in ${infofiles}; do + if [ ! -z "${prevsect}" ] ; then + echo "" + echo "Miscellaneous" + prevsect="" + fi + + infoname=`echo $file | sed 's/\.gz$//'` + infoname=`echo $infoname | sed 's/\.info$//'` + if [ "${file##*.}" = "gz" ] ; then + entry=`zcat ${INFODIR}/${file} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ + -e '/END-INFO-DIR-ENTRY/,$d'` + else + entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ + -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` + fi + + + if [ ! -z "${entry}" ] ; then + echo "${entry}" + elif [ ! -d "${INFODIR}/${file}" ] ; then + echo "* ${infoname}: (${infoname})." + fi +done + diff --git a/sys-devel/gcc/files/pro-police-docs.patch b/sys-devel/gcc/files/pro-police-docs.patch new file mode 100644 index 0000000..091ea44 --- /dev/null +++ b/sys-devel/gcc/files/pro-police-docs.patch @@ -0,0 +1,74 @@ +Index: gcc/doc/invoke.texi +=================================================================== +RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v +retrieving revision 1.364 +diff -c -3 -p -r1.364 invoke.texi +*** gcc/doc/invoke.texi 21 Nov 2003 11:42:58 -0000 1.364 +--- gcc/doc/invoke.texi 22 Nov 2003 08:12:35 -0000 +*************** in the following sections. +*** 228,234 **** + -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol + -Wparentheses -Wpointer-arith -Wredundant-decls @gol + -Wreturn-type -Wsequence-point -Wshadow @gol +! -Wsign-compare -Wstrict-aliasing @gol + -Wswitch -Wswitch-default -Wswitch-enum @gol + -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol + -Wunknown-pragmas -Wunreachable-code @gol +--- 228,234 ---- + -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol + -Wparentheses -Wpointer-arith -Wredundant-decls @gol + -Wreturn-type -Wsequence-point -Wshadow @gol +! -Wsign-compare -Wstack-protector -Wstrict-aliasing @gol + -Wswitch -Wswitch-default -Wswitch-enum @gol + -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol + -Wunknown-pragmas -Wunreachable-code @gol +*************** in the following sections. +*** 681,686 **** +--- 681,687 ---- + -fshort-double -fshort-wchar @gol + -fverbose-asm -fpack-struct -fstack-check @gol + -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol ++ -fstack-protector -fstack-protector-all @gol + -fargument-alias -fargument-noalias @gol + -fargument-noalias-global -fleading-underscore @gol + -ftls-model=@var{model} @gol +*************** effectively. Often, the problem is that +*** 3014,3019 **** +--- 3015,3024 ---- + complex; GCC will refuse to optimize programs when the optimization + itself is likely to take inordinate amounts of time. + ++ @item -Wstack-protector ++ @opindex Wstack-protector ++ Warn when not issuing stack smashing protection for some reason ++ + @item -Werror + @opindex Werror + Make all warnings into errors. +*************** and grows downwards, you can use the fla +*** 11474,11479 **** +--- 11479,11502 ---- + @option{-fstack-limit-symbol=__stack_limit} and + @option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit + of 128KB@. Note that this may only work with the GNU linker. ++ ++ @item -fstack-protector ++ @item -fstack-protector-all ++ @opindex fstack-protector ++ @opindex fstack-protector-all ++ @opindex fno-stack-protector ++ Generate code to protect an application from a stack smashing ++ attack. The features are (1) the insertion of random value next to the ++ frame pointer to detect the integrity of the stack, (2) the reordering ++ of local variables to place buffers after pointers to avoid the ++ corruption of pointers that could be used to further corrupt arbitrary ++ memory locations, (3) the copying of pointers in function arguments to ++ an area preceding local variable buffers to prevent the corruption of ++ pointers that could be used to further corrupt arbitrary memory ++ locations, and the (4) omission of instrumentation code from some ++ functions to decrease the performance overhead. If the integrity ++ would be broken, the program is aborted. If no-stack-protector is ++ specified, instrumentation codes are generated at every functions. + + @cindex aliasing of parameters + @cindex parameters, aliased diff --git a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh b/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh new file mode 100755 index 0000000..f8817e2 --- /dev/null +++ b/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# Author: Martin Schlemmer <azarah@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh,v 1.3 2004/07/15 00:59:02 agriffis Exp $ + +usage() { +cat << "USAGE_END" +Usage: can_libgcc_linked_ssp.sh + + This scans the system for files that contains the __guard symbol, that was + linked against libgcc. + + +USAGE_END + + exit 1 +} + +if [ "$#" -ne 0 ] +then + usage +fi + +source /etc/profile +source /sbin/functions.sh + +AWKDIR="$(portageq envvar PORTDIR)/sys-devel/gcc/files/awk" + +if [ ! -r "${AWKDIR}/scanforssp.awk" ] +then + eerror "${0##*/}: ${AWKDIR}/scanforssp.awk does not exist!" + exit 1 +fi + +einfo "Scanning system for __guard@GCC symbols..." +/bin/gawk -f "${AWKDIR}/scanforssp.awk" + +exit $? + + +# vim:ts=4 diff --git a/sys-devel/gcc/gcc-4.0.1_beta20050514.ebuild b/sys-devel/gcc/gcc-4.0.1_beta20050514.ebuild new file mode 100644 index 0000000..4498299 --- /dev/null +++ b/sys-devel/gcc/gcc-4.0.1_beta20050514.ebuild @@ -0,0 +1,51 @@ +# 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-4.0.1_beta20050514.ebuild,v 1.1 2005/05/15 01:42:24 halcy0n Exp $ + +ETYPE="gcc-compiler" + +inherit toolchain + +DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking" +HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" + +LICENSE="GPL-2 LGPL-2.1" +KEYWORDS="-*" + +RDEPEND="virtual/libc + >=sys-devel/gcc-config-1.3.1 + >=sys-libs/zlib-1.1.4 + !sys-devel/hardened-gcc + elibc_glibc? ( >=sys-libs/glibc-2.3.5 ) + amd64? ( multilib? ( >=app-emulation/emul-linux-x86-glibc-1.1 ) ) + fortran? ( dev-libs/gmp ) + !build? ( + gcj? ( + gtk? ( >=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.15.97" + +PDEPEND="sys-devel/gcc-config + !nocxx? ( !n32? ( !n64? ( !uclibc? ( !build? ( sys-libs/libstdc++-v3 ) ) ) ) )" + +pkg_postinst() { + toolchain_pkg_postinst + + einfo "This gcc-4 ebuild is provided for your convenience, and the use" + einfo "of this compiler is not supported by the Gentoo Developers." + einfo "Please file bugs related to gcc-4 with upstream developers." + einfo "Compiler bugs should be filed at http://gcc.gnu.org/bugzilla/" +} diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml new file mode 100644 index 0000000..fb4199e --- /dev/null +++ b/sys-devel/gcc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>toolchain</herd> +</pkgmetadata> |