FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-10-2010, 12:34 AM
Daniel D Jones
 
Default Two gcc versions installed

eix gcc shows:

Installed versions:

4.3.4(4.3)!s(10:56:18 AM 02/27/2010)(gtk mudflap nls nptl openmp -altivec -
bootstrap -build -doc -fixed-point -fortran -gcj -hardened -libffi -multilib -
multislot -n32 -n64 -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla)

4.4.3-r2(4.4)!s(08:29:19 PM 06/07/2010)(fortran gtk mudflap nls nptl openmp -
altivec -bootstrap -build -doc -fixed-point -gcj -graphite -hardened -libffi -
multilib -multislot -n32 -n64 -nocxx -objc -objc++ -objc-gc -test -vanilla)

Is there any reason to have both of these installed? Is it safe to unmerge
4.3.4?

--
"It is better to be a human dissatisfied than a pig satisfied, better Socrates
dissatisfied than a fool satisfied." - John Stuart Mill
 
Old 06-10-2010, 12:53 AM
Beau Henderson
 
Default Two gcc versions installed

I usually keep the last version of GCC around until I've managed to rebuild the entire world with
the newer one, just in case. If you've run the tasks mentioned after the newer version was
installed, it should probably be safe.


On 06/10/10 10:34, Daniel D Jones wrote:


eix gcc shows:

Installed versions:

4.3.4(4.3)!s(10:56:18 AM 02/27/2010)(gtk mudflap nls nptl openmp -altivec -
bootstrap -build -doc -fixed-point -fortran -gcj -hardened -libffi -multilib -
multislot -n32 -n64 -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla)

4.4.3-r2(4.4)!s(08:29:19 PM 06/07/2010)(fortran gtk mudflap nls nptl openmp -
altivec -bootstrap -build -doc -fixed-point -gcj -graphite -hardened -libffi -
multilib -multislot -n32 -n64 -nocxx -objc -objc++ -objc-gc -test -vanilla)

Is there any reason to have both of these installed? Is it safe to unmerge
4.3.4?
 
Old 06-10-2010, 01:05 AM
Alex Schuster
 
Default Two gcc versions installed

Daniel D Jones writes:

> eix gcc shows:
>
> Installed versions:
>
> 4.3.4(4.3)!s(10:56:18 AM 02/27/2010)(gtk mudflap nls nptl openmp
> -altivec - bootstrap -build -doc -fixed-point -fortran -gcj -hardened
> -libffi -multilib - multislot -n32 -n64 -nocxx -nopie -objc -objc++
> -objc-gc -test -vanilla)
>
> 4.4.3-r2(4.4)!s(08:29:19 PM 06/07/2010)(fortran gtk mudflap nls nptl
> openmp - altivec -bootstrap -build -doc -fixed-point -gcj -graphite
> -hardened -libffi - multilib -multislot -n32 -n64 -nocxx -objc -objc++
> -objc-gc -test -vanilla)
>
> Is there any reason to have both of these installed? Is it safe to
> unmerge 4.3.4?

Probably not. I would do an emerge -a --depclean. If nothing depends on
the old gcc, it will be removed. Otherwise you get a message what has to
be rebuilt, like I do:

weird ~ # emerge -a --depclean

