Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 342858 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]
patches (elfhack, debug flags, mssse3 detection issue)
firefox-19.0.2-clang-3.3svn.patch (text/plain), 2.74 KB, created by
cmuelle8
on 2013-03-21 17:48:32 UTC
(
hide
)
Description:
patches (elfhack, debug flags, mssse3 detection issue)
Filename:
MIME Type:
Creator:
cmuelle8
Created:
2013-03-21 17:48:32 UTC
Size:
2.74 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/js/src/configure.in 2013-03-07 11:48:46.000000000 +0100 >+++ mozilla-release/js/src/configure.in.new 2013-03-20 14:18:04.383932041 +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/configure.in 2013-03-07 11:48:37.000000000 +0100 >+++ mozilla-release/configure.in.new 2013-03-21 14:10:56.559283763 +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,
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