https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233405

--- Comment #7 from Conrad Meyer <c...@freebsd.org> ---
FWIW, I think this is all that is needed to fix libunwind on sparc64:

--- include/__libunwind_config.h        (revision 354566)
+++ include/__libunwind_config.h        (working copy)
@@ -124,7 +124,7 @@
   #define _LIBUNWIND_TARGET_SPARC 1
   #define _LIBUNWIND_HIGHEST_DWARF_REGISTER
_LIBUNWIND_HIGHEST_DWARF_REGISTER_SPARC
   #define _LIBUNWIND_CONTEXT_SIZE 16
-  #define _LIBUNWIND_CURSOR_SIZE 23
+  #define _LIBUNWIND_CURSOR_SIZE 28
 # else
 #  error "Unsupported architecture."
 # endif
--- src/config.h        (revision 354566)
+++ src/config.h        (working copy)
@@ -104,7 +106,8 @@
     (!defined(__APPLE__) && defined(__arm__)) ||                              
\
     (defined(__arm64__) || defined(__aarch64__)) ||                           
\
     defined(__mips__) ||                                                      
\
-    defined(__riscv)
+    defined(__riscv) ||                                                       
\
+    defined(__sparc__)
 #if !defined(_LIBUNWIND_BUILD_SJLJ_APIS)
 #define _LIBUNWIND_BUILD_ZERO_COST_APIS
 #endif

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to