Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ba0807f4a2e7f74f3908621e864b5a837feed9e7
Ticket: 3059922fffffffffffffffffffffffffffffffff
fixes for mingw64 - gcc4.5.1 tdm64-1
User & Date: nijtmans on 2010-12-14 18:46:04
Changes

  1. icomment:
    
    
    allow_comments - 0
    
    When running the test suite on Tcl 8.6 (copmpiled with
    mingw-w64 for AMD64), I got the following
    test failure (see below). Either the test case
    should be disabled for Win64, or the cpuid
    should be implemented. I think that cpuid
    is useful for more than only the preformance
    counter, e.g. determining the number of
    available cores.
    
    Here is a patch (305992_2), which should
    work with both gcc and MSVC.  I definitely works
    with gcc, but I don't have a MSVC 64-bit 
    environment to test that part. The 64-bit
    assembler parts are basically the same as
    the 32-bit versions, only the SEH part is
    not needed here (as Kevin already noted)
    
    See attached patch (305992_2.patch).
    
    ==== platform-3.1 CPU ID on Windows FAILED
    ==== Contents of test case:
    
    set cpudata [testwincpuid 0]
    binary format iii  [lindex $cpudata 1]  [lindex $cpudata 3]  [lindex $cpudata 2] 
        
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: operation not available
        while executing
    "testwincpuid 0"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== platform-3.1 FAILED
    
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. priority changed to: "5 Medium"
  5. status changed to: "Open"
  6. username: "nijtmans"