Source: eztrace Version: 1.1-7-1 Severity: serious Tags: patch https://buildd.debian.org/status/fetch.php?pkg=eztrace&arch=armel&ver=1.1-7-3&stamp=1510079529&raw=0
... ../pptrace/eztrace-isize.o: In function `opcode_get_overridden_size': ./build-mpich/src/core/../../../src/core/../pptrace/arch/armv7/opcode.c:33: undefined reference to `trace_read' collect2: error: ld returned 1 exit status Makefile:838: recipe for target 'eztrace' failed make[3]: *** [eztrace] Error 1 Fix is attached.
Description: Fix FTBFS on armel __arm__ is not a test for >= ARMv7. Author: Adrian Bunk <b...@debian.org> --- eztrace-1.1-7.orig/configure.ac +++ eztrace-1.1-7/configure.ac @@ -112,6 +112,7 @@ case "$host" in AC_MSG_WARN([ARCH: ARM]) arch_str="ARM" CFLAGS="$CFLAGS -marm" + AC_DEFINE([HAVE_ARM], [1], [Using ARM support]) ;; *) AC_MSG_WARN([unknown architecture: falling back to x86_64]) --- eztrace-1.1-7.orig/src/pptrace/isize.c +++ eztrace-1.1-7/src/pptrace/isize.c @@ -27,7 +27,7 @@ #include "arch/x86_64/trace.c" #endif // ! (__PPTRACE_ISIZE_TYPE == PPTRACE_ISIZE_TYPE_OPCODE) #endif // !defined(__PPTRACE_ISIZE_TYPE) -#elif __arm__ +#elif HAVE_ARM // ARMv7 #ifdef HAVE_LIBOPCODE