From c27e5b3c07e806011996a616d3aebc38e1ad71ad Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 19 May 2016 11:32:45 +0200 Subject: Added a fix for mozbz#1245783 - gcc6.1 crashes in JIT --- mozilla-1245783.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mozilla-1245783.patch (limited to 'mozilla-1245783.patch') 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) + -- cgit