Failed test with gcc 4.9.2

Henrik Quanz fhquanz at
Sat Apr 18 12:08:28 UTC 2015

Dear Developers,

I wanted to compile gmp using a self compiled version of gcc 4.9.2. I compiled gcc 4.9.2 with the —enable-bootstrap option on using gcc 4.4.7. gmp compiled fine using the standard  system compiler gcc 4.4.7 centos 6.6. The error with the gcc 4.9.2 using make check was the following:

make  check-TESTS                                                                                                                                      
make[4]: Entering directory `/home/henrik/Downloads/gcc/gcc-4.9.2/contrib/gmp-4.3.2/tests/mpz'                                                         
PASS: t-addsub                                                                                                                                         
PASS: t-cmp                                                                                                                                            
PASS: t-mul                                                                                                                                            
PASS: t-mul_i                                                                                                                                          
PASS: t-tdiv                                                                                                                                           
PASS: t-tdiv_ui                                                                                                                                        
PASS: t-fdiv                                                                                                                                           
PASS: t-fdiv_ui                                                                                                                                        
PASS: t-cdiv_ui                                                                                                                                        
PASS: t-gcd                                                                                                                                            
PASS: t-gcd_ui                                                                                                                                         
PASS: t-lcm                                                                                                                                            
PASS: dive                                                                                                                                             
PASS: dive_ui                                                                                                                                          
PASS: t-sqrtrem                                                                                                                                        
PASS: convert                                                                                                                                          
PASS: io                                                                                                                                               
PASS: t-inp_str                                                                                                                                        
PASS: logic                                                                                                                                            
PASS: bit                                                                                                                                              
PASS: t-powm                                                                                                                                           
PASS: t-powm_ui                                                                                                                                        
PASS: t-pow                                                                                                                                            
PASS: t-div_2exp                                                                                                                                       
PASS: reuse                                                                                                                                            
PASS: t-root                                                                                                                                           
PASS: t-perfsqr                                                                                                                                        
PASS: t-perfpow                                                                                                                                        
PASS: t-jac                                                                                                                                            
PASS: t-bin                                                                                                                                            
PASS: t-get_d                                                                                                                                          
PASS: t-get_d_2exp                                                                                                                                     
PASS: t-get_si
PASS: t-set_d
PASS: t-set_si
PASS: t-fac_ui
PASS: t-fib_ui
PASS: t-lucnum_ui
/bin/sh: line 4: 32240 Segmentation fault      ${dir}$tst
FAIL: t-scan
PASS: t-fits
PASS: t-divis
PASS: t-divis_2exp
PASS: t-cong
PASS: t-cong_2exp
PASS: t-sizeinbase
PASS: t-set_str
PASS: t-aorsmul
PASS: t-cmp_d
PASS: t-cmp_si
PASS: t-hamdist
PASS: t-oddeven
PASS: t-popcount
PASS: t-set_f
PASS: t-io_raw
PASS: t-import
PASS: t-export
PASS: t-pprime_p
PASS: t-nextprime
1 of 58 tests failed
Please report to gmp-bugs at

I hope you can use this information to fix the problem.

Thank you for your great work!

Yours sincerely,

Henrik Quanz

More information about the gmp-bugs mailing list