Skip to content
Tcl Source Code View Ticket
Login

View Ticket

n32 library support on IRIX 6.5 doesn't work

Closed / Fixed218561ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 23 years ago
Descriptionplain2000-10-26 01:02:19
OriginalBugID: 1117 Bug
Version: 8.0.4
SubmitDate: '1999-01-26'
LastModified: '1999-02-02'
Severity: MED
Status: Released
Submitter: welch
ChangedBy: stanton
OS: IRIX
OSVersion: 6.5
Machine: Other
FixedDate: '1999-02-02'
FixedInVersion: 8.0.5
ClosedDate: '2000-10-25'


Name:
Jonathan Kamens

ReproducibleScript:
Configure and build TCL 8.0.4 with gcc on IRIX 6.5.



ObservedBehavior:
The "changes" file in TCL 8.0.4 claims that it now builds n32 binaries, but I
found that the configure script didn't do the right thing.  It seems to think
that on IRIX 6.5 systems, "uname -s" will return "IRIX", but on my O200 running
IRIX 6.5, it returns "IRIX64".  Patch below.



DesiredBehavior:
The configure script should do the right thing on IRIX 6.5.




Patch:
--- configure.in1998/11/18 22:54:261.1.1.3
+++ configure.in1999/01/25 14:26:481.2
@@ -735,7 +735,7 @@
 LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
 TCL_SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
 ;;
-    IRIX-5.*|IRIX-6.*)
+    IRIX-5.*|IRIX-6.*|IRIX64-6.5*)
 SHLIB_CFLAGS=""
 SHLIB_LD="ld -n32 -shared -rdata_shared"
 SHLIB_LD_LIBS=""




PatchFiles:
configure.in, configure





I don't know if this patch is the "most correct," because I don't have access to
other IRIX versions to experiment, but it works for me.
welch Closed ticket [218561ffff]. [History diff]2000-10-26 08:24:14
dgp Ticket [218561ffff]: 3 changes [History diff]2001-04-16 23:20:56
dgpplain2004-02-28 08:50:50
Logged In: YES 
user_id=80530

re-open and claim, as
this was the wrong fix,
and it's leading to an
inability to configure for
64-bits on IRIX64-6.5
dgpplain2004-03-02 01:29:05
Logged In: YES 
user_id=80530


fixed in core-8-4-branch
and HEAD.
Log in (anonymous is fine) to add a comment.