Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is it necessary to have gcc-4.4.6?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4019
Location: india

PostPosted: Wed Aug 10, 2011 2:31 am    Post subject: is it necessary to have gcc-4.4.6? Reply with quote

today's update wants to emerge these

Code:
these are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] virtual/freedesktop-icon-theme-0  0 kB
[ebuild     U  ] dev-lang/perl-5.12.4-r1 [5.12.4] USE="berkdb gdbm -build -debug -doc -ithreads" 0 kB
[ebuild     U  ] perl-core/Encode-2.440.0 [2.430.0] 1,956 kB
[ebuild     U  ] virtual/perl-Encode-2.440.0 [2.430.0] 0 kB
[ebuild     U  ] sys-devel/gcc-4.4.6 [4.4.5] USE="fortran gtk* mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) (-libffi) (-multilib) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 61,701 kB
[ebuild   R    ] dev-util/dialog-1.1.20110707-r1  USE="nls unicode -examples -minimal -static-libs%" 0 kB
[ebuild     U  ] media-libs/glew-1.6.0-r1 [1.6.0] USE="-doc% -static-libs%" 0 kB
[ebuild     U  ] xfce-base/thunar-1.2.2-r1 [1.2.2] USE="pcre -dbus -debug -exif -libnotify -startup-notification -test -udev" XFCE_PLUGINS="trash" 0 kB
[ebuild     UD ] net-fs/samba-3.5.11 [3.6.0_rc3-r1] USE="acl aio client cups netapi pam readline server smbclient -addns -ads -avahi -caps -cluster -debug -doc -examples -fam -ldap -ldb -quota -smbsharemodes -smbtav2% -swat -syslog -winbind" 30,033 kB
[uninstall     ] net-fs/cifs-utils-5.0  USE="caps -ads -caps-ng -creds -setuid"
[blocks b      ] <net-fs/samba-3.6_rc1 ("<net-fs/samba-3.6_rc1" is blocking net-fs/cifs-utils-5.0)
[blocks b      ] net-fs/cifs-utils ("net-fs/cifs-utils" is blocking net-fs/samba-3.5.11)

Total: 9 packages (6 upgrades, 1 downgrade, 1 new, 1 reinstall, 1 uninstall), Size of downloads: 93,689 kB
Conflict: 2 blocks

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests



ramaswamy@localtux ~ $ gcc-config -l
[1] i686-pc-linux-gnu-4.4.5
[2] i686-pc-linux-gnu-4.5.3 *
ramaswamy@localtux ~ $

can i not unmerge 4.4.5 gcc
why merge for another 6 hrs?

another thing is the emerge -DNuav world did not wait for my yes no answwer
just started merging asap.!
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Wed Aug 10, 2011 4:03 am    Post subject: Reply with quote

You can mask the update or remove it.

Just do "emerge -C gcc:4.4" to remove the 4.4 compiler from your system.

As for having it just start merging, if you hit the enter key before it asks, that will go into the stdin buffer and be read when it asks, so it would give the illusion of starting without having told it to do anything.
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 645

PostPosted: Wed Aug 10, 2011 8:00 am    Post subject: Reply with quote

Maybe you should try
Code:
emerge -P
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2214
Location: Netherlands

PostPosted: Wed Aug 10, 2011 9:02 am    Post subject: Reply with quote

NEVER UNMERGE GCC!!!
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
XavierMiller
Moderator
Moderator


Joined: 23 Jul 2004
Posts: 5442
Location: ~Brussels - Belgique

PostPosted: Wed Aug 10, 2011 9:25 am    Post subject: Reply with quote

gerard82 wrote:
NEVER UNMERGE GCC!!!
Gerard.


Never unmerge system GCC ;)
You can safely prune older versions, then run revdep-rebuild -i
_________________
Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be
Back to top
View user's profile Send private message
peter4
Guru
Guru


Joined: 19 Jul 2005
Posts: 340
Location: Wroclaw, Poland

