Description: Disable use of backtrace(3)
 The use of backtrace(3) causes segfaults in grt_save_backtrace() for some
 reason. Some tests in the testsuite are affected by this, causing the testsuite
 to fail. Disable the detection in src/grt/config/jumps.c for now.
Author: Andreas Bombe <aeb@debian.org>
Forwarded: not-needed
Last-Update: 2024-07-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: ghdl-salsa/src/grt/config/jumps.c
===================================================================
--- ghdl-salsa.orig/src/grt/config/jumps.c	2026-05-03 16:29:15.592928311 +0200
+++ ghdl-salsa/src/grt/config/jumps.c	2026-05-03 16:29:15.588928246 +0200
@@ -27,10 +27,12 @@
 #include <signal.h>
 #include <fcntl.h>
 
+#if 0
 #if ( (defined (__linux__) && defined (__GLIBC__) ) || defined (__APPLE__) ) && !defined (__ANDROID__)
 #define HAVE_BACKTRACE 1
 #include <sys/ucontext.h>
 #endif
+#endif
 
 #ifdef HAVE_BACKTRACE
 #include <execinfo.h>
