Menu

#54 Compile error with gfortran 5.3.1

open
None
5
2016-05-25
2016-04-29
No

Compiling pfunit with gfortran version 5.3.1 on Fedora 23 fails. I was able to compile and install using Ubuntu 14.04/gfortran 4.8.4 and Ubuntu 15.10/gfortran 5.2.1. See attachment for full terminal output.

[wt57@localhost ~]$ gfortran --version
GNU Fortran (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
Copyright (C) 2015 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

[wt57@localhost pFUnit]$ make tests F90_VENDOR=GNU F90=gfortran
make -C /home/wt57/Documents/pFUnit/source all
make[1]: Entering directory '/home/wt57/Documents/pFUnit/source'
GNUmakefile:34: generated.inc: No such file or directory
GNUmakefile:77: dependencies.inc: No such file or directory
python ./GenerateAssertsOnArrays.py --maxRank 5
makeModuleReal: done
makeModuleComplex: done
makeModuleInteger: done
makeInternalModule: done
makeSupportModule: done
for i in *.F90; do \
gfortran -E -I/home/wt57/Documents/pFUnit/include -I/home/wt57/Documents/pFUnit/source -g -O0 -fbacktrace -fbounds-check -fcheck=mem -I../include -DBUILD_ROBUST -DGNU -DLinux -I/home/wt57/Documents/pFUnit/include -DLONG_PTR -DGNU $i > ${i}_cpp.f90; \
../tools/MakeDependenciesTmp $i ${i}_cpp.f90 \
dependenciesSource.tmp "PrivateException|MockSUT|SUT"; \
rm -f ${i}_cpp.f90; done
./MakeDependenciesInc dependenciesSource.tmp
gfortran -c -I/home/wt57/Documents/pFUnit/include -I/home/wt57/Documents/pFUnit/source -g -O0 -fbacktrace -fbounds-check -fcheck=mem -I../include -DBUILD_ROBUST -DGNU -DLinux -I/home/wt57/Documents/pFUnit/include -DLONG_PTR -DGNU -o ParallelContext.o ParallelContext.F90
gfortran -c -I/home/wt57/Documents/pFUnit/include -I/home/wt57/Documents/pFUnit/source -g -O0 -fbacktrace -fbounds-check -fcheck=mem -I../include -DBUILD_ROBUST -DGNU -DLinux -I/home/wt57/Documents/pFUnit/include -DLONG_PTR -DGNU -o SourceLocation.o SourceLocation.F90
gfortran -c -I/home/wt57/Documents/pFUnit/include -I/home/wt57/Documents/pFUnit/source -g -O0 -fbacktrace -fbounds-check -fcheck=mem -I../include -DBUILD_ROBUST -DGNU -DLinux -I/home/wt57/Documents/pFUnit/include -DLONG_PTR -DGNU -o Exception.o Exception.F90
Exception.F90:325:0:

   allocate(this%exceptions(0))

1
internal compiler error: in wide_int_to_tree, at tree.c:1464
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugzilla.redhat.com/bugzilla for instructions.
../include/base.mk:27: recipe for target 'Exception.o' failed
make[1]: *** [Exception.o] Error 1
make[1]: Leaving directory '/home/wt57/Documents/pFUnit/source'
GNUmakefile:195: recipe for target 'all' failed
make: *** [all] Error 2
[wt57@localhost pFUnit]$

2 Attachments

Discussion

  • Tom Clune

    Tom Clune - 2016-05-25

    Hello Wilbur,

    I'm not sure how I missed it when this ticket was opened. Very sorry about that - I'll try to take a look over the weekend.

    - Tom

     
    • Tom Clune

      Tom Clune - 2016-05-25

      Unfortunately, I cannot install the pre-release of gcc on the local cluster. If the user wants to investigate on their own, I'm happy to suggest workarounds. Or the ticket can just stay open until 5.3.1 is officially released.

       
  • Tom Clune

    Tom Clune - 2016-05-25
    • assigned_to: Tom Clune
     

Log in to post a comment.

MongoDB Logo MongoDB