Bug#1070849: onetbb: FTBFS: Fix testcases failed on loong64
zhangdandan
zhangdandan at loongson.cn
Fri May 10 13:33:26 BST 2024
Source: onetbb
Version: 2021.11.0-2
Severity: normal
Tags: FTBFS patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
Dear maintainers,
Compiling the onetbb failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
99% tests passed, 1 tests failed out of 137
Total Test time (real) = 233.63 sec
The following tests FAILED:
133 - test_malloc_whitebox (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util
```
The full log can be found at
https://buildd.debian.org/status/logs.php?pkg=onetbb&ver=2021.11.0-2&arch=loong64.
For loongarch64, the size of the huge page I got from /proc/meminfo is
32768 kB.
```
$ cat /proc/meminfo |grep Hugepagesize
Hugepagesize: 32768 kB
$ uname -m
loongarch64
```
I have adjusted the page size of HUGE_PAGE_SIZE for loongarch64 in
onetbb package.
I have built successfully on my local ENV and test cases passed.
```
137/137 Test #137: test_malloc_new_handler .................. Passed
0.04 sec
100% tests passed, 0 tests failed out of 137
Total Test time (real) = 332.60 sec
```
The pull request for loongarch64 has been merged in onetbb upstream.
https://github.com/oneapi-src/oneTBB/pull/850/files.
https://github.com/oneapi-src/oneTBB/pull/1230/files.
Meanwhile, you can also consider the patch I attached.
Your opinions are welcome.
Thanks,
Dandan Zhang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onetbb-fix-testcases-failed-for-loongarch64.patch
Type: text/x-patch
Size: 1070 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240510/ae670021/attachment.bin>
More information about the debian-science-maintainers
mailing list