creating tacos make[3]: Leaving directory `/tmp/var/portage/gmp-4.1.2/work/gmp-4.1.2/mpfr/tests' make check-TESTS make[3]: Entering directory `/tmp/var/portage/gmp-4.1.2/work/gmp-4.1.2/mpfr/tests' PASS: reuse PASS: tabs PASS: tadd PASS: tagm PASS: tcan_round PASS: tcmp PASS: tcmp2 PASS: tcmp_ui PASS: tdiv PASS: tdiv_ui 0.00e0 ^--- 0.00e0 printed above is ok PASS: tdump PASS: teq PASS: texp PASS: tget_str PASS: tlog PASS: tconst_log2 mpfr_mul failed for x=0.00000000000000000000e+00 y=inf with rnd_mode=GMP_RNDN libm.a gives 0.00000000000000000000e+00, mpfr_mul gives nan FAIL: tmul PASS: tmul_2exp PASS: tmul_ui PASS: tout_str PASS: tconst_pi PASS: tpow PASS: trandom PASS: tround_prec PASS: tset_d PASS: tset_f PASS: tset_q PASS: tset_si PASS: tset_str PASS: tset_z you've found a bug in your machine's sqrt for x=-1.00000000000000000000e+00 FAIL: tsqrt PASS: tsqrt_ui PASS: tui_div PASS: tui_sub PASS: tswap PASS: ttrunc PASS: trint PASS: tisnan PASS: tget_d PASS: tatan PASS: tcosh PASS: tsinh PASS: ttanh PASS: tacosh PASS: tasinh PASS: tatanh PASS: thyperbolic PASS: texp2 PASS: tfactorial PASS: tsub PASS: tasin PASS: tconst_euler mpfr_cos failed for x=0.00000000000000000000e+00, rnd=GMP_RNDN mpfr_cos gives cos(x)=1.00000000000000000000e+00, expected 0.00000000000000000000e+00 FAIL: tcos mpfr_sin failed for x=inf, rnd=GMP_RNDN mpfr_sin gives sin(x)=nan, expected 0.00000000000000000000e+00 FAIL: tsin mpfr_tan failed for x=inf, rnd=GMP_RNDN mpfr_tan gives tan(x)=nan, expected 0.00000000000000000000e+00 FAIL: ttan PASS: tsub_ui PASS: tset PASS: tlog1p PASS: texpm1 PASS: tlog2 PASS: tlog10 PASS: tui_pow PASS: tpow3 PASS: tadd_ui PASS: texceptions PASS: tfma PASS: thypot PASS: tacos ==================== 5 of 68 tests failed ==================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/tmp/var/portage/gmp-4.1.2/work/gmp-4.1.2/mpfr/tests' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/tmp/var/portage/gmp-4.1.2/work/gmp-4.1.2/mpfr/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/var/portage/gmp-4.1.2/work/gmp-4.1.2/mpfr' make: *** [check-recursive] Error 1 !!! ERROR: dev-libs/gmp-4.1.2 failed. !!! Function src_compile, Line -294, Exitcode 2 !!! make check failed Calculating dependencies  ...done! >>> emerge (1 of 1) dev-libs/gmp-4.1.2 to / >>> md5 ;-) gmp-4.1.2.tar.gz