make tune leads to core dumping!

Tanushree Banerjee banerjee.tanushree10 at gmail.com
Thu May 17 00:33:50 UTC 2018


I was trying to install GNU GMP 6.1.2 on my ubuntu platform.
I could install without any error by using
./configure
make
sudo make install
make check


But after that tried using "make tune"
and I get this "core dumped" error :--



libtool: link: gcc -O2 -pedantic -fomit-frame-pointer -m64 -mtune=broadwell
-march=broadwell -o tuneup tuneup.o sqr_basecase.o fac_ui.o div_qr_2.o
bdiv_q.o bdiv_qr.o dcpi1_div_qr.o dcpi1_divappr_q.o dcpi1_bdiv_qr.o
dcpi1_bdiv_q.o invertappr.o invert.o binvert.o divrem_2.o gcd.o gcdext.o
get_str.o set_str.o matrix22_mul.o hgcd.o hgcd_appr.o hgcd_reduce.o mul_n.o
sqr.o sec_powm.o mullo_n.o mul_fft.o mul.o tdiv_qr.o mulmod_bnm1.o
sqrmod_bnm1.o mulmid.o mulmid_n.o toom42_mulmid.o sqrlo.o sqrlo_basecase.o
nussbaumer_mul.o toom6h_mul.o toom8h_mul.o toom6_sqr.o toom8_sqr.o
toom22_mul.o toom2_sqr.o toom33_mul.o toom3_sqr.o toom44_mul.o toom4_sqr.o
divrem_1.o mod_1.o  ./.libs/libspeed.a
/mnt/c/Users/pc-admin/gmp-6.1.2/gmp-6.1.2/.libs/libgmp.a -lm
make[1]: Leaving directory '/mnt/c/Users/pc-admin/gmp-6.1.2/gmp-6.1.2/tune'
./tuneup
Parameters for ./mpn/x86_64/skylake/gmp-mparam.h
Using: CPU cycle counter
speed_precision 10000, speed_unittime 2.93e-10 secs, CPU freq 3408.00 MHz
DEFAULT_MAX_SIZE 1000, fft_max_size 50000

/* Generated by tuneup.c, 2018-05-16, gcc 5.4 */

#define MOD_1_NORM_THRESHOLD                 0  /* always */
#define MOD_1_UNNORM_THRESHOLD               0  /* always */
#define MOD_1N_TO_MOD_1_1_THRESHOLD          4
#define MOD_1U_TO_MOD_1_1_THRESHOLD          3
#define MOD_1_1_TO_MOD_1_2_THRESHOLD        13
#define MOD_1_2_TO_MOD_1_4_THRESHOLD        34
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD      9
#define USE_PREINV_DIVREM_1                  1  /* native */
#define DIV_QR_1_NORM_THRESHOLD              1
#define DIV_QR_1_UNNORM_THRESHOLD        MP_SIZE_T_MAX  /* never */
#define DIV_QR_2_PI2_THRESHOLD           MP_SIZE_T_MAX  /* never */
#define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD           21

#define MUL_TOOM22_THRESHOLD                26
speed_measure() could not get 4 results within 1.0%
    unsorted         sorted
  0.000000464789    0.000000282635    is about 0.5%
  0.000046479       0.000028263
  0.000042981       0.000028566
  0.000097603       0.000029258
  0.000154769       0.000029860
  0.000055356       0.000030421
  0.000028566       0.000038974
  0.000043639       0.000040384
  0.000057258       0.000041421
  0.000043733       0.000042523
  0.000069961       0.000042603
  0.000059327       0.000042820
  0.000029860       0.000042981
  0.000061999       0.000043639
  0.000055604       0.000043644
  0.000040384       0.000043733
  0.000085951       0.000046479
  0.000042523       0.000047019
  0.000029258       0.000055356
  0.000041421       0.000055604
  0.000028263       0.000057258
  0.000043644       0.000057434
  0.000057479       0.000057479
  0.000047019       0.000057886
  0.000042603       0.000059327
  0.000121255       0.000061999
  0.000057434       0.000069961
  0.000057886       0.000085951
  0.000038974       0.000097603
  0.000030421       0.000121255
  0.000042820       0.000154769
Makefile:860: recipe for target 'tune' failed
make: *** [tune] Aborted (core dumped)



Any idea why this is happening? Am I doing something wrong?



Thanks and regards
Tanushree Banerjee,
University of Waterloo


More information about the gmp-discuss mailing list