Bug#930082: gmt: FTBFS on ia64
Jason Duerstock <[email protected]>
| Newsgroups | gmane.linux.debian.ports.ia64 |
|---|---|
| Message-ID | <155983946641.3473.208033529398987222.reportbug__43299.3742333323$1559839528$gmane$org@netsvcs1.gallaudet.edu> |
Source: gmt Severity: normal Tags: patch User: [email protected] Usertags: ia64 Dear Maintainer, gmt fails to build from source on ia64. A patch has been submitted upstream: https://github.com/GenericMappingTools/gmt/pull/849 Please include it in your next release. -- System Information: Debian Release: 10.0 APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: ia64 Kernel: Linux 5.0.0-trunk-mckinley (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
gmt.diff.1
(text/plain, 569 B)
diff --git a/src/common_sighandler.c b/src/common_sighandler.c
index f1825595d..42ca21c98 100644
--- a/src/common_sighandler.c
+++ b/src/common_sighandler.c
@@ -106,6 +106,8 @@ void backtrace_symbols_fd(void *const *buffer, int size, int fd) {
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.arm_pc)
# elif defined(__powerpc__) || defined(__powerpc64__)
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.regs->nip)
+# elif defined(__ia64__)
+# define UC_IP(uc) ((void *) (uc)->uc_mcontext.sc_ip)
# else
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.eip)
# endif