Changes between Initial Version and Version 1 of Ticket #44596, comment 31


Ignore:
Timestamp:
Sep 12, 2014, 6:44:49 PM (10 years ago)
Author:
hiro.masa.yoshi.moto@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44596, comment 31

    initial v1  
    1 Cc Me!
     1I 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
     7For step 1 and 2, I used "port edit" to modify the version numbers and checksums.
     8For 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}}}
     22See http://lists.gforge.inria.fr/pipermail/mpc-discuss/2010-April/000679.html for details.
     23
     24
     25I hope this will help you :-)