qemu-riscv64-static: missing auxilliary variables
Bug #1942884 reported by
Heinrich Schuchardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Expired
|
Wishlist
|
Unassigned |
Bug Description
Since glibc-2.33 on RISC-V the following auxilliary variables are expected, commit 15b38ffc104a ("riscv: Get cache information through sysconf")
AT_L1I_CACHESIZE
AT_L1I_
AT_L1I_
AT_L1D_CACHESIZE
AT_L1D_
AT_L1D_
AT_L2_CACHESIZE
AT_L2_CACHEGEOMETRY
AT_L2_CACHEGEOMETRY
If these do not exist, command getconf will return "undefined". Other programs rely on a numeric value for the cache line size returned by getconf. One example is the installer of package libhmsbeagle.
A definition of ARCH_DLINFO for QEMU's RISC-V emulation is needed.
Best regards
Heinrich
tags: | added: fr-1682 |
To post a comment you must log in.
Hi Heinrich,
while the report seems fine to me that isn't a bug but a feature request and this one in particular isn't one that Ubuntu would usually develop/carry on its own - instead we'd usually contact upstream and integrate the solution once available.
I've checked qemu git and the issue tracker but there was no recent issue / commit that would have covered this (the closest were some changes to the init code for BSD, but not what we want) to chime in or backport.
Therefore I think the best way forward would be to report this to upstream [1] and depending when it is added there we can consider just picking it up via a merge or if we want to also backport it to some releases.
Once you reported it there let us link the issue here so that it is more easy to track.
P.S. If I misunderstood you and you have or know about a patch that achieves this then let us know and we can help driving it to upstream discussions and then the same aforementioned path from there.
[1]: https:/ /gitlab. com/qemu- project/ qemu/-/ issues