* Always study the list of packages to be cleaned for any obvious
* mistakes. Packages that are part of the world set will always
* be kept. They can be manually added to this set with
* `emerge --noreplace <atom>`. Packages that are listed in
* package.provided (see portage(5)) will be removed by
* depclean, even if they are part of the world set.
*
* As a safety measure, depclean will not remove any packages
* unless *all* required dependencies have been resolved. As a
* consequence, it is often necessary to run `emerge --update
* --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> Checking for lib consumers...
>>> Assigning files to packages...
* In order to avoid breakage of link level dependencies, one or more
* packages will not be removed. This can be solved by rebuilding the
* packages that pulled them in.
*
* sys-devel/gcc-4.3.4 pulled in by:
* app-arch/rpm-4.4.6-r7 needs libgomp.so.1
* dev-lang/R-2.11.1 needs libgfortran.so.3
* dev-lang/gdl-0.9_rc4 needs libgomp.so.1
* dev-libs/beecrypt-4.2.1 needs libgomp.so.1
* kde-base/cantor-4.4.4 needs libgfortran.so.3
* kde-base/libkdcraw-4.4.4 needs libgomp.so.1
* media-gfx/imagemagick-6.6.1.7 needs libgomp.so.1
* media-sound/sox-14.3.1 needs libgomp.so.1
* media-video/transcode-1.1.5-r1 needs libgomp.so.1
* sci-libs/blas-reference-20070226-r1 needs libgfortran.so.3
* sci-libs/fftw-3.2.2 needs libgomp.so.1
* sci-libs/plplot-5.9.5 needs libgfortran.so.3
* sys-devel/gettext-0.18.1 needs libgomp.so.1
*
>>> Adding lib providers to graph...
-
Calculating dependencies... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed: 1678
Packages in world: 373
Packages in system: 50
Required packages: 1678
Number removed: 0

Wonko
 
Old 06-10-2010, 02:08 AM
William Kenworthy
 
Default Two gcc versions installed

Did you run "fix_libtool_files.sh 4.3.4" after switching gcc versions
with gcc-config before trying depclean?

BillK



On Thu, 2010-06-10 at 03:05 +0200, Alex Schuster wrote:
> Daniel D Jones writes:
>
> > eix gcc shows:
> >
> > Installed versions:
> >
> > 4.3.4(4.3)!s(10:56:18 AM 02/27/2010)(gtk mudflap nls nptl openmp
> > -altivec - bootstrap -build -doc -fixed-point -fortran -gcj -hardened
> > -libffi -multilib - multislot -n32 -n64 -nocxx -nopie -objc -objc++
> > -objc-gc -test -vanilla)
> >
> > 4.4.3-r2(4.4)!s(08:29:19 PM 06/07/2010)(fortran gtk mudflap nls nptl
> > openmp - altivec -bootstrap -build -doc -fixed-point -gcj -graphite
> > -hardened -libffi - multilib -multislot -n32 -n64 -nocxx -objc -objc++
> > -objc-gc -test -vanilla)
> >
> > Is there any reason to have both of these installed? Is it safe to
> > unmerge 4.3.4?
>
> Probably not. I would do an emerge -a --depclean. If nothing depends on
> the old gcc, it will be removed. Otherwise you get a message what has to
> be rebuilt, like I do:
>
> weird ~ # emerge -a --depclean
>
> * Always study the list of packages to be cleaned for any obvious
> * mistakes. Packages that are part of the world set will always
> * be kept. They can be manually added to this set with
> * `emerge --noreplace <atom>`. Packages that are listed in
> * package.provided (see portage(5)) will be removed by
> * depclean, even if they are part of the world set.
> *
> * As a safety measure, depclean will not remove any packages
> * unless *all* required dependencies have been resolved. As a
> * consequence, it is often necessary to run `emerge --update
> * --newuse --deep @world` prior to depclean.
>
> Calculating dependencies... done!
> >>> Checking for lib consumers...
> >>> Assigning files to packages...
> * In order to avoid breakage of link level dependencies, one or more
> * packages will not be removed. This can be solved by rebuilding the
> * packages that pulled them in.
> *
> * sys-devel/gcc-4.3.4 pulled in by:
> * app-arch/rpm-4.4.6-r7 needs libgomp.so.1
> * dev-lang/R-2.11.1 needs libgfortran.so.3
> * dev-lang/gdl-0.9_rc4 needs libgomp.so.1
> * dev-libs/beecrypt-4.2.1 needs libgomp.so.1
> * kde-base/cantor-4.4.4 needs libgfortran.so.3
> * kde-base/libkdcraw-4.4.4 needs libgomp.so.1
> * media-gfx/imagemagick-6.6.1.7 needs libgomp.so.1
> * media-sound/sox-14.3.1 needs libgomp.so.1
> * media-video/transcode-1.1.5-r1 needs libgomp.so.1
> * sci-libs/blas-reference-20070226-r1 needs libgfortran.so.3
> * sci-libs/fftw-3.2.2 needs libgomp.so.1
> * sci-libs/plplot-5.9.5 needs libgfortran.so.3
> * sys-devel/gettext-0.18.1 needs libgomp.so.1
> *
> >>> Adding lib providers to graph...
> -
> Calculating dependencies... done!
> >>> No packages selected for removal by depclean
> >>> To see reverse dependencies, use --verbose
> Packages installed: 1678
> Packages in world: 373
> Packages in system: 50
> Required packages: 1678
> Number removed: 0
>
> Wonko
>

--
William Kenworthy <billk@iinet.net.au>
Home in Perth!
 

Thread Tools




All times are GMT. The time now is 07:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org