Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
Date: Mon, 16 Apr 2012 18:18:45
Message-Id: CA+czFiBH2e+ZVqntYu2g0778=bzTN854j49S2_vs_38S42ZPsw@mail.gmail.com
In Reply to: Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc? by Doug Hunley
1 On Mon, Apr 16, 2012 at 1:53 PM, Doug Hunley <doug.hunley@×××××.com> wrote:
2 > On Mon, Apr 16, 2012 at 13:39, Michael Mol <mikemol@×××××.com> wrote:
3 >> On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley <doug.hunley@×××××.com> wrote:
4 >>> On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@×××××.com> wrote:
5 >>>> Are you using ccache?
6 >>>
7 >>> nope. no ccache, no distcc
8 >>
9 >> What are you using for CFLAGS?
10 >
11 > ~ $ more /etc/make.conf
12 > # ---[Compiler Settings]---
13 > CHOST="x86_64-pc-linux-gnu"
14 > CFLAGS="-O2 -pipe -march=native -mtune=native -mpopcnt -msahf
15 > -fomit-frame-pointer -fforce-addr -floop-interchange -floop-strip-mine
16 > -floop-block -ftree-loop-distribution -ftree-loop-linear"
17
18 -O2, -pipe, -march and -mtune look fine (though -mtune is implied by
19 -march), as does -mpopcnt and -msahf. -fomit-frame-pointer is implied
20 by -O2.
21
22 I don't know about the others.
23
24 > CXXFLAGS="${CFLAGS} -Wabi"
25 > LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu,-O1 -Wl,--as-needed
26 > -Wl,--sort-common -Wl,--enable-new-dtags"
27
28 Given you're updating a shared library, I'd wonder about some of these.
29
30
31 I'd also wonder if a depclean and revdep-rebuild prior to upgrading
32 ppi might reveal something.
33
34
35 > MAKEOPTS="-j8 -l6 --quiet"
36
37 Aside. Try:
38 MAKEOPTS="--jobs --load=6"
39 (--quiet is default for parallel builds)
40
41 Also, try:
42 EMERGE_DEFAULT_OPTS="--jobs --load-average=6"
43
44 --
45 :wq