#1074301 pmdk: please add support for loong64

Package:
src:pmdk
Source:
src:pmdk
Submitter:
wuruilong
Date:
2026-01-12 17:39:03 UTC
Severity:
normal
Tags:
#1074301#5
Date:
2024-06-26 09:14:14 UTC
From:
To:
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

#1074301#10
Date:
2024-07-10 01:13:49 UTC
From:
To:
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

#1074301#15
Date:
2024-08-06 02:31:45 UTC
From:
To:
Dear Maintainer,

Can anyone merge this patch please?

wuruilong

#1074301#20
Date:
2024-09-09 06:59:07 UTC
From:
To:
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

#1074301#27
Date:
2026-01-01 22:19:22 UTC
From:
To:

#1074301#34
Date:
2026-01-05 13:06:41 UTC
From:
To:
Please find a patch attached.