Source: pmdk Severity: normal Tags: patch X-Debbugs-Cc: wuruilong@loongson.cn User: debian-loongarch@lists.debian.org Usertags: loong64 Dear Maintainer, pmdk compiled incorrectly on loongarch, attachment patch solved the problem. Please merge the attached patch into the repository. wuruilong
Dear Maintainer, Now it turns out that a single line of code change can pick loongarch to compile the pmdk code. Please merge the attached latest patch. wuruilong
Dear Maintainer, Can anyone merge this patch please? wuruilong
Hi maintainer, On Tue, 06 Aug 2024 02:31:45 +0000 wuruilong wrote: > Source: pmdk > Version: 1.13.1-1.1 > Followup-For: Bug #1074301 > X-Debbugs-Cc: wuruilong@loongson.cn > > Dear Maintainer, > > Can anyone merge this patch please? > > wuruilong Compiling the pmdk failed for loong64 in the Debian Package Auto-Building environment. Build failed 6 times. ``` ../../src/../src/libpmem2/loongarch64/init.c: In function ‘pmem2_arch_init’: ../../src/../src/libpmem2/loongarch64/init.c:39:23: error: ‘loongarch_fence’ undeclared (first use in this function); did you mean ‘loongarch_flush’? 39 | info->fence = loongarch_fence; | ^~~~~~~~~~~~~~~ | loongarch_flush ../../src/../src/libpmem2/loongarch64/init.c:39:23: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [../Makefile.inc:299: ../nondebug/libpmem2/init.o] Error 1 ``` The full build log can be found at https://buildd.debian.org/status/logs.php?pkg=pmdk&ver=1.13.1-1.1&arch=loong64. The whole support for loongarch64 have been submitted to upstream, please review https://github.com/pmem/pmdk/pull/5957. Could you include the loongarch64 support in the next upload? Dandan
Please find a patch attached.