Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-11-23
06:02 • Ticket [1030465fff] open64 does not exist on IRIX5.3 status still Closed wit... artifact: 48a101578b user: mdejong
06:02 • Closed ticket [1030465fff]. artifact: cab3df4551 user: mdejong
2004-11-18
03:47 • Ticket [1030465fff]: 4 changes artifact: 5f266c79c6 user: gschwarz
03:43 • Ticket [1030465fff]: 4 changes artifact: e666ff3c63 user: gschwarz
2004-09-24
07:03 • Ticket [1030465fff]: 4 changes artifact: a8cfa48f5a user: mdejong
07:03 • Add attachment open64.patch to ticket [1030465fff] artifact: ab3e361222 user: mdejong
04:16 • Ticket [1030465fff] open64 does not exist on IRIX5.3 status still Open with ... artifact: f3debef54f user: gschwarz
03:55 • Ticket [1030465fff]: 4 changes artifact: 112f47eccc user: mdejong
2004-09-18
21:29 • New ticket [1030465fff]. artifact: 3fa567b066 user: gschwarz

open64 does not exist on IRIX5.3

Closed / Fixed1030465fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-18 21:29:53
IRIX 5.3 has off64_t (HAVE_TYPE_OFF64_T  is set) and lseek64, but apparently no open64. tclUnixPort.h however unfortunately assumes so.
mdejongplain2004-09-24 03:55:35
Logged In: YES 
user_id=90858

Could you check your system documentation and see if perhaps
another
lib or set of include files is needed to get access to the
open64 function?
The Tcl code assumes that if HAVE_TYPE_OFF64_T is set then the
others are defined too.
gschwarzplain2004-09-24 04:16:04
Logged In: YES 
user_id=951222

I already grep'd all the files under /usr/include for open64, 
with no success, and I also unsuccessfully searched with 
Google for any reference to open64 on IRIX 5. I would 
conclude it simply does not exist with IRIX 5. Currently thus 
my workaround has to be to configure with 
tcl_cv_type_off64_t="no" defined.
mdejongplain2004-09-24 07:03:16
File Added - 102612: open64.patch

Logged In: YES 
user_id=90858

I have attached a patch for the tcl.m4 and configure script
that can
be applied to the current CVS HEAD. Could you grab the code from
the CVS and try to compile it after applying this patch (via
'patch -p 0 < open64.patch').

This patch checks for both funcs and the type in the
configure script,
so it should work. I just need you to test it out on your
system.
gschwarzplain2004-11-18 03:43:14
Logged In: YES 
user_id=951222
gschwarzplain2004-11-18 03:47:41
Logged In: YES 
user_id=951222

I applied the patch to 8.4.7 (had to manually insert some of 
the lines in configure), but it does not work. It fails like 
this:
checking for open64... 
./configure[3840]: "${+set}": bad substitution

This is because ac_cv_func_open64 is not a non-empty 
variable.
mdejong Closed ticket [1030465fff]. [History diff]2004-11-23 06:02:16
mdejongplain2004-11-23 06:02:17
Logged In: YES 
user_id=90858

Fixed in CVS on Nov 20th, 2004.
Log in (anonymous is fine) to add a comment.

Attachments: