From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KANBp-00048v-1P for garchives@archives.gentoo.org; Sun, 22 Jun 2008 10:52:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53105E0491; Sun, 22 Jun 2008 10:52:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0CE1FE0491 for ; Sun, 22 Jun 2008 10:52:56 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 9C8D965F63 for ; Sun, 22 Jun 2008 10:52:55 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KANBj-0000mm-6P for gentoo-commits@lists.gentoo.org; Sun, 22 Jun 2008 10:52:51 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/gcc: ChangeLog gcc-3.2.3-r4.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog gcc-3.2.3-r4.ebuild X-VCS-Directories: sys-devel/gcc X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Sun, 22 Jun 2008 10:52:51 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 12ff2a2f-3d21-4ef7-93b2-d3fe8cdee268 X-Archives-Hash: 87635fe9a361a50f578ddae37fad7ad6 vapier 08/06/22 10:52:51 Modified: ChangeLog gcc-3.2.3-r4.ebuild Log: Fix for building with newer gcc versions #225743 by Emil Wojak. (Portage version: 2.2_rc1/cvs/Linux 2.6.25 x86_64, RepoMan options: --f= orce) Revision Changes Path 1.654 sys-devel/gcc/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/Chan= geLog?rev=3D1.654&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/Chan= geLog?rev=3D1.654&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/Chan= geLog?r1=3D1.653&r2=3D1.654 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v retrieving revision 1.653 retrieving revision 1.654 diff -u -r1.653 -r1.654 --- ChangeLog 21 Jun 2008 04:23:11 -0000 1.653 +++ ChangeLog 22 Jun 2008 10:52:50 -0000 1.654 @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/gcc # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.653 2008/= 06/21 04:23:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.654 2008/= 06/22 10:52:50 vapier Exp $ + + 22 Jun 2008; Mike Frysinger + +files/3.2.3/gcc-3.2.3-poisoned-malloc.patch, gcc-3.2.3-r4.ebuild: + Fix for building with newer gcc versions #225743 by Emil Wojak. =20 21 Jun 2008; Mike Frysinger gcc-4.3.0.ebuild, gcc-4.3.1.ebuild: 1.27 sys-devel/gcc/gcc-3.2.3-r4.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/gcc-= 3.2.3-r4.ebuild?rev=3D1.27&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/gcc-= 3.2.3-r4.ebuild?rev=3D1.27&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc/gcc-= 3.2.3-r4.ebuild?r1=3D1.26&r2=3D1.27 Index: gcc-3.2.3-r4.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.3-r4.ebuild,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- gcc-3.2.3-r4.ebuild 20 Mar 2008 20:39:50 -0000 1.26 +++ gcc-3.2.3-r4.ebuild 22 Jun 2008 10:52:50 -0000 1.27 @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.3-r4.ebuild,v 1= .26 2008/03/20 20:39:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.3-r4.ebuild,v 1= .27 2008/06/22 10:52:50 vapier Exp $ =20 inherit eutils flag-o-matic libtool versionator =20 @@ -206,39 +206,7 @@ cp ${WORKDIR}/protector.h ${WORKDIR}/${P}/gcc/ || die "protector.h not= found" version_patch ${FILESDIR}/3.2.3/gcc-323-propolice-version.patch =20 - # check for the glibc to have the guard - if [ "$(readelf -s /lib/libc.so.6 | grep GLOBAL | grep OBJECT | grep '= __guard')" ] && - [ "$(readelf -s /lib/libc.so.6 | grep GLOBAL | grep FUNC | grep '__st= ack_smash_handler')" ] - then - ewarn "this sys-libs/glibc has __guard object and __stack_smash_handl= er functions" - ewarn "scanning the system for binaries with __guard - this may take = 5-10 minutes" - ewarn "please do not press crtl-C or crtl-Z during this period - it w= ill continue" - SCANPATH=3D"$(for i in $(cat /etc/ld.so.conf | grep -v '/usr/lib/gcc-= lib' | grep -v '^\#'); do echo -n $i; echo -n ' '; done) $(echo ${PATH} |= sed 's,:, ,g')" - if [ "$(find ${SCANPATH} -type f -perm -1 -maxdepth 9 -exec readelf -= s {} \; 2>&1 | grep "__guard\@GCC" 2>&1 1>/dev/null; echo $?)" =3D=3D "0"= ] - then - eerror "found binaries that are dynamically linked to the libgcc wit= h __guard@@GCC" - eerror "you need to compile these binaries without CFLAGS -fstack-pr= otector/hcc -r" - echo - eerror "also you have to make sure that using ccache needs the cache= to be flushed" - eerror "wipe out /var/tmp/ccache or /root/.ccache, this will remove = possible saved" - eerror "-fstack-protector arguments that still may reside in such a = compiler cache" - echo - eerror "when such binaries are found, gcc cannot remove libgcc propo= lice functions" - eerror "leading to gcc -static -fstack-protector breaking, see gento= o bug id 25299" - einfo "you can run 'qpkg -f' from the gentoolkit package and reemer= ge the program" - einfo "to do a full scan on your system, enter this following comma= nd in a shell:" - echo - einfo "find / -type f -perm -1 -maxdepth 9 -exec echo -n '__guard a= t GCC check in: {} ' \; -exec qpkg -f {} \; -exec readelf -s {} \; 2>&1 |= grep __guard | grep -B1 '__guard\@GCC'" - echo - exit 1 - else - echo - einfo "no binaries with suspicious libgcc __guard@GCC dependencies = in ${SCANPATH}" - echo - epatch ${FILESDIR}/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch - fi - fi - # end of check for the glibc to have the guard + epatch ${FILESDIR}/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch fi =20 # Patches from Mandrake/Suse ... @@ -251,6 +219,7 @@ # GCC bugfixes ... epatch ${FILESDIR}/3.2.2/gcc32-pr7768.patch epatch ${FILESDIR}/3.2.2/gcc32-pr8213.patch + epatch ${FILESDIR}/3.2.3/gcc-3.2.3-poisoned-malloc.patch #225743 =20 # Get gcc to decreases the number of times the collector has to be run # by increasing its memory workspace, bug #16548. --=20 gentoo-commits@lists.gentoo.org mailing list