[Pkg-rust-maintainers] Bug#1068690: rust-jemalloc-sys: FTBFS: add support for loongarch64
zhangdandan
zhangdandan at loongson.cn
Tue Apr 9 08:22:19 BST 2024
Source: rust-jemalloc-sys
Version: 0.3.2-2
Severity: wishlist
Tags: ftbfs patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
Dear maintainers,
Compiling the rust-jemalloc-sys failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
[jemalloc-sys 0.3.2] In file included from
include/jemalloc/internal/size_classes.h:6,
[jemalloc-sys 0.3.2] from
../jemalloc/include/jemalloc/internal/tcache_types.h:4,
[jemalloc-sys 0.3.2] from
../jemalloc/include/jemalloc/internal/jemalloc_internal_includes.h:46,
[jemalloc-sys 0.3.2] from ../jemalloc/src/bin.c:2:
[jemalloc-sys 0.3.2]
../jemalloc/include/jemalloc/internal/jemalloc_internal_types.h:114:6:
error: #error "Unknown minimum alignment for architecture; specify via "
[jemalloc-sys 0.3.2] 114 | # error "Unknown minimum alignment for
architecture; specify via "
[jemalloc-sys 0.3.2] | ^~~~~
```
The Full log can be found at
https://buildd.debian.org/status/logs.php?pkg=rust-jemalloc-sys&ver=0.3.2-2&arch=loong64.
I have added loongarch support in rust-jemalloc-sys package. Please
consider the patch I attached.
In addition, the LoongArch architecture has been supported by jemalloc
upstream, pelase see https://github.com/jemalloc/jemalloc.
Would it be possible to include the support for LoongArch in the next
upload?
Your opinions are welcome.
Thanks,
Dandan Zhang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rust-jemalloc-sys-add-loongarch-support.patch
Type: text/x-patch
Size: 916 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20240409/bd98cf32/attachment.bin>
More information about the Pkg-rust-maintainers
mailing list