Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 438416 Details for
Bug 586366
www-client/seamonkey-2.40 fails to link libxul.so with gcc-4.9.3 on PPC, missing -latomic
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that adds an autoconf check for whether -latomic is needed
01-need_latomic_check.patch (text/plain), 1.60 KB, created by
Marek Benc
on 2016-06-22 14:03:41 UTC
(
hide
)
Description:
Patch that adds an autoconf check for whether -latomic is needed
Filename:
MIME Type:
Creator:
Marek Benc
Created:
2016-06-22 14:03:41 UTC
Size:
1.60 KB
patch
obsolete
>--- /dev/null 2016-06-21 17:16:19.999912614 +0200 >+++ seamonkey-2.40/mozilla/build/autoconf/need-latomic.m4 2016-06-21 21:09:21.469043320 +0200 >@@ -0,0 +1,28 @@ >+AC_DEFUN([MOZ_NEED_LATOMIC_CHECK], >+[ >+ AC_LANG_CPLUSPLUS >+ >+ AC_CACHE_CHECK([whether -latomic is needed for proper std::atomic<T> support], >+ [moz_cv_need_latomic], >+ >+ [AC_TRY_LINK( >+ [#include <atomic>], >+ [std::atomic<double> at_dbl; >+ at_dbl.store (0.0);], >+ >+ [moz_cv_need_latomic=no], >+ >+ [_SAVE_LIBS="$LIBS" >+ LIBS="$LIBS -latomic" >+ >+ AC_TRY_LINK( >+ [#include <atomic>], >+ [std::atomic<double> at_dbl; >+ at_dbl.store (0.0);], >+ >+ [moz_cv_need_latomic=yes], >+ [AC_MSG_WARN([failed to build the test both with and without -latomic]) >+ moz_cv_need_latomic=no >+ LIBS="$_SAVE_LIBS"]]) >+ ])) >+]) >--- seamonkey-2.40.old/mozilla/aclocal.m4 2016-06-21 19:37:08.554498317 +0200 >+++ seamonkey-2.40/mozilla/aclocal.m4 2016-06-21 19:45:45.661105009 +0200 >@@ -18,6 +18,7 @@ > builtin(include, build/autoconf/mozprog.m4)dnl > builtin(include, build/autoconf/mozheader.m4)dnl > builtin(include, build/autoconf/mozcommonheader.m4)dnl >+builtin(include, build/autoconf/need-latomic.m4)dnl > builtin(include, build/autoconf/lto.m4)dnl > builtin(include, build/autoconf/frameptr.m4)dnl > builtin(include, build/autoconf/compiler-opts.m4)dnl >--- seamonkey-2.40.old/mozilla/configure.in 2016-06-21 19:37:57.703082637 +0200 >+++ seamonkey-2.40/mozilla/configure.in 2016-06-21 19:46:19.971807400 +0200 >@@ -2576,6 +2576,7 @@ > AC_LANG_CPLUSPLUS > > MOZ_CXX11 >+MOZ_NEED_LATOMIC_CHECK > > AC_LANG_C >
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 586366
:
438022
| 438416