Overview
| Artifact ID: | 4e2a968b0ba150f6c04ee369cd61592529dcd989 |
|---|---|
| Ticket: | 3530533fffffffffffffffffffffffffffffffff
io.test failures on IRIX64 |
| User & Date: | jenglish on 2012-06-06 04:21:17 |
Changes
- 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.
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"