-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox ESR78 subtly breaks with -O3 #650
Comments
i'm not on gentoo but i have this exact same problem. when i build firefox using gcc 10.2.0 and same problem does not exist on a completely standalone nognu llvm 11.0.0, building with |
Apparently, if firefox is USE=pgo/MOZ_PGO=1, it will force adding
(This will cause Update: Even with |
@mssx86 Are you sure this issue doesn't happen without |
yes, userscripts break with just |
Gotcha, I guess I've hit this bug now, too. I'll report it to Gentoo upstream since USE=lto is upstream, maybe they know where to forward it to. I believe this can be fixed by Firefox upstream. |
Created Gentoo bug: https://bugs.gentoo.org/758446 Posting error message image here for reference, this is the error that a bunch of addons are getting: Also want to add, that playing .mp3 files in the browser, or using google's audio captcha results in choppy audio. I'm using USE=pulseaudio, -lto and -pgo with '-O2' in CFLAGS, and I'm not sure if the issue is firefox itself or a different package, or if these issues are even related. Will investigate this as well when I have time... Update: Rebuilding with USE=clang, otherwise keeping the same settings fixes the audio issue as well, so I'm sure it's related... |
your bug report caused the mozilla team at gentoo to set all firefox ebuild's to be built with clang only. let's hope something comes out of it. |
That's mildly annoying (especially for the many people still using GCC 9 that are unaffected by this) but having it be confirmed on the latest release is reassuring it'll get a fix. |
This bug has been worked around in gentoo by disabling You can re-emerge firefox to have this fixed, now. Figuring out the specifics of this bug to provide a proper resolution is out of the scope of this issue, and there's upstream bug reports for that, so I'm closing it. |
I've had to add this:
To my package.cflags, or else violentmonkey wouldn't work.
It broke with something about being unable to open the addon's local storage due to internal errors. You can see errors pop up in
about:debugging
after installing violentmonkey.EDIT: This is with GCC 10, I haven't attempted -O3 builds with Clang. Don't really want to, either.
The text was updated successfully, but these errors were encountered: