1 | | Cc Me! |
| 1 | I found a workaround to avoid this internal compile error. The steps are as follows; |
| 2 | - step-1: downgrade gmp to 4.3.2 |
| 3 | - step-2: downgrade libmpc to 0.8.1 |
| 4 | - step-3: port install libgcc |
| 5 | |
| 6 | |
| 7 | For step 1 and 2, I used "port edit" to modify the version numbers and checksums. |
| 8 | For step 2, I also wrote small patch; |
| 9 | {{{ |
| 10 | --- src/acos.c.old~ 2014-09-13 01:26:33.000000000 +0900 |
| 11 | +++ src/acos.c 2014-09-13 01:26:53.000000000 +0900 |
| 12 | @@ -189,7 +189,7 @@ mpc_acos (mpc_ptr rop, mpc_srcptr op, mp |
| 13 | rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD |
| 14 | : rnd_im == GMP_RNDD ? GMP_RNDU |
| 15 | #if MPFR_VERSION_MAJOR >= 3 |
| 16 | - : rnd_im == GMP_RNDA ? GMP_RNDZ |
| 17 | + : rnd_im == MPFR_RNDA ? GMP_RNDZ |
| 18 | #endif |
| 19 | : rnd_im; |
| 20 | rnd1 = RNDC(GMP_RNDN, rnd_im); |
| 21 | }}} |
| 22 | See http://lists.gforge.inria.fr/pipermail/mpc-discuss/2010-April/000679.html for details. |
| 23 | |
| 24 | |
| 25 | I hope this will help you :-) |