[Bug fortran/79305] New: real128 - undefined reference to cexpl
mexas at bristol dot ac.uk
gcc-bugzilla@gcc.gnu.org
Tue Jan 31 15:33:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79305
Bug ID: 79305
Summary: real128 - undefined reference to cexpl
Product: gcc
Version: 6.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: mexas at bristol dot ac.uk
Target Milestone: ---
FreeBSD 11.0-RELEASE-p2
use, intrinsic :: iso_fortran_env, only: real128
integer, parameter :: fk = real128
complex( kind=fk ) :: z
z = cmplx( 1.0_fk, -1.0_fk, kind=fk )
write (*,*) exp( z )
end
$ gfortran49 z.f90
/tmp//ccIF7kVE.o: In function `MAIN__':
z.f90:(.text+0x79): undefined reference to `cexpl'
collect2: error: ld returned 1 exit status
$ gfortran6 z.f90
/tmp//ccq1EOKO.o: In function `MAIN__':
z.f90:(.text+0x62): undefined reference to `cexpl'
collect2: error: ld returned 1 exit status
$ gfortran7 z.f90
/tmp//ccgH1sQM.o: In function `MAIN__':
z.f90:(.text+0x62): undefined reference to `cexpl'
collect2: error: ld returned 1 exit status
Have I missed something?
Thanks
Anton
More information about the Gcc-bugs
mailing list