Artifacts Associated With Ticket 219220
Ticket change [a8d7067789] (rid 99058) by nobody on 2000-10-26 05:03:46:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 4015 Bug Version: 8.2.3 SubmitDate: '2000-01-13' LastModified: '2000-04-03' Severity: SER Status: Assigned Submitter: techsupp ChangedBy: hobbs OS: IRIX Machine: SGI/ORIGIN 2000 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: george r. goffe Comments: I attempted to put this change into tk8.2.3 but there is no aclocal.m4 distributed apparently. I copied the tcl aclocal.m4 file but that didn't generate the right configure script. Please call me for any clarification(s) needed, "we" have a 64bit application that "wants" to use tcl/tk in 64bit mode. There were also a lot of compiler warnings about (int) not holding all the pointer. I have a file with these messages in it if you'd like to see it. Please let me know what kind of action(s) you might be taking with this report. Thanks, George... ReproducibleScript: ./configure ... --enable-64bit ... ObservedBehavior: It would be nice to have 64bit code generated for tcl and tk. I have a fix from a collegue (James Jones) that seems to work for tcl but apparently(?) the aclocal.m4 file for tk is not distributed? 64bit enablement is broken for both tcl and tk. DesiredBehavior: see above Patch: diff -c aclocal.m4.dist aclocal.m4 *** aclocal.m4.dist Thu Jan 13 15:22:11 2000 --- aclocal.m4 Thu Jan 13 15:24:02 2000 *************** *** 676,681 **** --- 676,692 ---- DL_LIBS="" LDFLAGS="" LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + do64bit_ok=no + if test "$do64bit" = "yes" ; then + if test "$CC" != "gcc" ; then + do64bit_ok=yes + SHLIB_LD="ld -64 -shared -rdata_shared" + EXTRA_CFLAGS="-64" + LDFLAGS="-64" + else + AC_MSG_WARN(64bit mode not supported by gcc...) + fi + fi ;; Linux*) SHLIB_CFLAGS="-fPIC" PatchFiles: tcl8.2.3/unix/aclocal.m4 The user noted this "better" fix: *** aclocal.m4.distTue Dec 14 19:59:18 1999 --- aclocal.m4Thu Jan 13 15:58:41 2000 *************** *** 643,649 **** LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a' ;; ! IRIX-5.*|IRIX-6.*|IRIX64-6.5*) SHLIB_CFLAGS="" SHLIB_LD="ld -n32 -shared -rdata_shared" SHLIB_LD_LIBS='${LIBS}' --- 643,649 ---- LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a' ;; ! IRIX-5.*|IRIX-6.*) SHLIB_CFLAGS="" SHLIB_LD="ld -n32 -shared -rdata_shared" SHLIB_LD_LIBS='${LIBS}' *************** *** 676,681 **** --- 676,692 ---- DL_LIBS="" LDFLAGS="" LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + do64bit_ok=no + if test "$do64bit" = "yes" ; then + if test "$CC" != "gcc" ; then + do64bit_ok=yes + SHLIB_LD="ld -64 -shared -rdata_shared" + EXTRA_CFLAGS="-64" + LDFLAGS="-64" + else + AC_MSG_WARN(64bit mode not supported by gcc...) + fi + fi ;; Linux*) SHLIB_CFLAGS="-fPIC" However this seems to change the behavior for all of IRIX64-6.5* which may note be correct. -- 02/05/2000 hobbs - foundin initialized to: "final: 8.2.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "75. Tutorial"
- title initialized to: "64bit enablement broken"
- type initialized to: "Bug"
Ticket change [1a3325bc42] (rid 122935) by dgp on 2001-04-05 06:52:45:
- subsystem changed to: "53. Configuration and Build Tools"
Ticket change [6b4ac23a90] (rid 128302) by andreas_kupries on 2001-08-24 05:03:45:
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=75003 Given to donal as he seems to have 64bit machines. Else give it to Mo.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
Ticket change [ffcb3815c6] (rid 108824) by dkf on 2001-08-29 20:45:34:
- assignee changed to: "mdejong"
- icomment:
Logged In: YES user_id=79902 That looks like the right sort of think for IRIX64, and the restriction that it does not work with GCC (or didn't the last time I looked) is spot-on. However, all that autoconf stuff has been rearranged, so I'm assigning to Mo...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [f85f291ee3] (rid 91524) by mdejong on 2002-04-19 05:35:14:
- icomment:
File Added - 21479: 64bit_irix.patch Logged In: YES user_id=90858 I have created a patch for the current CVS. Could someone with access to a 64 bit IRIX system give this patch a test drive?
- login: "mdejong"
- mimetype: "text/plain"
- username: "mdejong"
- icomment:
Add attachment "64bit_irix.patch" [5b194b6f22] (rid 118259) by mdejong on 2002-04-19 05:35:14.
Ticket change [cf510c1866] (rid 112957) by mdejong on 2002-07-24 00:34:37:
- closedate changed to: "2002-07-23T17:34:37"
- closer changed to: "mdejong"
- icomment:
Logged In: YES user_id=90858 Added the patch to CVS. It has not been tested but it seems ok.
- login: "mdejong"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "mdejong"