Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617218 - www-client/firefox-45.8.0 fails to preserve -Ofast with USE=custom-cflags custom-optimization
Summary: www-client/firefox-45.8.0 fails to preserve -Ofast with USE=custom-cflags cus...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-02 00:12 UTC by Alec Ari
Modified: 2017-08-26 17:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.81 KB, application/x-info)
2017-05-02 00:13 UTC, Alec Ari
Details
build.log (build.log,125.67 KB, text/plain)
2017-05-02 00:16 UTC, Alec Ari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Ari 2017-05-02 00:12:36 UTC
Hi everyone, I was just building Firefox and experimenting with -Ofast and realized that it was using -O2.

/etc/portage/env/nopie_opt.conf:

CFLAGS="-march=core2 -Ofast -fPIC -fstack-protector-strong -fomit-frame-pointer -pipe -g0 -s -msse -msse2 -msse3 -mssse3 -mmmx -mfpmath=sse"

CXXFLAGS="-march=core2 -Ofast -fPIC -fstack-protector-strong -fomit-frame-pointer -pipe -g0 -s -msse -msse2 -msse3 -mssse3 -mmmx -mfpmath=sse"

LDFLAGS="-march=core2 -Ofast -fPIC -fstack-protector-strong -fomit-frame-pointer -pipe -g0 -s -msse -msse2 -mssse3 -mmmx -mfpmath=sse -Wl,-z,now -Wl,-z,relro"

/etc/portage/package.env:

www-client/firefox nopie_opt.conf

grep "Ofast" /var/tmp/portage/www-client/firefox-45.8.0/temp/build.log returns no results, however -O2 shows up all over the place during the build.

bits of build.log attached and complete emerge --info
Comment 1 Alec Ari 2017-05-02 00:13:19 UTC
Created attachment 471472 [details]
emerge --info
Comment 2 Alec Ari 2017-05-02 00:16:46 UTC
Created attachment 471474 [details]
build.log
Comment 3 Jory A. Pratt gentoo-dev 2017-08-26 17:56:02 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team