Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How reliable is emerge --info output?
Date: Mon, 14 Jan 2013 11:45:36
Message-Id: 20130114114519.GN11506@server
In Reply to: [gentoo-user] How reliable is emerge --info output? by Adam Carter
1 On Mon, Jan 14, 2013 at 10:18:32PM +1100, Adam Carter wrote:
2 > The first CFLAGS (or CXXFLAGS) line below appears to be taken from the
3 > environment setting, and the second is from the "<packagename> was built
4 > with the following" section of the emerge --info output.
5 >
6 > Squid looks as it should (the -flto is added to that package only) but for
7 > firefox it appears that -O2 has been stripped, and not replaced with -O3,
8 > which IIRC is the default for that package.
9 >
10 > # grep ^CFL /etc/make.conf
11 > CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe"
12 >
13 > # emerge --info squid | grep ^CFL
14 > CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe"
15 > CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe -flto"
16 >
17 > # emerge --info firefox | grep ^CFL
18 > CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe"
19 > CFLAGS="-march=amdfam10 -pipe -mno-avx"
20 >
21 > Is anyone getting O2 or O3 in their emerge --info firefox output?
22
23 mingdao@workstation ~ $ grep ^CFL /etc/portage/make.conf
24 CFLAGS="-march=native -O2 -pipe"
25
26 mingdao@workstation ~ $ emerge --info firefox | grep ^CFL
27 CFLAGS="-march=native -O2 -pipe"
28 CFLAGS="-march=native -pipe -mno-avx"
29 --
30 Happy Penguin Computers >')
31 126 Fenco Drive ( \
32 Tupelo, MS 38801 ^^
33 support@×××××××××××××××××××××.com
34 662-269-2706 662-205-6424
35 http://happypenguincomputers.com/
36
37 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting