Gentoo Archives: gentoo-user

From: Andrey Moshbear <andrey.vul@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?
Date: Wed, 16 Nov 2011 07:22:33
Message-Id: CAFnZeoRcYHqTMFVj31BxOdW_eceW98avCs=_s4OZiCEgZtbetg@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed? by "Stéphane Guedon"
1 On Wed, Nov 16, 2011 at 02:11, Stéphane Guedon <stephane@××××××××××.eu> wrote:
2 > On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote:
3 >> On Nov 16, 2011 8:00 AM, "Nikos Chantziaras" <realnc@×××××.de> wrote:
4 >> > On 11/15/2011 08:58 PM, Jarry wrote:
5 >> >> Hi,
6 >> >> today I upgraded gcc from 4.4.5 to the last stable version
7 >> >> 4.5.3-r1.
8 >> >> [...]
9 >> >>
10 >> >> But at the and I noticed gcc 4.4 has not been unmerged
11 >> >> and my "world" file is somehow larger. To my surprise,
12 >> >> it contains these lines:
13 >> >>
14 >> >> sys-devel/gcc
15 >> >> sys-devel/gcc:4.4
16 >> >>
17 >> >> I did full backup before, so I compared world-file before
18 >> >> and after gcc-upgrade just to find out, these two lines
19 >> >> have been really inserted now, during gcc-upgrade. And my
20 >> >> question is: what does it mean? Does my system need now
21 >> >> both gcc 4.4 and 4.5? Why is actually gcc in world-file,
22 >> >> when it is part of system?
23 >> >
24 >> > The old GCC version does not get removed.  This is a good thing just in
25 >>
26 >> case the new one doesn't work for some reason.
27 >>
28 >> > If it works OK, you can manually unmerge the old version:
29 >> >  emerge -aC gcc:4.4
30 >> >
31 >> > Before doing that, however, make sure the new one has been activated with
32 >>
33 >> gcc-config and verify that it works by building some random package.
34 >>
35 >>
36 >> And if you're adventurous, add USE "graphite", reemerge gcc, and reemerge
37 >> world :)
38 >>
39 >> Rgds,
40 >
41 > what does "graphite" add ?
42 >
43
44 andrey@robot9000 /tmp $ grep graphite /usr/portage/profiles/use*.desc
45 /usr/portage/profiles/use.local.desc:app-office/libreoffice:graphite -
46 Enable support for non-Roman fonts via media-gfx/graphite2
47 /usr/portage/profiles/use.local.desc:app-portage/eix:strong-optimization
48 - Adds several more agressive CXXFLAGS/LDFLAGS for optimization like
49 graphite (if available). May cause trouble with some buggy compiler
50 versions. Absense of this USE flag does not strip user's *FLAGS
51 /usr/portage/profiles/use.local.desc:media-libs/harfbuzz:graphite -
52 Enable support for non-Roman fonts via media-gfx/graphite2
53 /usr/portage/profiles/use.local.desc:media-libs/silgraphite:pango -
54 Enables the pango-graphite pango module.
55 /usr/portage/profiles/use.local.desc:sys-devel/gcc:graphite - Add
56 support for the framework for loop optimizations based on a polyhedral
57 intermediate representation