Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 351768 Details for
Bug 462608
www-client/firefox-{19..24}.0 fail to build with clang and clang+lto
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/portage/patches/www-client/firefox-21.0/firefox-21.0-clang-3.4svn.patch
firefox-21.0-clang-3.4svn.patch (text/plain), 4.22 KB, created by
cmuelle8
on 2013-06-23 19:00:28 UTC
(
hide
)
Description:
/etc/portage/patches/www-client/firefox-21.0/firefox-21.0-clang-3.4svn.patch
Filename:
MIME Type:
Creator:
cmuelle8
Created:
2013-06-23 19:00:28 UTC
Size:
4.22 KB
patch
obsolete
>--- mozilla-release/build/unix/elfhack/Makefile.in 2013-03-07 11:48:37.000000000 +0100 >+++ mozilla-release/build/unix/elfhack/Makefile.in.new 2013-03-20 13:44:17.272416284 +0100 >@@ -102,5 +102,7 @@ > inject/%.$(OBJ_SUFFIX): DEFINES += -DBITS=$(if $(HAVE_64BIT_OS),64,32) > inject/%.$(OBJ_SUFFIX): CFLAGS := -O2 -fno-stack-protector $(filter -m% -I%,$(CFLAGS)) > inject/$(CPU)-noinit.$(OBJ_SUFFIX): DEFINES += -DNOINIT >-test.$(OBJ_SUFFIX): CFLAGS := -O0 > host_elf.$(OBJ_SUFFIX) host_elfhack.$(OBJ_SUFFIX): elfxx.h >+ >+dummy.$(OBJ_SUFFIX) test%.$(OBJ_SUFFIX): CFLAGS := -O0 $(filter-out -O% -flto%,$(CFLAGS)) >+ >--- mozilla-release/configure.in 2013-03-07 11:49:45.000000000 +0100 >+++ mozilla-release/configure.in.new 2013-03-23 21:00:26.242877031 +0100 >@@ -1399,17 +1399,6 @@ > AC_MSG_RESULT([no]) > LDFLAGS=$_SAVE_LDFLAGS) > >- # Check for -mssse3 on $CC >- AC_MSG_CHECKING([if toolchain supports -mssse3 option]) >- HAVE_TOOLCHAIN_SUPPORT_MSSSE3= >- _SAVE_CFLAGS=$CFLAGS >- CFLAGS="$CFLAGS -mssse3" >- AC_TRY_COMPILE([asm ("pmaddubsw %xmm2,%xmm3");],,AC_MSG_RESULT([yes]) >- [HAVE_TOOLCHAIN_SUPPORT_MSSSE3=1], >- AC_MSG_RESULT([no])) >- CFLAGS=$_SAVE_CFLAGS >- AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSSE3) >- > # Turn on GNU-specific warnings: > # -Wall - turn on a lot of warnings > # -pedantic - this is turned on below >@@ -1432,6 +1421,17 @@ > MOZ_C_SUPPORTS_WARNING(-Wno-, overlength-strings, ac_c_has_wno_overlength_strings) > > if test -z "$INTEL_CC" -a -z "$CLANG_CC"; then >+ # Check for -mssse3 on $CC >+ AC_MSG_CHECKING([if toolchain supports -mssse3 option]) >+ HAVE_TOOLCHAIN_SUPPORT_MSSSE3= >+ _SAVE_CFLAGS=$CFLAGS >+ CFLAGS="$CFLAGS -mssse3" >+ AC_TRY_COMPILE([asm ("pmaddubsw %xmm2,%xmm3");],,AC_MSG_RESULT([yes]) >+ [HAVE_TOOLCHAIN_SUPPORT_MSSSE3=1], >+ AC_MSG_RESULT([no])) >+ CFLAGS=$_SAVE_CFLAGS >+ AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSSE3) >+ > # Don't use -Wcast-align with ICC or clang > case "$CPU_ARCH" in > # And don't use it on hppa, ia64, sparc, arm, since it's noisy there >@@ -6745,8 +6745,10 @@ > fi > else > MOZ_DEBUG= >+ MOZ_DEBUG_FLAGS= > fi ], >- MOZ_DEBUG=) >+ MOZ_DEBUG= >+ MOZ_DEBUG_FLAGS=) > > MOZ_DEBUG_ENABLE_DEFS="-DDEBUG -D_DEBUG -DTRACING" > MOZ_ARG_WITH_STRING(debug-label, >--- mozilla-release/js/src/configure.in 2013-03-07 11:48:46.000000000 +0100 >+++ mozilla-release/js/src/configure.in.new 2013-03-23 20:35:16.345859007 +0100 >@@ -3325,8 +3325,10 @@ > fi > else > MOZ_DEBUG= >+ MOZ_DEBUG_FLAGS= > fi ], >- MOZ_DEBUG=) >+ MOZ_DEBUG= >+ MOZ_DEBUG_FLAGS=) > > MOZ_DEBUG_ENABLE_DEFS="-DDEBUG -D_DEBUG -DTRACING" > MOZ_ARG_WITH_STRING(debug-label, >--- mozilla-release/js/src/vm/ObjectImpl-inl.h.orig 2013-06-23 20:42:38.808203424 +0200 >+++ mozilla-release/js/src/vm/ObjectImpl-inl.h 2013-06-23 20:42:50.583055394 +0200 >@@ -164,9 +164,9 @@ > JSRuntime *rt = runtime(); > uint32_t offset = start; > for (HeapSlot *sp = fixedStart; sp < fixedEnd; sp++) >- sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, UndefinedValue()); >+ sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, JS::UndefinedValue()); > for (HeapSlot *sp = slotsStart; sp < slotsEnd; sp++) >- sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, UndefinedValue()); >+ sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, JS::UndefinedValue()); > } > > inline bool >--- mozilla-release/js/src/jspropertycacheinlines.h.orig 2013-06-23 20:44:06.472101340 +0200 >+++ mozilla-release/js/src/jspropertycacheinlines.h 2013-06-23 20:44:27.630835339 +0200 >@@ -32,7 +32,7 @@ > js::PropertyCache::test(JSContext *cx, jsbytecode *pc, JSObject **obj, > JSObject **pobj, PropertyCacheEntry **entry, PropertyName **name) > { >- AutoAssertNoGC nogc; >+ JS::AutoAssertNoGC nogc; > > JS_ASSERT(this == &cx->propertyCache()); > >@@ -65,7 +65,7 @@ > js::PropertyCache::testForSet(JSContext *cx, jsbytecode *pc, JSObject *obj, > PropertyCacheEntry **entryp, JSObject **obj2p, PropertyName **namep) > { >- AutoAssertNoGC nogc; >+ JS::AutoAssertNoGC nogc; > > JS_ASSERT(this == &cx->propertyCache()); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 462608
:
342858
|
342926
|
343108
|
343112
|
343798
|
343800
|
344010
|
344638
|
344640
|
351352
|
351766
|
351768
|
352652
|
352654
|
352656
|
352898
|
361618
|
361630
|
362036