Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9312037c1e1f01df48e125bfde8f049e5ffc9eddbca088b411ffc66be2967dd7
Ticket: 2f507c8f7354e431dc1921478853584223a506ec
compiling core8-6 branch on windows/msys2 with clang
User & Date: anonymous on 2020-11-04 12:38:09
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Hi,
    I'm trying to compile Tcl core8-6 branch using clang.
    compilation seems ok but not the linking
    
    C:\msys64\mingw64\bin\ld▒: bn_mp_mul.o:bn_mp_mul.c:(.rdata$.refptr.KARATSUBA_MUL_CUTOFF[.refptr.KARATSUBA_MUL_CUTOFF]+0x0)▒: r▒f▒rence ind▒finie vers ▒▒KARATSUBA_MUL_CUTOFF▒▒
    C:\msys64\mingw64\bin\ld▒: bn_mp_mul.o:bn_mp_mul.c:(.rdata$.refptr.TOOM_MUL_CUTOFF[.refptr.TOOM_MUL_CUTOFF]+0x0)▒: r▒f▒rence ind▒finie vers ▒▒TOOM_MUL_CUTOFF▒▒
    C:\msys64\mingw64\bin\ld▒: bn_mp_sqr.o:bn_mp_sqr.c:(.rdata$.refptr.KARATSUBA_SQR_CUTOFF[.refptr.KARATSUBA_SQR_CUTOFF]+0x0)▒: r▒f▒rence ind▒finie vers ▒▒KARATSUBA_SQR_CUTOFF▒▒
    C:\msys64\mingw64\bin\ld▒: bn_mp_sqr.o:bn_mp_sqr.c:(.rdata$.refptr.TOOM_SQR_CUTOFF[.refptr.TOOM_SQR_CUTOFF]+0x0)▒: r▒f▒rence ind▒finie vers ▒▒TOOM_SQR_CUTOFF▒▒
    /mingw64/bin/clang -shared  -o tcldde14.dll -pipe -static-libgcc -municode         -Wl,--out-implib,libtcldde14.dll.a tclWinDde.o libtclstub86.a -lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32 C:/Users/nico/dev/dlight/win64/tcl-165a804445/compat/zlib/win64/libz.dll.a
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [Makefile:492 : tcl86.dll] Erreur 1
    make: *** Attente des tâches non terminées....
    cp tclsh.exe.manifest tcldde14.dll.manifest
    
    best regards,
    Nicolas
    
  5. is_private changed to: "0"
  6. login: "anonymous"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "10e302b1a1ae78d60a0878d87bdb4b5f874b815e"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "- New Builtin Commands"
  14. title changed to:
    compiling core8-6 branch on windows/msys2 with clang
    
  15. type changed to: "Support"