This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2007 23:29:48 -0000
- Subject: [Bug libfortran/33583] FAIL: gfortran.dg/gamma_1.f90
- References: <bug-33583-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from kargl at gcc dot gnu dot org 2007-11-26 23:29 -------
(In reply to comment #13)
> When I compile the following program under FreeBSD using the November 23
> snapshot of gfortran:
>
> PROGRAM pgamma
> y = gamma(x)
> END PROGRAM pgamma
>
> I get the message:
>
> /var/tmp//ccuAsOud.o(.text+0x1f): In function `MAIN__':
> : undefined reference to `tgammaf'
> collect2: ld returned 1 exit status
>
> Is this the intended behavior?
Works for me.
troutmask:sgk[223] gc4x -o z a.f90
troutmask:sgk[224] nm z | grep gamma
0000000000416060 T tgamma
0000000000403b10 T tgammaf
troutmask:sgk[225] gfc4x -v
Using built-in specs.
Target: x86_64-unknown-freebsd8.0
Configured with: ../gcc4x/configure --prefix=/home/sgk/work/4x
--enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20071126 (experimental) (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33583