Source: libvhdi Version: 20201204-2 Severity: normal Tags: ftbfs patch upstream User: debian-al...@lists.debian.org, debian-...@lists.debian.org, debian-powe...@lists.debian.org, debian-s...@lists.debian.org Usertags: alpha, arm64, powerpc, ppc64, ppc64el, s390x
Hi, libvhdi fails to build on alpha, arm64, powerpc, ppc64, ppc64el and s390x: https://buildd.debian.org/status/package.php?p=libvhdi I followed the same logic used to disable the memory test on riscv64, see bug #978528, and added predefined GCC macro(s) for: alpha = __alpha__ arm64 = __aarch64__ powerpc = __powerpc__ ppc64 = __ppc64__ ppc64el = __ppc64le__ s390x = __s390x__ --- libvhdi.orig/tests/vhdi_test_memory.h +++ libvhdi/tests/vhdi_test_memory.h @@ -28,7 +28,7 @@ extern "C" { #endif -#if defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined( LIBVHDI_DLL_IMPORT ) && !defined( __arm__ ) && !defined( __clang__ ) && !defined( __CYGWIN__ ) && !defined( __hppa__ ) && !defined( __mips__ ) && !defined( __sparc__ ) && !defined( HAVE_ASAN ) +#if defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined( LIBVHDI_DLL_IMPORT ) && !defined( __aarch64__ ) && !defined( __alpha__ ) && !defined( __arm__ ) && !defined( __clang__ ) && !defined( __CYGWIN__ ) && !defined( __hppa__ ) && !defined( __mips__ ) && !defined( __powerpc__ ) && !defined( __ppc64__ ) && !defined( __ppc64le__ ) && !defined( __riscv ) && !defined( __s390x__ ) && !defined( __sparc__ ) && !defined( HAVE_ASAN ) #define HAVE_VHDI_TEST_MEMORY 1 #endif Regards, -- Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net> 4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00
OpenPGP_signature
Description: OpenPGP digital signature