Package: libvhdi Version: 20210425-1 Severity: wishlist Tags: patch User:debian-de...@lists.debian.org Usertags: loongarch64
Dear maintainers, When I compiled libvhdi for loongarch architecture, test case fail is happened during memory check. We have added loongarch architecture support for libvhdi, the patch can be found in the attachment. If you have any questions, you can contact me at any time.
--- libvhdi-20210425.orig/tests/vhdi_test_memory.h +++ libvhdi-20210425/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( __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 ) +#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(__loongarch__) && !defined( __mips__ ) && !defined( __powerpc__ ) && !defined( __ppc64__ ) && !defined( __ppc64le__ ) && !defined( __riscv ) && !defined( __s390x__ ) && !defined( __sparc__ ) && !defined( HAVE_ASAN ) #define HAVE_VHDI_TEST_MEMORY 1 #endif