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 1MYTqV-0004xD-TW for garchives@archives.gentoo.org; Tue, 04 Aug 2009 23:55:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5AE7E0306; Tue, 4 Aug 2009 23:55:06 +0000 (UTC) Received: from mail-gx0-f220.google.com (mail-gx0-f220.google.com [209.85.217.220]) by pigeon.gentoo.org (Postfix) with ESMTP id AB80FE0306 for ; Tue, 4 Aug 2009 23:55:06 +0000 (UTC) Received: by gxk20 with SMTP id 20so18743178gxk.10 for ; Tue, 04 Aug 2009 16:55:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=GICfyLPxKdbWIbWhtuhv0QCG2vwfMgJf4BHUNEJvVnw=; b=m6rMuHdtfrf2r7LQ7zYSkvidAJH5nPsgRMU/KjS0hEn6QWa3Tu9BcG2dGshOw9e3h8 7pFY1wb7DwsJu3SOWfdZgsQp5MAEvSPiJ1zbHHogyj5oo1rzNrHP9JWTLLUMXMkSEi8h XVwZjXZGydYNAS+A4oG05MwTATLete5NSos+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=R0ccKcyPiu3zd/xAiNJ17lthzFxT7vADkeHdzXLHXIyNn6TaqfIApACtMLnO6rQ0Ql hy/GkXSbSLzAWO3qvJgSpvkkeYi81UQws3ti/m9GS6/+XwPKOlZoyi4SKLb1vqvUpnlB ExHWtYnkaeshGcCatz0e6mVn7xkOegiZtAACk= 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 Received: by 10.150.227.9 with SMTP id z9mr14061302ybg.257.1249430106317; Tue, 04 Aug 2009 16:55:06 -0700 (PDT) In-Reply-To: <200908042315.30665.michaelkintzios@gmail.com> References: <5bdc1c8b0908011641o45f7682cm8cc7c5f299d3c68e@mail.gmail.com> <5bdc1c8b0908031642u4447efl2ea4b172bdef0c1d@mail.gmail.com> <200908042315.30665.michaelkintzios@gmail.com> Date: Tue, 4 Aug 2009 16:55:06 -0700 Message-ID: <5bdc1c8b0908041655i44cb8470mbcbf97ee11d377a4@mail.gmail.com> Subject: Re: [gentoo-user] Re: Remove stranded gcc-config's? From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 43a2721b-2da1-4b5a-8484-94c762ff76a5 X-Archives-Hash: 4ecffb7a65b116821c9c3e3278d9df41 On Tue, Aug 4, 2009 at 3:15 PM, Mick wrote: > 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 syste= m >> >> 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 > =C2=A0[1] i686-pc-linux-gnu-3.4.5 > =C2=A0[2] i686-pc-linux-gnu-3.4.5-hardened > =C2=A0[3] i686-pc-linux-gnu-3.4.5-hardenednopie > =C2=A0[4] i686-pc-linux-gnu-3.4.5-hardenednopiessp > =C2=A0[5] i686-pc-linux-gnu-3.4.5-hardenednossp > =C2=A0[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 =C2=A04 23:03 . > drwxr-xr-x 4 root root 952 Jul =C2=A02 06:06 .. > lrwxrwxrwx 1 root root =C2=A023 May 15 06:15 .NATIVE -> i686-pc-linux-gnu= -4.3.2 > -rw-r--r-- 1 root root =C2=A032 May 15 06:15 config-i686-pc-linux-gnu > -rw-r--r-- 1 root root 292 Mar 30 =C2=A02006 i686-pc-linux-gnu-3.4.5 > -rw-r--r-- 1 root root 356 Mar 30 =C2=A02006 i686-pc-linux-gnu-3.4.5-hard= ened > -rw-r--r-- 1 root root 361 Mar 30 =C2=A02006 i686-pc-linux-gnu-3.4.5-hard= enednopie > -rw-r--r-- 1 root root 364 Mar 30 =C2=A02006 > i686-pc-linux-gnu-3.4.5-hardenednopiessp > -rw-r--r-- 1 root root 361 Mar 30 =C2=A02006 i686-pc-linux-gnu-3.4.5-hard= enednossp > -rw-r--r-- 1 root root 235 Apr =C2=A06 13:15 i686-pc-linux-gnu-4.3.2 > > It cannot be unmerged (not there) and fix_libtool_files.sh 3.4.5 complete= s > immediately (unlike the few seconds it takes for any gcc packages that ar= e > still in my system). =C2=A0At this stage it may just be a matter of delet= ing > 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 > than /usr/share/gcc-data/ or perhaps in portage? > -- > Regards, > Mick > Mick, I found stuff a bunch of places using slocate 3.3.3 or slocate 3.4.4, etc. I basically ended up erasing everything that wasn't gcc-4.3.2 and it seems to have worked out OK for me so far. The machine appears clean. I haven't discovered anything that doesn't work. I was thinking about re-emerging gcc-4.3.2 just in case I happened to delete something I shouldn't have, but so far everything is cool. Hope this helps, Mark