summaryrefslogtreecommitdiff
path: root/mozilla-1245783.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2016-05-19 11:32:45 +0200
committerMartin Stransky <stransky@redhat.com>2016-05-19 11:32:45 +0200
commitc27e5b3c07e806011996a616d3aebc38e1ad71ad (patch)
tree0065aba31a753947c16ed0a8fad01f7be6c41fb2 /mozilla-1245783.patch
parentAdded fix for rhbz#1332821 - Crash on Select in Open (diff)
downloadlibrewolf-fedora-ff-c27e5b3c07e806011996a616d3aebc38e1ad71ad.tar.gz
librewolf-fedora-ff-c27e5b3c07e806011996a616d3aebc38e1ad71ad.tar.bz2
librewolf-fedora-ff-c27e5b3c07e806011996a616d3aebc38e1ad71ad.zip
Added a fix for mozbz#1245783 - gcc6.1 crashes in JIT
Diffstat (limited to 'mozilla-1245783.patch')
-rw-r--r--mozilla-1245783.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/mozilla-1245783.patch b/mozilla-1245783.patch
new file mode 100644
index 0000000..2405fef
--- /dev/null
+++ b/mozilla-1245783.patch
@@ -0,0 +1,15 @@
+--- firefox-45.0.1-orig/js/src/Makefile.in 2016-05-17 14:53:58.753178403 +0200
++++ firefox-45.0.1/js/src/Makefile.in 2016-05-17 14:53:28.432817862 +0200
+@@ -144,6 +144,11 @@ distclean::
+
+ CFLAGS += $(MOZ_ZLIB_CFLAGS)
+
++# Avoid GNU gcc bug #70526
++# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526#c14
++CFLAGS += -fno-schedule-insns2
++CXXFLAGS += -fno-schedule-insns2
++
+ # Silence warnings on AIX/HP-UX from non-GNU compilers
+ ifndef GNU_CC
+ ifeq ($(OS_ARCH),AIX)
+
bgstack15