• Building tk8.5: relocation truncated to fit...

    From gsal@21:1/5 to All on Mon Jan 24 08:37:07 2022
    Hope somebody here has seen this...

    Platform: Windows 10
    Environment: msys2 / mingw64 and everything is working fine in such environment.

    I downloaded tcl 8.5.18
    Configure command:
    ./configure --prefix=/c/programs/tcl/8.5.18/win10 --enable-64bit --enable-threads
    Built and installed error free with:
    make
    make install

    I downloaded tk 8.5.18
    Configure command that works error free:
    ./configure --prefix=/c/programs/tcl/8.5.18/win10 --enable-64bit --enable-threads --with-tcl=/c/programs_dev/tcl8.5.18-src/win

    But, I get the following error while attempting to build: tkWin32Dll.o:tkWin32Dll.c:(.text+0x4d): relocation truncated to fit: R_X86_64_32S against `.text'

    Is there a resolution for this problem.
    Also, I can't quite update to 8.6 just yet.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gsal@21:1/5 to gsal on Mon Jan 24 16:08:15 2022
    On Monday, January 24, 2022 at 11:37:10 AM UTC-5, gsal wrote:
    Hope somebody here has seen this...

    Platform: Windows 10
    Environment: msys2 / mingw64 and everything is working fine in such environment.

    I downloaded tcl 8.5.18
    Configure command:
    ./configure --prefix=/c/programs/tcl/8.5.18/win10 --enable-64bit --enable-threads
    Built and installed error free with:
    make
    make install

    I downloaded tk 8.5.18
    Configure command that works error free:
    ./configure --prefix=/c/programs/tcl/8.5.18/win10 --enable-64bit --enable-threads --with-tcl=/c/programs_dev/tcl8.5.18-src/win

    But, I get the following error while attempting to build: tkWin32Dll.o:tkWin32Dll.c:(.text+0x4d): relocation truncated to fit: R_X86_64_32S against `.text'

    Is there a resolution for this problem.
    Also, I can't quite update to 8.6 just yet.

    Thanks.

    Well, somebody at msys2 pointed me to a couple of commits that fix the downloaded tkWin32Dll.c file.
    Cheers,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)