Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 016ead8862348d65677e079139885648b3413ad7c5680a76d70223365789ba01
Ticket: 2f507c8f7354e431dc1921478853584223a506ec
compiling core8-6 branch on windows/msys2 with clang
User & Date: jan.nijtmans on 2020-12-10 14:21:48
Changes

  1. icomment:
    In Makefile.in:
    <pre>
    CC_SWITCHES = $(STUB_CC_SWITCHES) ${NO_DEPRECATED_FLAGS} -DMP_FIXED_CUTOFFS -DMP_NO_STDINT
    </pre>
    
    In tommath_private.h:
    <pre>
    #ifdef MP_FIXED_CUTOFFS
    #  include "tommath_cutoffs.h"
    #  define MP_KARATSUBA_MUL_CUTOFF MP_DEFAULT_KARATSUBA_MUL_CUTOFF
    #  define MP_KARATSUBA_SQR_CUTOFF MP_DEFAULT_KARATSUBA_SQR_CUTOFF
    #  define MP_TOOM_MUL_CUTOFF      MP_DEFAULT_TOOM_MUL_CUTOFF
    #  define MP_TOOM_SQR_CUTOFF      MP_DEFAULT_TOOM_SQR_CUTOFF
    #else
    #  define MP_KARATSUBA_MUL_CUTOFF KARATSUBA_MUL_CUTOFF
    #  define MP_KARATSUBA_SQR_CUTOFF KARATSUBA_SQR_CUTOFF
    #  define MP_TOOM_MUL_CUTOFF      TOOM_MUL_CUTOFF
    #  define MP_TOOM_SQR_CUTOFF      TOOM_SQR_CUTOFF
    #endif
    </pre>
    
    So, if MP_FIXED_CUTOFFS is defined, KARATSUBA_MUL_CUTOFF and friends shouldn't be used. Are you really compiling with -DMP_FIXED_CUTOFFS ???
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"