Summary: | net-irc/xchat-2.6.2 reports wrong CPU speed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Hlavac <mike> |
Component: | Current packages | Assignee: | Packages in net-irc <net-irc> |
Status: | RESOLVED UPSTREAM | ||
Severity: | trivial | CC: | alpha, tcort |
Priority: | Lowest | ||
Version: | 2006.0 | ||
Hardware: | Alpha | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xchat-2.4.5-alpha-cpu.patch
xchat-2.6.2-alpha-cpu.patch xchat-2.6.4-alpha-cpu.patch xchat-2.6.6-alpha-cpu.patch |
Description
Mike Hlavac
2006-06-30 19:52:26 UTC
Created attachment 90583 [details, diff]
xchat-2.4.5-alpha-cpu.patch
Created attachment 90584 [details, diff]
xchat-2.6.2-alpha-cpu.patch
net-irc, this is a common problem for alpha. It is described in more detail here: http://alpha.gentoo.org/doc/alpha-porting-guide.xml#doc_chap7 The solution Mike proposed is correct. Please apply the patches. It should be noted that xchat's cpuinfo reader doesn't work on all architectures. It only supports CPU frequency for alpha/i386/amd64/ia64/powerpc/powerpc64/arm. It only gets a proper CPU count for i386/amd64/ia64/hppa/mips/powerpc/powerpc64/sh/cris/m32r. I am currently developing a library for reading cpuinfo files from various architectures. (URL: https://savannah.nongnu.org/projects/proccpuinfo/ ) It already supports frequency and cpu count on more architectures than are supported by Gentoo. I'll be contacting upstream about using the library. Created attachment 91125 [details, diff]
xchat-2.6.4-alpha-cpu.patch
Created attachment 97046 [details, diff]
xchat-2.6.6-alpha-cpu.patch
Here's a patch for 2.6.6. I thought I sent this upstream, but I'll do it again to be sure.
Fixed in 2.6.8 upstream now which is in portage as well now. |