@MinGW lost path to gmp-mparam.h and mul_fft.c:459: GNU MP assertion failed: nprime2
Łukasz Ręcławowicz
lukasz.reclawowicz at gmail.com
Sun Feb 20 12:14:26 CET 2011
I'm building gmp 5-.0.1 with MinGW.
$ gcc -v
Using built-in specs.
COLLECT_GCC=D:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=d:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.2/configure
--enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared
--enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug
--enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.2 (GCC)
1) For undefined reference to `__mingw_vfprintf' I've added libmingwex.a to
D:\gmp-5.0.1\.libs
2) For time.c: In function 'getrusage_backwards_p' I've corrected _ manualy
$ diff -p -2 -r1.3 time.c
diff: invalid option -- .
diff: Try `diff --help' for more information.
3) But making tune(up) doesn't work for me.
$ make tune
make tuneup.exe
make[1]: Entering directory `/d/gmp-5.0.1/tune'
make[1]: `tuneup.exe' is up to date.
make[1]: Leaving directory `/d/gmp-5.0.1/tune'
./tuneup
Parameters for ./mpn/x86/p6/sse2/gmp-mparam.h
System nie może odnaleźć określonej ścieżki. // The system can not find the
path specified.
System nie może odnaleźć określonej ścieżki.
System nie może odnaleźć określonej ścieżki.
Using: CPU cycle counter
speed_precision 10000, speed_unittime 1 cycle, CPU freq unknown
DEFAULT_MAX_SIZE 1000, fft_max_size 50000
/* Generated by tuneup.c, 2011-02-20, gcc 4.5 */
#define MOD_1_NORM_THRESHOLD 3
#define MOD_1_UNNORM_THRESHOLD 4
#define MOD_1N_TO_MOD_1_1_THRESHOLD 8
#define MOD_1U_TO_MOD_1_1_THRESHOLD 7
#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0
#define MOD_1_2_TO_MOD_1_4_THRESHOLD 10
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 18
#define USE_PREINV_DIVREM_1 1 /* native */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD 23
#define MUL_TOOM22_THRESHOLD 20
#define MUL_TOOM33_THRESHOLD 77
#define MUL_TOOM44_THRESHOLD 182
#define MUL_TOOM6H_THRESHOLD 252
#define MUL_TOOM8H_THRESHOLD 363
#define MUL_TOOM32_TO_TOOM43_THRESHOLD 73
#define MUL_TOOM32_TO_TOOM53_THRESHOLD 122
#define MUL_TOOM42_TO_TOOM53_THRESHOLD 97
#define MUL_TOOM42_TO_TOOM63_THRESHOLD 78
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
#define SQR_TOOM2_THRESHOLD 30
#define SQR_TOOM3_THRESHOLD 102
#define SQR_TOOM4_THRESHOLD 154
#define SQR_TOOM6_THRESHOLD 222
#define SQR_TOOM8_THRESHOLD 557
#define MULMOD_BNM1_THRESHOLD 13
#define SQRMOD_BNM1_THRESHOLD 17
#define MUL_FFT_MODF_THRESHOLD 565 /* k = 5 */
#define MUL_FFT_TABLE3 \
{ { 565, 5}../mpn/generic/mul_fft.c:459: GNU MP assertion failed: nprime2 <
n
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
make: *** [tune] Error 3
--
Miłego dnia
More information about the gmp-discuss
mailing list