Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 361630 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/firefox-24.0-clang-3.x.patch
firefox-24.0-clang-3.4svn.patch (text/plain), 2.68 KB, created by
cmuelle8
on 2013-10-22 15:40:25 UTC
(
hide
)
Description:
/etc/portage/patches/www-client/firefox/firefox-24.0-clang-3.x.patch
Filename:
MIME Type:
Creator:
cmuelle8
Created:
2013-10-22 15:40:25 UTC
Size:
2.68 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 >@@ -1366,17 +1366,6 @@ > 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) >- > # Check for -msse4.1 on $CC > AC_MSG_CHECKING([if toolchain supports -msse4.1 option]) > HAVE_TOOLCHAIN_SUPPORT_MSSE4_1= >@@ -1409,6 +1398,17 @@ > _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wno-unused" > > 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,
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