------- Comment #28 from jbuck at gcc dot gnu dot org 2006-12-15 19:38 ------- Yes, it seems that LD_LIBRARY_PATH is the cause of all the problems, but I also think it might not be a great idea to just say "not a bug, PEBKAC" (problem exists between keyboard and chair). The issue is that the failure doesn't show up until an hour or more into a build run, and then the error message is completely obscure. There is no direct indication that the cause is a gfortran failure to run.
Could configure be made to object if a simple program dynamically linked with libgmp and libmpfr won't run? Then users will fix the problem before starting the build. Alternatively, libgfortran/mk-sik-inc.sh could be changed to give a better error message for the failure, but this has the problem that the user won't see the failure until a rather late point. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26893