Menu

#3181 confusing 64bit warning

obsolete: 8.4.11
closed-fixed
5
2006-11-26
2005-06-30
Wart
No

When building tcl 8.4.11 on x86_64 Fedore Core {3,4},
configure claims that it doesn't know how to do 64bit:

# ./configure --enable-64bit
[...]
checking if 64bit support is requested... yes
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)...
Linux-2.6.11-1.1369_FC4smp
checking for dlopen in -ldl... yes
checking for ar... ar
configure: warning: 64bit support being disabled --
don't know magic for this platform
[...]

And yet, 'make' proceeds with no problems other than a
few warnings about casting pointers to integers.
'file' claims that the resulting executable is 64-bit:
# file ./tclsh
tclsh: ELF 64-bit LSB executable, AMD x86-64, version 1
(SYSV), for GNU/Linux 2.4.0, dynamically linked (uses
shared libs), not stripped

I get the same results if I leave off the
--enable-64bit. My questions about this are: Is the
--enable-64bit switch necessary on FC{3,4}? Can we
somehow remove the '64bit support being disabled'
warning from configure?

Discussion

  • Don Porter

    Don Porter - 2005-07-05
    • labels: --> 53. Configuration and Build Tools
     
  • Don Porter

    Don Porter - 2005-07-05
    • milestone: --> obsolete: 8.4.11
    • assigned_to: nobody --> hobbs
     
  • Michael Schlenker

    Logged In: YES
    user_id=302287

    Short answer:
    No, you don't need the --enable-64bit switch on AMD x86_64
    linux, as your gcc creates 64-bit executables by default,
    its just for those platforms where the OS is 64-bit, but
    executables are usually built as 32-bit versions, to force a
    64-bit version of Tcl.

    The warning could be fixed/removed by some changes to the
    tcl.m4 file.

     
  • Daniel A. Steffen

    Logged In: YES
    user_id=90580
    Originator: NO

    fixed by patch 1597389

     
  • Daniel A. Steffen

    • status: open --> closed-fixed
     
MongoDB Logo MongoDB