------- Comment #10 from ghazi at gcc dot gnu dot org 2007-02-16 19:23 ------- (In reply to comment #7) > The backtrace ends in mpfr_erf, I couldn't go further up. To overcome this > difficulty, I set a breakpoint on the caller, see below.
That's perhaps because mpfr_erf is called from do_mpfr_arg1 via a function pointer rather than directly, which confuses gdb (I'm guessing). > the Fortran FE). > If I find out how I can have my own mpfr and gmp coexist with the fink > libraries, I'll try setting up my own. In the past, attempts I made at doing > this (on Linux) have failed. Looking through the fink scripts, it seems that > its mpfr is a build with no unusual configure arguments, gmp is patched to > disable the assembly fragments but nothing unusual except for that. To have your own gmp/mpfr co-exist, simply build them yourself and install them in some private directory. Configure then as none-apple-darwin I think. Make sure you run "make check" for both libraries before installing them and make sure everything passes. Then when configuring gcc, pass the configure flag --with-gmp=PATH --with-mpfr=PATH. Run the top level configure --help for more docs on those flags. Note if gmp and mpfr are installed in the same prefix, then you only need one of the two flags, but having both should not hurt. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30816