Ticket #4053: tmpfixgcsegfault2.patch
File tmpfixgcsegfault2.patch, 2.5 KB (added by , 8 years ago) |
---|
-
libraries/source/spidermonkey/FixGCSegfault.diff
1 diff --git a/js/src/configure b/js/src/configure 2 index 933e53d..afd7147 100755 3 --- a/js/src/configure 4 +++ b/js/src/configure 5 @@ -8776,11 +8776,11 @@ if test "$GNU_CC"; then 6 if test -z "$DEVELOPER_OPTIONS"; then 7 CFLAGS="$CFLAGS -ffunction-sections -fdata-sections" 8 CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections" 9 fi 10 CFLAGS="$CFLAGS -fno-math-errno" 11 - CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno" 12 + CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -fno-delete-null-pointer-checks" 13 fi 14 15 16 # Check whether --enable-icf or --disable-icf was given. 17 if test "${enable_icf+set}" = set; then -
libraries/source/spidermonkey/patch.sh
patch -p1 < ../FixZLibMozBuild.diff 14 14 # This patch is a squashed version of several patches that were adapted 15 15 # to fix failing hunks. 16 16 # 17 17 # Applied in the following order, they are: 18 18 # * https://bugzilla.mozilla.org/show_bug.cgi?id=1223767 19 # Assertion failure: i < size_, at js/src/vm/TraceLoggingTypes.h:210 19 # Assertion failure: i < size_, at js/src/vm/TraceLoggingTypes.h:210 20 20 # Also fix stop-information to make reduce.py work correctly. 21 21 # * https://bugzilla.mozilla.org/show_bug.cgi?id=1227914 22 22 # Limit the memory tracelogger can take. 23 # This causes tracelogger to flush data to the disk regularly and prevents out of 23 # This causes tracelogger to flush data to the disk regularly and prevents out of 24 24 # memory issues if a lot of data gets logged. 25 25 # * https://bugzilla.mozilla.org/show_bug.cgi?id=1155618 26 26 # Fix tracelogger destructor that touches possibly uninitialised hash table. 27 27 # * https://bugzilla.mozilla.org/show_bug.cgi?id=1223636 28 28 # Don't treat extraTextId as containing only extra ids. … … patch -p1 < ../FixZLibMozBuild.diff 46 46 # * https://bugzilla.mozilla.org/show_bug.cgi?id=1259403 47 47 # Only increase capacity by multiples of 2. 48 48 # Always make sure there are 3 free slots for events. 49 49 # === 50 50 patch -p1 < ../FixTracelogger.diff 51 52 # Temporary fix for segfault occurring in the GC when built with GCC 6 53 patch -p1 < ../FixGCSegfault.diff