Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] How to try custom-optimization in firefox
Date: Tue, 14 Jun 2016 04:55:19
Message-Id: CAC=wYCHz9RdyeUHa6rcRz6fko-AGgpnEk=ie8QkB7M5xFJwk9g@mail.gmail.com
1 I have enabled this use flag and the output of emerge --info shows it has
2 been recognised in USE but not in FCFLAGs/CFLAGs;
3
4 grep USE.*custom ff*
5 ffafter-cust-opt.txt:USE="custom-optimization dbus gmp-autoupdate gtk2
6 hwaccel jemalloc3 jit pulseaudio -bindist -custom-cflags -debug -hardened
7 (-neon) (-pgo) (-selinux) -startup-notification (-system-cairo)
8 -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx
9 -system-sqlite -test -wifi"
10 ffbefore-cust-opt.txt:USE="dbus gmp-autoupdate gtk2 hwaccel jemalloc3 jit
11 pulseaudio -bindist -custom-cflags -custom-optimization -debug -hardened
12 (-neon) (-pgo) (-selinux) -startup-notification (-system-cairo)
13 -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx
14 -system-sqlite -test -wifi"
15
16 grep CFLAGS ff*
17 ffafter-cust-opt.txt:CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm
18 -O2 -pipe"
19 ffafter-cust-opt.txt:FCFLAGS="-O2 -pipe"
20 ffafter-cust-opt.txt:CFLAGS="-march=amdfam10 -pipe"
21 ffbefore-cust-opt.txt:CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm
22 -O2 -pipe"
23 ffbefore-cust-opt.txt:FCFLAGS="-O2 -pipe"
24 ffbefore-cust-opt.txt:CFLAGS="-march=amdfam10 -pipe"
25
26 I assumed that enabling custom-optimization would let the optimization
27 setting from CFLAGS in make.conf pass through unfiltered, but that's not
28 the case. What else do i need to do to make it work?

Replies

Subject Author
Re: [gentoo-user] How to try custom-optimization in firefox Andrew Savchenko <bircoph@g.o>