Artifacts Associated With Ticket 3572362fffffffff
Ticket change [a1d929ab6f] (rid 109795) by matzek on 2012-09-27 09:09:37:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Tcl: 8.5.12 OS: Solaris 5.10 on AMD64 Doing a $ sh .../tcl8.5/unix/configure --enable-64bit --prefix=`pwd`/.. $ make test gives one failing test case: ==== platform-3.1 CPU ID on Windows/UNIX FAILED ==== Contents of test case: set cpudata [testcpuid 0] binary format iii [lindex $cpudata 1] [lindex $cpudata 3] [lindex $cpudata 2] ---- Result was: �� )D ---- Result should have been (regexp matching): ^(?:AuthenticAMD|CentaurHauls|CyrixInstead|GenuineIntel)$ ==== platform-3.1 FAILED - foundin initialized to: "obsolete: 8.5.12"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "matzek"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "platform-3.1 CPU ID on Windows/UNIX FAILED"
- type initialized to: "Bug"
Ticket change [ce5d0e1046] (rid 96040) by nijtmans on 2012-09-27 16:11:53:
- assignee changed to: "nijtmans"
Ticket change [afd4a8f1da] (rid 97881) by nijtmans on 2012-09-27 16:13:24:
- icomment:
Interesting. Exactly what processor does this machine have?
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [d30373b429] (rid 113622) by matzek on 2012-09-27 16:22:21:
- assignee changed to: "mdejong"
- icomment:
Forgot to mention that the expected result should have been "AuthenticAMD" (according to kstat)!
- login: "matzek"
- mimetype: "text/plain"
- username: "matzek"
Ticket change [fbc1012e07] (rid 108111) by matzek on 2012-09-27 16:24:54:
- icomment:
File Added - 453932: kstat.log
- login: "matzek"
- mimetype: "text/plain"
- username: "matzek"
- icomment:
Add attachment "kstat.log" [15df8e1bcf] (rid 124639) by matzek on 2012-09-27 16:24:54.
Ticket change [5c40901f39] (rid 115268) by dkf on 2012-09-27 16:27:20:
- assignee changed to: "nijtmans"
Ticket change [e08957ea43] (rid 115215) by matzek on 2012-09-27 16:32:21:
- icomment:
Is the attached kstat-output enough, or do you want something else?
- login: "matzek"
- mimetype: "text/plain"
- username: "matzek"
- icomment:
Ticket change [6c00778ab2] (rid 128426) by nijtmans on 2012-09-27 17:26:13:
- icomment:
According to what I can find, I would expect "AuthenticAMD" as well. See: <http://support.amd.com/us/Embedded_TechDocs/25481.pdf> - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [7af8723dbf] (rid 90432) by matzek on 2012-09-27 19:02:43:
- icomment:
I looked into a library I have here and found a comment to the cpuid manual page for Solaris. The comment basically says that the Linux way isn't going to work on Solaris. http://docs.oracle.com/cd/E19082-01/819-2254/6n4iaouu6/index.html
- login: "matzek"
- mimetype: "text/plain"
- username: "matzek"
- icomment:
Ticket change [4c38811e4f] (rid 126843) by nijtmans on 2012-09-27 19:32:46:
- icomment:
> http://docs.oracle.com/cd/E19082-01/819-2254/6n4iaouu6/index.html That page is about the cpuid device, not about the cpuid assembler instruction. Part of this page: >The device is useful to enable low-level configuration information to > be extracted from the CPU without having to write any assembler code > to invoke the cpuid instruction directly. Well, Tcl now contains the assembler code which invokes the cpuid instruction directly, so it should simply work.. It will need some debugging. The assembler code is borrowed from: <http://en.wikipedia.org/wiki/CPUID> and can be found in unix/tclUnixCompat.c:990-995.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [304c35f4ce] (rid 93223) by matzek on 2012-09-27 21:24:22:
- icomment:
After some further searching in the net and talking with a fellow developer, I used a different compiler. And see ... it works there. So Studio 12 isn't a good choice to use here, Studio 12.1 works, however. So it can be closed. Sorry for any inconvenience.
- login: "matzek"
- mimetype: "text/plain"
- username: "matzek"
- icomment:
Ticket change [4c24eb7d43] (rid 126827) by matzek on 2012-09-27 21:24:23:
- closedate changed to: "2012-09-27T14:24:23"
- closer changed to: "matzek"
- icomment:
allow_comments - 1
- login: "matzek"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "matzek"