Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o, Miroslav Rovis <miro.rovis@××××××××××××××.hr>
Subject: Re: [gentoo-user] world rebuild with gcc-6.3.0 - not completely there yet
Date: Sat, 13 May 2017 15:25:56
Message-Id: Q33VRDVO.Y22GZOKU.CUYI6MTG@6GUUIFY6.JCAGAFYI.IAJ2EUWT
In Reply to: Re: [gentoo-user] world rebuild with gcc-6.3.0 - not completely there yet by Miroslav Rovis
1 On 05/13/2017 04:07:52 PM, Miroslav Rovis wrote:
2 > On 170513-10:21+0200, Helmut Jarausch wrote:
3 > > On 05/13/2017 05:56:16 AM, Walter Dnes wrote:
4 > > > On Wed, May 10, 2017 at 08:38:56PM -0400, Walter Dnes wrote
5 > > > > "Walter's Excellent Adventure Continues"... Now that I've got
6 > ICEWM
7 > > > > built, I'm trying to start X. I copied over my ~/.icewm
8 > cirectory,
9 > ...
10 > > > > cursor... for half a second or so. Then X exits immediately. I
11 > ...
12 > > > This message is coming to you from an almost entirely GCC 6.3.0
13 > > > machine. I had to build ICEWM with GCC 5.4.0 to stop it
14 > segfaulting.
15 > > > The rest of Gentoo, including ICEWM's dependancies, is built with
16 > GCC
17 > > > 6.3.0.
18 > > >
19 > >
20 > > I have switched to gcc-6.3.0 at the end of last year.
21 > > I have (re-)compiled all my packages including icewm-1.3.12-r1.
22 > > Everything works just fine.
23 > >
24 > > I did have some segfaults (with gimp) until I recompiled each
25 > package
26 > > with gcc-6.3.0
27 > >
28 > > I have
29 > > CFLAGS="-mtune=native -O2 -msse3 -pipe -fPIC"
30 > >
31 > > in /etc/portage/make.conf
32 > >
33 > > and quite a e few
34 > > CFLAGS="-O3 -mtune=native -pipe -msse -msse2 -msse3 -msse4a -m3dnow"
35 > > (for my aged AMD64 Phenom II machine)
36 > >
37 > > in /etc/portage/env/...
38 > >
39 > > Helmut
40 > >
41 > I have a Phenom II machine as well. And I'd be interested what you
42 > needed to stick in the /etc/portage/env/, if you could tell me, pls.
43 >
44
45 Here an example: if you want to set some environment variables for
46 sci-libs/atlas :
47
48 First, create the directory
49
50 /etc/portage/env/sci-libs
51
52 Second, create the file 'atlas', e.g. by
53
54 echo 'CFLAGS="-O3 -mtune=native -pipe -msse -msse2 -msse3 -msse4a
55 -m3dnow"' > atlas

Replies

Subject Author
Re: [gentoo-user] world rebuild with gcc-6.3.0 - not completely there yet Miroslav Rovis <miro.rovis@××××××××××××××.hr>