Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 916195 Details for
Bug 947784
dev-db/mysql-8.0.37: vendored boost tries to use x86 intrinsics on PowerPC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that fixes it
mysql-8.0.37-boost-x86-intrins-on-ppc.patch (text/plain), 1.23 KB, created by
Calvin Buckley
on 2025-01-09 18:50:16 UTC
(
hide
)
Description:
patch that fixes it
Filename:
MIME Type:
Creator:
Calvin Buckley
Created:
2025-01-09 18:50:16 UTC
Size:
1.23 KB
patch
obsolete
>The old version of Boost that MySQL vendors tries to use x86 intrinsics >on PowerPC. Backport this patch for it to not do that. > >diff --git a/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp b/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp >index eb4624bb4..37717cd51 100644 >--- a/boost/boost_1_77_0/boost/multiprecision/cpp_int/intel_intrinsics.hpp >+++ b/boost/boost_1_77_0/boost/multiprecision/cpp_int/intel_intrinsics.hpp >@@ -19,7 +19,11 @@ > // If this is GCC/clang, then check that the actual intrinsic exists: > // > #if defined(__has_builtin) && defined(__GNUC__) >-#if !__has_builtin(__builtin_ia32_addcarryx_u64) && defined(BOOST_MP_HAS_IMMINTRIN_H) && !(defined(BOOST_GCC) && (__GNUC__ >= 9)) >+#if !__has_builtin(__builtin_ia32_addcarryx_u64) && defined(BOOST_MP_HAS_IMMINTRIN_H) \ >+ && !(defined(BOOST_GCC) && (__GNUC__ >= 9) \ >+ && (defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64)\ >+ || defined(i386) || defined(__i386) || defined(__i386__) || defined(_M_AMD64) \ >+ || defined(_M_X64) || defined(__amd64__) || defined(_M_X64))) > #undef BOOST_MP_HAS_IMMINTRIN_H > #endif > #elif defined(BOOST_MP_HAS_IMMINTRIN_H) && defined(__GNUC__) && !(defined(BOOST_GCC) && (__GNUC__ >= 9))
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 947784
: 916195