[SVN-Commit] r1256 - in trunk/www: firefox-nightly/files firefox/files seamonkey/files

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Tue Apr 30 09:35:13 UTC 2013


Author: jbeich
Date: Tue Apr 30 09:35:07 2013
New Revision: 1256

Log:
workaround a few clang 3.3 optimizer bugs

Added:
   trunk/www/firefox-nightly/files/patch-clang33
Modified:
   trunk/www/firefox/files/patch-clang33
   trunk/www/seamonkey/files/patch-clang33

Added: trunk/www/firefox-nightly/files/patch-clang33
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/firefox-nightly/files/patch-clang33	Tue Apr 30 09:35:07 2013	(r1256)
@@ -0,0 +1,16 @@
+--- js/src/Makefile.in~
++++ js/src/Makefile.in
+@@ -732,6 +732,13 @@ EXTRA_LIBS	+= -lposix4 -ldl -lnsl -lsock
+ endif
+ endif
+ 
++# (Bug 860867) clang 3.3 + -O3 makes baseline crash in emitCall
++ifdef CLANG_CXX
++ifndef MOZ_DEBUG
++BaselineCompiler.$(OBJ_SUFFIX): CXXFLAGS += -fno-vectorize
++endif
++endif
++
+ # An AIX Optimization bug causes PR_dtoa() & JS_dtoa to produce wrong result.
+ # This suppresses optimization for this single compilation unit.
+ ifeq ($(OS_ARCH),AIX)

Modified: trunk/www/firefox/files/patch-clang33
==============================================================================
--- trunk/www/firefox/files/patch-clang33	Tue Apr 30 09:34:58 2013	(r1255)
+++ trunk/www/firefox/files/patch-clang33	Tue Apr 30 09:35:07 2013	(r1256)
@@ -1,3 +1,19 @@
+--- js/src/Makefile.in~
++++ js/src/Makefile.in
+@@ -791,6 +791,13 @@ EXTRA_LIBS	+= -lposix4 -ldl -lnsl -lsock
+ endif
+ endif
+ 
++# clang 3.3 + -O2 makes jaeger crash in FixupArity
++ifdef CLANG_CXX
++ifndef MOZ_DEBUG
++Compiler.$(OBJ_SUFFIX): CXXFLAGS += -fno-inline-functions
++endif
++endif
++
+ # An AIX Optimization bug causes PR_dtoa() & JS_dtoa to produce wrong result.
+ # This suppresses optimization for this single compilation unit.
+ ifeq ($(OS_ARCH),AIX)
 --- js/src/jscompartment.h~
 +++ js/src/jscompartment.h
 @@ -596,12 +596,12 @@ class js::AutoDebugModeGC

Modified: trunk/www/seamonkey/files/patch-clang33
==============================================================================
--- trunk/www/seamonkey/files/patch-clang33	Tue Apr 30 09:34:58 2013	(r1255)
+++ trunk/www/seamonkey/files/patch-clang33	Tue Apr 30 09:35:07 2013	(r1256)
@@ -1,3 +1,19 @@
+--- mozilla/js/src/Makefile.in~
++++ mozilla/js/src/Makefile.in
+@@ -791,6 +791,13 @@ EXTRA_LIBS	+= -lposix4 -ldl -lnsl -lsock
+ endif
+ endif
+ 
++# clang 3.3 + -O2 makes jaeger crash in FixupArity
++ifdef CLANG_CXX
++ifndef MOZ_DEBUG
++Compiler.$(OBJ_SUFFIX): CXXFLAGS += -fno-inline-functions
++endif
++endif
++
+ # An AIX Optimization bug causes PR_dtoa() & JS_dtoa to produce wrong result.
+ # This suppresses optimization for this single compilation unit.
+ ifeq ($(OS_ARCH),AIX)
 --- mozilla/js/src/jscompartment.h~
 +++ mozilla/js/src/jscompartment.h
 @@ -596,12 +596,12 @@ class js::AutoDebugModeGC


More information about the freebsd-gecko mailing list