FreeBSD Bugzilla – Attachment 230461 Details for
Bug 258156
databases/mysql80-server: 8.0.27 routerfuzz_router_uri crashes (SIGILL) on Penryn CPU (missing popcnt)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Avoid hardcoded popcnt if not available for the target CPU
libfuzzer-avoid-popcnt-1.diff (text/plain), 626 bytes, created by
Dimitry Andric
on 2021-12-27 16:38:41 UTC
(
hide
)
Description:
Avoid hardcoded popcnt if not available for the target CPU
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2021-12-27 16:38:41 UTC
Size:
626 bytes
patch
obsolete
>diff --git a/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerPlatform.h b/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerPlatform.h >index 1602e6789500..65e77ded8e82 100644 >--- a/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerPlatform.h >+++ b/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerPlatform.h >@@ -87,7 +87,7 @@ > (LIBFUZZER_APPLE || LIBFUZZER_LINUX || LIBFUZZER_NETBSD || \ > LIBFUZZER_FREEBSD || LIBFUZZER_EMSCRIPTEN) > >-#ifdef __x86_64 >+#if defined(__x86_64) && defined(__POPCNT__) > #if __has_attribute(target) > #define ATTRIBUTE_TARGET_POPCNT __attribute__((target("popcnt"))) > #else
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 258156
:
227543
|
230433
| 230461