Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2020 14:10:12 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r356552 - in head/contrib/llvm-project/libunwind: include src
Message-ID:  <202001091410.009EACsn020679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Jan  9 14:10:11 2020
New Revision: 356552
URL: https://svnweb.freebsd.org/changeset/base/356552

Log:
  revert r356513: libunwind: untested attempt to fix sparc64 build
  
  The patch is untested and is almost certainly insufficient. Per the
  author's request, revert until someone with access to sparc64 hardware
  can test and report.

Modified:
  head/contrib/llvm-project/libunwind/include/__libunwind_config.h
  head/contrib/llvm-project/libunwind/src/config.h

Modified: head/contrib/llvm-project/libunwind/include/__libunwind_config.h
==============================================================================
--- head/contrib/llvm-project/libunwind/include/__libunwind_config.h	Thu Jan  9 11:58:26 2020	(r356551)
+++ head/contrib/llvm-project/libunwind/include/__libunwind_config.h	Thu Jan  9 14:10:11 2020	(r356552)
@@ -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 28
+  #define _LIBUNWIND_CURSOR_SIZE 23
 # else
 #  error "Unsupported architecture."
 # endif

Modified: head/contrib/llvm-project/libunwind/src/config.h
==============================================================================
--- head/contrib/llvm-project/libunwind/src/config.h	Thu Jan  9 11:58:26 2020	(r356551)
+++ head/contrib/llvm-project/libunwind/src/config.h	Thu Jan  9 14:10:11 2020	(r356552)
@@ -104,8 +104,7 @@
     (!defined(__APPLE__) && defined(__arm__)) ||                               \
     (defined(__arm64__) || defined(__aarch64__)) ||                            \
     defined(__mips__) ||                                                       \
-    defined(__riscv) ||                                                        \
-    defined(__sparc__)
+    defined(__riscv)
 #if !defined(_LIBUNWIND_BUILD_SJLJ_APIS)
 #define _LIBUNWIND_BUILD_ZERO_COST_APIS
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001091410.009EACsn020679>