[Bug 1942895] Re: Build fails on riscv64
Alexandre Ghiti
1942895 at bugs.launchpad.net
Tue Sep 21 04:43:40 UTC 2021
Patch was applied upstream
(https://github.com/pocl/pocl/commit/9bd3b404a2ac307b0f238970381c4265a5b734f4)
and bug report was open in debian (https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=994797).
The attached debdiff was updated with DEP-3 header and debian version
numbering.
** Bug watch added: Debian Bug tracker #994797
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994797
** Patch added: "pocl_debdiff.patch"
https://bugs.launchpad.net/ubuntu/+source/pocl/+bug/1942895/+attachment/5526568/+files/pocl_debdiff.patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1942895
Title:
Build fails on riscv64
Status in pocl package in Ubuntu:
In Progress
Bug description:
Ubuntu release: hirsute/impish
pocl gets the host machine cache line size using
getconf(LEVEL1_DCACHE_LINESIZE) and when this value is not defined by
the underlying architecture, glibc returns 0 which is correctly
handled by pocl CMakeLists.txt. But riscv64 defines this system
variable since glibc 2.33 (cf commit 15b38ffc104a ("riscv: Get cache
information through sysconf")) and amd64 does not. Then when using
qemu usermode emulation to build pocl for riscv64 on an amd64 host,
this system variable is not created and then the riscv implementation
now returns -1 instead of 0, which is mapped to the string "undefined"
by getconf utility. This value is not handled by pocl and then the
build fails.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pocl/+bug/1942895/+subscriptions
More information about the Ubuntu-sponsors
mailing list