Created attachment 433648 [details, diff] GCC 6 patch It does with this patch, taken from Fedora
"doesn't compile"?
Attachment 433648 [details, diff] fixes compilation with gcc-6 also for me. (Sorry, I haven't kept the failing build log.) The corresponding upstream bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1245076 and the upstream patch https://hg.mozilla.org/mozilla-central/rev/55212130f19d should also fix it. (Have not tested.)
The upstream bug has "Target Milestone: mozilla48", can you test this on the new firefox-48.0 release?
Yes, it is fixed for me with firefox-48.0.
Maybe somebody close a bug then? :)
Reopening this bug with related version info, so that it acts nicely as a tracker for gcc-6 stabilization.
[offtop] It'd be nice to firstly get it in the tree at all. Even as ~arch. [/offtop]
I've just pushed a version of firefox-45.3.0 with the patch backported from upstream, if one of you could test it against gcc6 to see if it builds/runs fine, that would be very much appreciated!
www-client/firefox-45.3.0 from the official gentoo portage tree still fails to build, while the same package from the mozilla overlay works fine.
(In reply to Francesco Turco from comment #9) > www-client/firefox-45.3.0 from the official gentoo portage tree still fails > to build, while the same package from the mozilla overlay works fine. Perfect thanks! I will apply the patch on mozilla-overlay to the gentoo repo on the next version/revision bump of firefox ESR.
Committed to gentoo repo for thunderbird and firefox 45.4.0 Note that cflags adjustments may still be needed to prevent crashes at runtime -- see bug 592840