From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MYSIC-0005Md-B8 for garchives@archives.gentoo.org; Tue, 04 Aug 2009 22:15:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BD07E0361; Tue, 4 Aug 2009 22:15:35 +0000 (UTC) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by pigeon.gentoo.org (Postfix) with ESMTP id C745CE0361 for ; Tue, 4 Aug 2009 22:15:34 +0000 (UTC) Received: by ewy5 with SMTP id 5so7337037ewy.15 for ; Tue, 04 Aug 2009 15:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=zvvH5GDFL/ymm4XQt5360lic6uaFadbYohxWCRlhVJk=; b=wLAQROpsrOGQ+RTxkEmxMU3+Ko1AWMeRH2qwIDE8o7MW8K8sbHpiRXPh6qCLatTvle 2wDBcgimbhVMEAirrpp3mEWeWmRwc0jRWsMcjy1HEhewkJxA/cU73aYX9JrmRTJBddbG H1giYLvL3fn5U9Hj2xjno3oHza44QiNH4p8U4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=fuTWb+BLGgQgtKVt3062xusE7IcXxm4APJXsROEBdAR0wF4Y5tgdz+ZE4S/mOeVXVx pVFZ48vLaRBuWOxGCyLkJYsH/jYJObugwc25vrWnWV+mSp9VGhcr4fouYMmkgYl/P+x8 uBVSny4oj49rqGyacdg5h6PA6wZ1ore4lS5LE= Received: by 10.210.81.3 with SMTP id e3mr7382337ebb.18.1249424133819; Tue, 04 Aug 2009 15:15:33 -0700 (PDT) Received: from lappy.study (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id 10sm3806291eyz.1.2009.08.04.15.15.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 15:15:32 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Remove stranded gcc-config's? Date: Tue, 4 Aug 2009 23:15:10 +0100 User-Agent: KMail/1.9.10 References: <5bdc1c8b0908011641o45f7682cm8cc7c5f299d3c68e@mail.gmail.com> <5bdc1c8b0908031642u4447efl2ea4b172bdef0c1d@mail.gmail.com> In-Reply-To: <5bdc1c8b0908031642u4447efl2ea4b172bdef0c1d@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart11063865.z5sK9gcCl2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200908042315.30665.michaelkintzios@gmail.com> X-Archives-Salt: cc8e2e8b-1da2-427f-aeb0-051a7085ffa5 X-Archives-Hash: a01667ca14cb29e03bbcb67f76bc86ac --nextPart11063865.z5sK9gcCl2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 04 August 2009, Mark Knecht wrote: > On Mon, Aug 3, 2009 at 4:35 PM, walt wrote: > > On 08/03/2009 03:51 PM, Mark Knecht wrote: > >> Again as history, I first noticed this issue when emerging gcc-4.3.2. > >> I had 4.1.2 on the system, in use, as well as these old line items in > >> gcc-config. Once I had rebuilt the system with 4.3.2 I did an emerge > >> -C =3Dsys-devel/gcc-4.1.2 and got rid of that one both from the system > >> and this list, but this thread was about 'stranded' options which are > >> the 3.3.3 and 3.4.4 selections. > >> > >> Are these options held in a file somewhere that can be edited by hand? > >> Is there some option to gcc-config that can clean them up? > > > > Have a look in /etc/env.d/gcc/ and /usr/libexec/gcc/ and /usr/lib/gcc/ > > for any old files or directories that shouldn't be there. Particular > > attention to /etc/env.d/gcc. > > Thanks Walt. slocate 3.3.3/3.4.4 sort of spreads out across the system > and shows a lot of stuff that probably shouldn't be around anymore. > /etc/env.d/gcc looks like the list of things I want to get rid of. > I'll try to double check against a system that's not having this > problem and experiement a bit with just deleting this stuff. (After > doing some backups first.) I also seem to have an older gcc 3.4.5 listed: # gcc-config -l [1] i686-pc-linux-gnu-3.4.5 [2] i686-pc-linux-gnu-3.4.5-hardened [3] i686-pc-linux-gnu-3.4.5-hardenednopie [4] i686-pc-linux-gnu-3.4.5-hardenednopiessp [5] i686-pc-linux-gnu-3.4.5-hardenednossp [6] i686-pc-linux-gnu-4.3.2 * and indeed it is still in: $ ls -la /etc/env.d/gcc/ total 29 drwxr-xr-x 2 root root 408 Aug 4 23:03 . drwxr-xr-x 4 root root 952 Jul 2 06:06 .. lrwxrwxrwx 1 root root 23 May 15 06:15 .NATIVE -> i686-pc-linux-gnu-4.3.2 =2Drw-r--r-- 1 root root 32 May 15 06:15 config-i686-pc-linux-gnu =2Drw-r--r-- 1 root root 292 Mar 30 2006 i686-pc-linux-gnu-3.4.5 =2Drw-r--r-- 1 root root 356 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardened =2Drw-r--r-- 1 root root 361 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenedn= opie =2Drw-r--r-- 1 root root 364 Mar 30 2006=20 i686-pc-linux-gnu-3.4.5-hardenednopiessp =2Drw-r--r-- 1 root root 361 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenedn= ossp =2Drw-r--r-- 1 root root 235 Apr 6 13:15 i686-pc-linux-gnu-4.3.2 It cannot be unmerged (not there) and fix_libtool_files.sh 3.4.5 completes= =20 immediately (unlike the few seconds it takes for any gcc packages that are= =20 still in my system). At this stage it may just be a matter of deleting=20 relevant files in /etc/env.d/gcc/ but I have not done that yet. Where else do you find 3.3.3/3.4.4 in your system other=20 than /usr/share/gcc-data/ or perhaps in portage? =2D-=20 Regards, Mick --nextPart11063865.z5sK9gcCl2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkp4swIACgkQVTDTR3kpaLYuGwCgyPvWMQcmUaVdHOzC7WfWz3ZI d8sAoKg4hoHhPfsK9q4k/EATUm1dEahp =kDvp -----END PGP SIGNATURE----- --nextPart11063865.z5sK9gcCl2--