This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/40197] New: Spu fortran does not build


Spu.h needs to define PTRDIFF_TYPE, since fortran now uses this in compiling
trans-types.  SIZE_TYPE probably should also be defined.

gcc -c  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -fno-common  -DHAVE_CONFIG_H -I.
-Ifortran -I/home/meissner/fsf-src/trunk/gcc
-I/home/meissner/fsf-src/trunk/gcc/fortran
-I/home/meissner/fsf-src/trunk/gcc/../include
-I/home/meissner/fsf-src/trunk/gcc/../libcpp/include
-I/home/meissner/fsf-install-ppc64/gmp-4.2.2/include
-I/home/meissner/fsf-install-ppc64/mpfr-2.4.0/include
-I/home/meissner/fsf-src/trunk/gcc/../libdecnumber
-I/home/meissner/fsf-src/trunk/gcc/../libdecnumber/dpd -I../libdecnumber   
/home/meissner/fsf-src/trunk/gcc/fortran/trans-types.c -o fortran/trans-types.o
In file included from
/home/meissner/fsf-src/trunk/gcc/fortran/trans-types.c:335:
/home/meissner/fsf-src/trunk/gcc/fortran/iso-c-binding.def: In function
?init_c_interop_kinds?:
/home/meissner/fsf-src/trunk/gcc/fortran/iso-c-binding.def:58: error:
?PTRDIFF_TYPE? undeclared (first use in this function)
/home/meissner/fsf-src/trunk/gcc/fortran/iso-c-binding.def:58: error: (Each
undeclared identifier is reported only once
/home/meissner/fsf-src/trunk/gcc/fortran/iso-c-binding.def:58: error: for each
function it appears in.)
make[2]: *** [fortran/trans-types.o] Error 1


-- 
           Summary: Spu fortran does not build
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: meissner at linux dot vnet dot ibm dot com
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: spu-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40197


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]