------- Comment #2 from kargl at gcc dot gnu dot org 2007-10-29 19:41 ------- The problem is that configure.ac is missing a check for [t]gamma[fl].
AC_CHECK_LIB([m],[tgammaf],[AC_DEFINE([HAVE_TGAMMAF],[1],[libm includes tgammaf])]) AC_CHECK_LIB([m],[tgamma],[AC_DEFINE([HAVE_TGAMMA],[1],[libm includes tgamma])]) AC_CHECK_LIB([m],[tgammal],[AC_DEFINE([HAVE_TGAMMAL],[1],[libm includes tgammal])]) If a proper patch had been applied to libgfortran when the gamma function was added, then one would have found that *BSD has a tgamma function but no tgammaf. At which point, one could have added the required tgammaf wrapper to c99_functions.c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33942