devtoolset-2: gfortran 4.8.1 problem with "REAL (KIND=16)"
Issue
We see the following error when using "real (kind=16)
" with gfortran version coming from devtoolset 2:
$ gfortran /tmp/kul.f90
/tmp/ccg1VSEr.o: In function `MAIN__':
kul.f:(.text+0x67): undefined reference to `_gfortran_transfer_real128_write'
collect2: error: ld returned 1 exit status
$ cat /tmp/kul.f90
program main
implicit none
real ( kind=16 ) x
x = 1.0
write (*,*) x
end
$ gfortran --version
GNU Fortran (GCC) 4.8.1 20130715 (Red Hat 4.8.1-4)
Copyright (C) 2013 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
Environment
- Red Hat Enterprise Linux 6.4
- devtoolset-2-gcc-gfortran-4.8.1-4.el6.1.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.