PostPosted: Wed Aug 10, 2011 10:54 am    Post subject: Reply with quote

Better do
Code:
emerge --depclean gcc
It will remove versions that are no longer needed and will do it's best not to break your system. An older version of GCC is required for some packages (like nvidia-cuda-toolkit) so you never know.

Last edited by peter4 on Wed Aug 10, 2011 11:01 am; edited 1 time in total
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4019
Location: india

PostPosted: Thu Aug 11, 2011 2:09 am    Post subject: Reply with quote

now i have masked the upgrade of gcc-4.4 and left the old gcc in the system .
if it is ever required in case.. :)
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Aug 11, 2011 2:42 am    Post subject: Reply with quote

peter4 wrote:
Better do
Code:
emerge --depclean gcc
It will remove versions that are no longer needed and will do it's best not to break your system. An older version of GCC is required for some packages (like nvidia-cuda-toolkit) so you never know.


All of the dependencies on GCC should be satisfied by the newer version, unless he didn't select the newer version, which --depclean won't catch. He can do "emerge --prune gcc" to tell emerge to remove all but the latest version, although in this case, running the command I gave earlier is tantamount to doing that manually.
Back to top
View user's profile Send private message
peter4
Guru
Guru


Joined: 19 Jul 2005
Posts: 340
Location: Wroclaw, Poland

PostPosted: Thu Aug 11, 2011 9:42 am    Post subject: Reply with quote

Shining Arcanine wrote:
peter4 wrote:
Better do
Code:
emerge --depclean gcc
It will remove versions that are no longer needed and will do it's best not to break your system. An older version of GCC is required for some packages (like nvidia-cuda-toolkit) so you never know.


All of the dependencies on GCC should be satisfied by the newer version, unless he didn't select the newer version, which --depclean won't catch. He can do "emerge --prune gcc" to tell emerge to remove all but the latest version, although in this case, running the command I gave earlier is tantamount to doing that manually.


Well, look yourself into /usr/portage/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.0.ebuild:

Code:
RDEPEND="${DEPEND}
   >=sys-devel/binutils-2.20
   sys-devel/gcc:4.4
   profiler? ( x86? (
      x11-libs/qt-gui
      x11-libs/qt-core
      x11-libs/qt-assistant
      x11-libs/qt-sql[sqlite] )
      media-libs/libpng:1.2
   )
   debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )
   !<=x11-drivers/nvidia-drivers-270.41"
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Aug 11, 2011 12:46 pm    Post subject: Reply with quote

peter4 wrote:
Shining Arcanine wrote:
peter4 wrote:
Better do
Code:
emerge --depclean gcc
It will remove versions that are no longer needed and will do it's best not to break your system. An older version of GCC is required for some packages (like nvidia-cuda-toolkit) so you never know.


All of the dependencies on GCC should be satisfied by the newer version, unless he didn't select the newer version, which --depclean won't catch. He can do "emerge --prune gcc" to tell emerge to remove all but the latest version, although in this case, running the command I gave earlier is tantamount to doing that manually.


Well, look yourself into /usr/portage/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.0.ebuild:

Code:
RDEPEND="${DEPEND}
   >=sys-devel/binutils-2.20
   sys-devel/gcc:4.4
   profiler? ( x86? (
      x11-libs/qt-gui
      x11-libs/qt-core
      x11-libs/qt-assistant
      x11-libs/qt-sql[sqlite] )
      media-libs/libpng:1.2
   )
   debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )
   !<=x11-drivers/nvidia-drivers-270.41"


Since that is the case, it should pull in gcc 4.4 on the next emerge -avDuN @world.

By the way, that is a false dependency. I believe that Nvidia implemented support for GCC 4.5 in the 4.0 release. You can compile it with GCC 4.5 without a problem, which is good, because the ebuild doesn't know how to substitute the a specific version of GCC for the GCC version in use by the system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum