Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4e2a968b0ba150f6c04ee369cd61592529dcd989
Ticket: 3530533fffffffffffffffffffffffffffffffff
io.test failures on IRIX64
User & Date: jenglish on 2012-06-06 04:21:17
Changes

  1. icomment:
    Probable cause of problem: configure.in checks if BSDgettimeofday() is present, and tclUnixPort.h says:
    
    -#   ifdef HAVE_BSDGETTIMEOFDAY
    -#define gettimeofday BSDgettimeofday
    -#   endif
    
    This is not right.  We don't want BSDgettimeofday() on IRIX, we want the regular old gettimeofday().
    
    On my machine (IRIX 6.5.<something>, circa 2002), in sys/time.h, it looks like if you compile with -D_BSD_COMPAT , sys/time.h #defines gettimeofday as BSDgettimeofday *and in addition* gets a different definition of 'struct timeval', but only on 64-bit builds.  Tcl's autogoo is doing the former, but not the latter, which would lead to an ABI mismatch, as suspected.
    
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"