https://bugzilla.novell.com/show_bug.cgi?id=896624
https://bugzilla.novell.com/show_bug.cgi?id=896624#c3
--- Comment #3 from Wolfgang Rosenauer 2014-09-16 05:41:52 UTC ---
I can confirm that --disable-optimize fixes the issue with Firefox 33beta. So
it most likely also would work for current stable 32 (and Seamonkey 2.29).
Since it's xpcshell which is crashing apparently here is a comparison of build
flags between --disable-optimize on i586 and optimized on x86-64 of one
exemplary CPP file: (we inject our optflags using C*FLAGS still via
$RPM_OPT_FLAGS -Os -fno-strict-aliasing)
(-I stuff removed)
"unoptimized" i586 build (working):
[ 751s] c++ -o XPCShellEnvironment.o -c -include
/home/abuild/rpmbuild/BUILD/mozilla/config/gcc_hidden.h -DOS_POSIX=1
-DOS_LINUX=1 -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -fPIC -DMOZILLA_CLIENT
-include ../../mozilla-config.h -MD -MP -MF .deps/XPCShellEnvironment.o.pp
-Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type
-Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Wsign-compare
-Wno-invalid-offsetof -Wcast-align -fomit-frame-pointer -fmessage-length=0
-grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2
-funwind-tables -fasynchronous-unwind-tables -g -Os -fno-strict-aliasing
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections
-fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe
-DNDEBUG -DTRIMMED -g -fno-omit-frame-pointer
/home/abuild/rpmbuild/BUILD/mozilla/ipc/testshell/XPCShellEnvironment.cpp
"optimized" x86-64 build (working):
[ 1137s] c++ -o XPCShellEnvironment.o -c -include
/home/abuild/rpmbuild/BUILD/mozilla/config/gcc_hidden.h -DOS_POSIX=1
-DOS_LINUX=1 -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -fPIC -DMOZILLA_CLIENT
-include ../../mozilla-config.h -MD -MP -MF .deps/XPCShellEnvironment.o.pp
-Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type
-Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Wsign-compare
-Wno-invalid-offsetof -Wcast-align -fmessage-length=0 -grecord-gcc-switches
-fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables
-fasynchronous-unwind-tables -g -Os -fno-strict-aliasing -fno-exceptions
-fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
-fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED
-g -Os -freorder-blocks -fomit-frame-pointer
/home/abuild/rpmbuild/BUILD/mozilla/ipc/testshell/XPCShellEnvironment.cpp
I don't even see a real difference but I might miss the point.
Since it's not clear to me where it crashes exactly the above might also be a
bad example. Probably we need to look at JS components?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.