Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 520368 Details for
Bug 648248
=dev-libs/protobuf-3.5* fails to build on ia64: .libs/libprotobuf.so: undefined reference to `google::protobuf::internal::Release_CompareAndSwap(long volatile*, long, long)'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Adding-Release_CompareAndSwap-64-bit-variant.patch
0001-Adding-Release_CompareAndSwap-64-bit-variant.patch (text/plain), 1.15 KB, created by
Sergei Trofimovich (RETIRED)
on 2018-02-21 08:02:44 UTC
(
hide
)
Description:
0001-Adding-Release_CompareAndSwap-64-bit-variant.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2018-02-21 08:02:44 UTC
Size:
1.15 KB
patch
obsolete
>From 642e1ac635f2563b4a14c255374f02645ae85dac Mon Sep 17 00:00:00 2001 >From: Nayana-ibm <nayana.thorat@gmail.com> >Date: Mon, 27 Nov 2017 05:43:30 -0500 >Subject: [PATCH] Adding Release_CompareAndSwap 64-bit variant > >--- > src/google/protobuf/stubs/atomicops_internals_generic_gcc.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h >index 0b0b06ce..075c406a 100644 >--- a/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h >+++ b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h >@@ -146,6 +146,14 @@ inline Atomic64 NoBarrier_Load(volatile const Atomic64* ptr) { > return __atomic_load_n(ptr, __ATOMIC_RELAXED); > } > >+inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr, >+ Atomic64 old_value, >+ Atomic64 new_value) { >+ __atomic_compare_exchange_n(ptr, &old_value, new_value, false, >+ __ATOMIC_RELEASE, __ATOMIC_ACQUIRE); >+ return old_value; >+} >+ > #endif // defined(__LP64__) > > } // namespace internal >-- >2.16.1 >
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 648248
:
520276
| 520368