Danilo Horta wrote: > Hello GMP developers, > > I've got the following tests output from GCC 6.1.0 and a test failed for GMP. > > Details on the system: > > $ uname -a > Linux hh-yoda-11-01.ebi.ac.uk 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Aug 25 > 11:21:22 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux > > $ lsb_release -a > LSB Version: > :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch > Distributor ID: RedHatEnterpriseServer > Description: Red Hat Enterprise Linux Server release 7.1 (Maipo) > Release: 7.1 > Codename: Maipo > > And I performed the following commands: > > $ cd gcc-6.1.0 > $ ./contrib/download_prerequisites > $ cd .. > $ mkdir build > $ cd build > $ ../gcc-6.1.0/configure --prefix=$BASESYS > --enable-languages=c,c++,fortran,go --disable-multilib --with-system-zlib > $ make > $ make -k check > > -------------------------------- make -k check results > -------------------------------- > > [BIG SNIP] > > make check-TESTS > make[6]: Entering directory > `/hps/nobackup/stegle/users/horta/tmp/build/gmp/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: 5302 Segmentation fault (core dumped) ${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@gmplib.org <mailto:gmp-bugs@gmplib.org> > ==================================== > make[6]: *** [check-TESTS] Error 1 > make[6]: Leaving directory > `/hps/nobackup/stegle/users/horta/tmp/build/gmp/tests/mpz' > make[5]: *** [check-am] Error 2 > make[5]: Target `check' not remade because of errors. > make[5]: Leaving directory > `/hps/nobackup/stegle/users/horta/tmp/build/gmp/tests/mpz'
$ grep gmp ../gcc-6.1.0/contrib/download_prerequisites GMP=gmp-4.3.2 ln -sf $GMP gmp || exit 1 See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60933#c11 Fixed in *trunk* (the "bug" in GCC's download_prerequisites script). -leif _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs