Summary: | =dev-perl/Sys-CPU-0.610.0-r1: CPU speed detection does not work on sparc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | jstein, kentnl, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | Sparc64 | ||
OS: | Linux | ||
URL: | https://rt.cpan.org/Public/Bug/Display.html?id=29543 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=719646 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 662392, 832311 |
Description
Rolf Eike Beer
2018-08-12 08:29:31 UTC
The Cpu0ClkTck number is hex and is the frequency (in Hz) of the CPU. 0x000000005458c3a0 == 0x000000005458c3a0 == 1.4~ GHz. Adding upstream bug link as well. There's a patch upstream for ARM. I noticed Alpha is broken as well. The Cpu0Bogo field mentioned in that upstream bug does no longer exist. A better way on sparc is probably to look into /sys/devices/system/cpu/cpu0/clock_tick. This is not portable e.g. to amd64, but since a special case is needed on sparc anyway this can make implementation easier. This package has fallen off CPAN :/ Sys::CPU 0.52 M/MK/MKODERER/Sys-CPU-0.52.tar.gz Sys::CPU 0.53 M/MZ/MZSANFORD/Sys-CPU-0.53.tar.gz Sys::CPU 0.54 M/MZ/MZSANFORD/Sys-CPU-0.54.tar.gz Sys::CPU 0.61 M/MZ/MZSANFORD/Sys-CPU-0.61.tar.gz Sys::CPU undef P/PA/PABLROD/Chart-Plotly-0.014.tar.gz .... https://metacpan.org/permission/author/MZSANFORD Sys::CPU MKODERER MZSANFORD https://metacpan.org/author/MKODERER https://metacpan.org/author/MZSANFORD sparc still hasn't been stabled, so we should remember to do that afterwards, or drop stable (or even all) keywords for it. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8015c9beef401ee3d3f4feb640eb371d6c0c9b5 commit c8015c9beef401ee3d3f4feb640eb371d6c0c9b5 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-03-19 18:12:35 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-03-19 18:13:10 +0000 dev-perl/Sys-CPU: Stable 0.610.0-r2 for sparc No regressions. It works at least as well as current stable. Closes: https://bugs.gentoo.org/832311 Bug: https://bugs.gentoo.org/663424 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-perl/Sys-CPU/Sys-CPU-0.610.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |