HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/databases/mysql80-server/files/patch-include_my__stacktrace.h
--- include/my_stacktrace.h.orig	2020-01-23 19:43:07.769584000 +0100
+++ include/my_stacktrace.h	2020-01-23 19:43:48.684042000 +0100
@@ -43,7 +43,7 @@
   HAVE_BACKTRACE - Linux, FreeBSD, OSX, Solaris
   _WIN32 - Windows
 */
-#if defined(HAVE_BACKTRACE) || defined(_WIN32)
+#if (defined(HAVE_BACKTRACE) || defined(_WIN32)) && (defined(__aarch64__) || defined(__amd64__) || defined(__i386__))
 #define HAVE_STACKTRACE 1
 void my_init_stacktrace();
 void my_print_stacktrace(uchar *stack_bottom, ulong thread_stack);