[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#889796: ltrace: FTBFS on ia64



Package: ltrace
Version: 0.5.3-2.1
Severity: normal
Tags: patch
User: debian-ia64@lists.debian.org
Usertags: ia64

Dear Maintainer,

Due to some outdated glibc headers, ltrace does not build for ia64.  The attached patch corrects this.

-- System Information:
Debian Release: buster/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ia64

Kernel: Linux 3.14-0.bpo.2-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 /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ltrace depends on:
ii  libc6.1   2.26-1
ii  libelfg0  0.8.13-3

ltrace recommends no packages.

ltrace suggests no packages.

-- no debconf information
--- sysdeps/linux-gnu/ia64/breakpoint.c	2012-11-10 07:43:55.000000000 -0500
+++ sysdeps/linux-gnu/ia64/breakpoint.c	2018-02-05 13:26:00.229259936 -0500
@@ -24,6 +24,7 @@
  */
 
 #include <sys/ptrace.h>
+#include <sys/types.h>
 #include <string.h>
 #include <assert.h>
 
--- sysdeps/linux-gnu/ia64/fetch.c	2012-11-10 07:43:55.000000000 -0500
+++ sysdeps/linux-gnu/ia64/fetch.c	2018-02-06 20:24:31.888749905 -0500
@@ -36,7 +37,7 @@
 
 struct fetch_context {
 	arch_addr_t stack_pointer;
-	struct pt_all_user_regs regs;
+	struct __pt_all_user_regs regs;
 	enum param_pack_flavor ppflavor;
 
 	/* Return values larger than 256 bits (except HFAs of up to 8
@@ -206,7 +207,7 @@
    the GPL
    (http://www.gelato.unsw.edu.au/archives/linux-ia64/0104/1405.html) */
 static inline double
-fpreg_to_double (struct ia64_fpreg *fp) {
+fpreg_to_double (struct __ia64_fpreg *fp) {
 	double result;
 	asm ("ldf.fill %0=%1" : "=f"(result) : "m"(*fp));
 	return result;

Reply to: