Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 897006 Details for
Bug 935508
dev-db/mysql-8.0.37: build fails with GCC 14: error: '__builtin_clzs' needs isa option -mlzcnt
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the problem
abseil-gcc14.patch (text/plain), 1.16 KB, created by
Byron Stanoszek
on 2024-07-04 23:14:37 UTC
(
hide
)
Description:
Patch to fix the problem
Filename:
MIME Type:
Creator:
Byron Stanoszek
Created:
2024-07-04 23:14:37 UTC
Size:
1.16 KB
patch
obsolete
>index bfef06bce1f..0917464d6ad 100644 >--- mysql/extra/abseil/abseil-cpp-20230802.1/absl/numeric/internal/bits.h.bak >+++ mysql/extra/abseil/abseil-cpp-20230802.1/absl/numeric/internal/bits.h >@@ -167,7 +167,9 @@ CountLeadingZeroes32(uint32_t x) { > > ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CLZ inline int > CountLeadingZeroes16(uint16_t x) { >-#if ABSL_HAVE_BUILTIN(__builtin_clzs) >+#if ABSL_HAVE_BUILTIN(__builtin_clzg) >+ return x == 0 ? 16 : __builtin_clzg(x); >+#elif ABSL_HAVE_BUILTIN(__builtin_clzs) > static_assert(sizeof(unsigned short) == sizeof(x), // NOLINT(runtime/int) > "__builtin_clzs does not take 16-bit arg"); > return x == 0 ? 16 : __builtin_clzs(x); >@@ -303,7 +305,9 @@ CountTrailingZeroesNonzero64(uint64_t x) { > > ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CTZ inline int > CountTrailingZeroesNonzero16(uint16_t x) { >-#if ABSL_HAVE_BUILTIN(__builtin_ctzs) >+#if ABSL_HAVE_BUILTIN(__builtin_ctzg) >+ return __builtin_ctzg(x); >+#elif ABSL_HAVE_BUILTIN(__builtin_ctzs) > static_assert(sizeof(unsigned short) == sizeof(x), // NOLINT(runtime/int) > "__builtin_ctzs does not take 16-bit arg"); > return __builtin_ctzs(x);
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 935508
: 897006 |
897007