------- Comment #14 from burnus at gcc dot gnu dot org 2007-11-26 23:11 ------- (In reply to comment #13) > When I compile the following program under FreeBSD using the November 23 > snapshot of gfortran: > : undefined reference to `tgammaf' > Is this the intended behavior?
Of cause not. The question is only why does it happen. Did you compile GCC yourself? If yes, what do libgfortran/config.h and libgfortran/config.log contain for lgammaf? Are you sure that the linker finds the right version of libgfortran.so? (This feature was added 2007-11-16.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33583