http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56806
Bug #: 56806
Summary: make: *** [spher_harm.o] Error 1
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 29772
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29772
spher_harm.f is creating compilaiton error.
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
Name : make Relocations: /usr
Version : 3.81 Vendor: CentOS
Release : 3.el5 Build Date: Sun 25 May 2008
07:03:35 AM IST
Install Date: Tue 21 Sep 2010 10:40:56 AM IST Build Host:
builder15.centos.org
Group : Development/Tools Source RPM: make-3.81-3.el5.src.rpm
Size : 1050444 License: GPL
________________________________________________________________________________
Make file used for compilation is as follows::::
___________________________________________________________________
#
# This file is part of the SIESTA package.
#
# Copyright (c) Fundacion General Universidad Autonoma de Madrid:
# E.Artacho, J.Gale, A.Garcia, J.Junquera, P.Ordejon, D.Sanchez-Portal
# and J.M.Soler, 1996- .
#
# Use of this software constitutes agreement with the full conditions
# given in the SIESTA license, as signed by all legitimate users.
#
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90
SIESTA_ARCH=i686-pc-linux-gnu--unknown
FPP=
FPP_OUTPUT=
FC=mpif90
RANLIB=ranlib
SYS=nag
SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)
FFLAGS=-g -O2
FPPFLAGS= -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
LDFLAGS=
ARFLAGS_EXTRA=
FCFLAGS_fixed_f=
FCFLAGS_free_f90=
FPPFLAGS_fixed_F=
FPPFLAGS_free_F90=
BLAS_LIBS=/home/scalapack_installer_0.96/lib/librefblas.a
LAPACK_LIBS=/home/scalapack_installer_0.96/lib/libreflapack.a
BLACS_LIBS=/home/scalapack_installer_0.96/lib/blacsF77.a \
/home/scalapack_installer_0.96/lib/blacsC.a \
/home/scalapack_installer_0.96/lib/blacs.a
SCALAPACK_LIBS=/home/scalapack_installer_0.96/lib/libscalapack.a
COMP_LIBS=dc_lapack.a liblapack.a libblas.a
NETCDF_LIBS=
NETCDF_INTERFACE=
LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS)
#SIESTA needs an F90 interface to MPI
#This will give you SIESTA's own implementation
#If your compiler vendor offers an alternative, you may change
#to it here.
MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=./include
#Dependency rules are created by autoconf according to whether
#discrete preprocessing is necessary or not.
.F.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $<
.F90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $<
.f.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $<
.f90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $<
_______________________________________________________________________________
command line: make
____________________________________________________________________________
compiler output:::::::::::
[ranjan1@puphyshpc Obj]$ make transiesta
Compilation architecture to be used: x86_64-unknown-linux-gnu--unknown
If this is not what you want, create the right
arch.make file using the models in Src/Sys
Hit ^C to abort...
==> Incorporating information about present compilation (compiler and flags)
make[1]: Entering directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj'
mpif90 -c -g -O2 `FoX/FoX-config --fcflags` -DMPI -DFC_HAVE_FLUSH
-DFC_HAVE_ABORT -DTRANSIESTA compinfo.F90
make[1]: Leaving directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj'
make[1]: Entering directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj/MPI'
mpif90 -c -g -O2 -I./include -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/MPI/mpi.F
mpif90 -c -g -O2 -I./include
/home/ranjan1/Tar-files/tar/trunk-431/Src/MPI/mpi_siesta.f90
ranlib libmpi_f90.a
make[1]: Leaving directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj/MPI'
(cd fdf ; make "VPATH=/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf" \
"FPPFLAGS=-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
-DTRANSIESTA " \
"FFLAGS=-g -O2" module )
make[1]: Entering directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj/fdf'
In fdf, INCFLAGS is: -I/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf -I../
mpif90 -c -g -O2 -I/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf -I../
-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf/iso_fortran_env.F90
mpif90 -c -g -O2 -I/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf -I../
-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf/prec.F90
mpif90 -c -g -O2 -I/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf -I../
-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf/utils.F90
mpif90 -c -g -O2 -I/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf -I../
-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf/io_fdf.F90
mpif90 -c -g -O2 -I/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf -I../
-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf/parse.F90
mpif90 -c -g -O2 -I/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf -I../
-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/fdf/fdf.F90
ar cru libfdf.a \
iso_fortran_env.o fdf.o io_fdf.o parse.o utils.o prec.o
ranlib libfdf.a
cp libfdf.a ..
make[1]: Leaving directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj/fdf'
(cd SiestaXC ; make \
"VPATH_ROOT=/home/ranjan1/Tar-files/tar/trunk-431/Src" \
"INCFLAGS=-I../MPI" \
"FFLAGS=-g -O2" module )
make[1]: Entering directory
`/home/ranjan1/Tar-files/tar/trunk-431/Obj/SiestaXC'
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/parallel.F
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/debugmpi.F
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/sys.F
mpif90 -c -g -O2 -I../MPI /home/ranjan1/Tar-files/tar/trunk-431/Src/m_io.f
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/precision.F
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/alloc.F90
mpif90 -c -g -O2 -I../MPI /home/ranjan1/Tar-files/tar/trunk-431/Src/bessph.f
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/cellsubs.f
mpif90 -c -g -O2 -I../MPI /home/ranjan1/Tar-files/tar/trunk-431/Src/sorting.f
mpif90 -c -g -O2 -I../MPI /home/ranjan1/Tar-files/tar/trunk-431/Src/minvec.f
mpif90 -c -g -O2 -I../MPI /home/ranjan1/Tar-files/tar/trunk-431/Src/chkgmx.f
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/fft1d.F
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/flib_spline.f90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/moreParallelSubs.F90
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/m_recipes.f
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/m_walltime.f90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/m_timer.F90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/pxf.F90
mpif90 -c -g -O2 -I../MPI /home/ranjan1/Tar-files/tar/trunk-431/Src/radfft.f
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/timer.F90
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/ldaxc.f
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/am05.f90
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/ggaxc.f
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/mesh1d.f90
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/debugxc.f90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/vdwxc.F90
mpif90 -c -g -O2 -I../MPI
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/xcmod.f90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/atomxc.F90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/mesh3d.F90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/fft3d.F90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/fftr.F90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/cellxc.F90
mpif90 -c -g -O2 -I../MPI -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
/home/ranjan1/Tar-files/tar/trunk-431/Src/SiestaXC/siestaxc.F90
ar cru libSiestaXC.a alloc.o bessph.o cellsubs.o debugmpi.o chkgmx.o fft1d.o
flib_spline.o minvec.o m_io.o moreParallelSubs.o m_recipes.o m_timer.o
m_walltime.o parallel.o precision.o pxf.o radfft.o sorting.o sys.o timer.o
atomxc.o cellxc.o debugxc.o ggaxc.o ldaxc.o siestaxc.o vdwxc.o xcmod.o fft3d.o
fftr.o mesh1d.o mesh3d.o am05.o
ranlib libSiestaXC.a
cp *.mod *.a ..
make[1]: Leaving directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj/SiestaXC'
==> Compiling dc_lapack.a in Libs...
make[1]: Entering directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj/Libs'
mpif90 -c -g -O2 /home/ranjan1/Tar-files/tar/trunk-431/Src/Libs/dc_lapack.f
ar cru dc_lapack.a dc_lapack.o
ranlib dc_lapack.a
mv dc_lapack.a ..
make[1]: Leaving directory `/home/ranjan1/Tar-files/tar/trunk-431/Obj/Libs'
mpif90 -c -g -O2 `FoX/FoX-config --fcflags` -DMPI -DFC_HAVE_FLUSH
-DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/precision.F
mpif90 -c -g -O2 `FoX/FoX-config --fcflags` -DMPI -DFC_HAVE_FLUSH
-DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/parallel.F
mpif90 -c -g -O2 `FoX/FoX-config --fcflags` -DMPI -DFC_HAVE_FLUSH
-DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/debugmpi.F
mpif90 -c -g -O2 `FoX/FoX-config --fcflags` -DMPI -DFC_HAVE_FLUSH
-DFC_HAVE_ABORT -DTRANSIESTA /home/ranjan1/Tar-files/tar/trunk-431/Src/sys.F
mpif90 -c -g -O2 `FoX/FoX-config --fcflags`
/home/ranjan1/Tar-files/tar/trunk-431/Src/m_io.f
mpif90 -c -g -O2 `FoX/FoX-config --fcflags` -DMPI -DFC_HAVE_FLUSH
-DFC_HAVE_ABORT -DTRANSIESTA
/home/ranjan1/Tar-files/tar/trunk-431/Src/alloc.F90
mpif90 -c -g -O2 `FoX/FoX-config --fcflags`
/home/ranjan1/Tar-files/tar/trunk-431/Src/xml.f
mpif90 -c -g -O2 `FoX/FoX-config --fcflags`
/home/ranjan1/Tar-files/tar/trunk-431/Src/radial.f
mpif90 -c -g -O2 `FoX/FoX-config --fcflags`
/home/ranjan1/Tar-files/tar/trunk-431/Src/atm_types.f
mpif90 -c -g -O2 `FoX/FoX-config --fcflags`
/home/ranjan1/Tar-files/tar/trunk-431/Src/spher_harm.f
/home/ranjan1/Tar-files/tar/trunk-431/Src/spher_harm.f: In function 'ylmexp':
/home/ranjan1/Tar-files/tar/trunk-431/Src/spher_harm.f:296: internal compiler
error: in modified_type_die, at dwarf2out.c:8495
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [spher_harm.o] Error 1
________________________________________________________________________________