public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/40197]  New: Spu fortran does not build
@ 2009-05-19 12:32 meissner at linux dot vnet dot ibm dot com
  2009-05-19 12:36 ` [Bug target/40197] " meissner at linux dot vnet dot ibm dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: meissner at linux dot vnet dot ibm dot com @ 2009-05-19 12:32 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/40197] Spu fortran does not build
  2009-05-19 12:32 [Bug target/40197] New: Spu fortran does not build meissner at linux dot vnet dot ibm dot com
@ 2009-05-19 12:36 ` meissner at linux dot vnet dot ibm dot com
  2009-05-19 14:37 ` [Bug fortran/40197] [4.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: meissner at linux dot vnet dot ibm dot com @ 2009-05-19 12:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from meissner at linux dot vnet dot ibm dot com  2009-05-19 12:35 -------
Created an attachment (id=17892)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17892&action=view)
Define PTRDIFF_TYPE, SIZE_TYPE.


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/40197] [4.5 Regression] Spu fortran does not build
  2009-05-19 12:32 [Bug target/40197] New: Spu fortran does not build meissner at linux dot vnet dot ibm dot com
  2009-05-19 12:36 ` [Bug target/40197] " meissner at linux dot vnet dot ibm dot com
@ 2009-05-19 14:37 ` pinskia at gcc dot gnu dot org
  2009-05-21 11:06 ` rguenth at gcc dot gnu dot org
  2009-05-27 17:56 ` hp at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-19 14:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-05-19 14:36 -------
Actually http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01181.html is a better
patch since PTRDIFF_TYPE and SIZE_TYPE are documented to have defaults.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |05/msg01181.html
             Status|UNCONFIRMED                 |NEW
          Component|target                      |fortran
     Ever Confirmed|0                           |1
           Keywords|                            |build, patch
   Last reconfirmed|0000-00-00 00:00:00         |2009-05-19 14:36:54
               date|                            |
            Summary|Spu fortran does not build  |[4.5 Regression] Spu fortran
                   |                            |does not build
   Target Milestone|---                         |4.5.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/40197] [4.5 Regression] Spu fortran does not build
  2009-05-19 12:32 [Bug target/40197] New: Spu fortran does not build meissner at linux dot vnet dot ibm dot com
  2009-05-19 12:36 ` [Bug target/40197] " meissner at linux dot vnet dot ibm dot com
  2009-05-19 14:37 ` [Bug fortran/40197] [4.5 Regression] " pinskia at gcc dot gnu dot org
@ 2009-05-21 11:06 ` rguenth at gcc dot gnu dot org
  2009-05-27 17:56 ` hp at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-21 11:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/40197] [4.5 Regression] Spu fortran does not build
  2009-05-19 12:32 [Bug target/40197] New: Spu fortran does not build meissner at linux dot vnet dot ibm dot com
                   ` (2 preceding siblings ...)
  2009-05-21 11:06 ` rguenth at gcc dot gnu dot org
@ 2009-05-27 17:56 ` hp at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: hp at gcc dot gnu dot org @ 2009-05-27 17:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hp at gcc dot gnu dot org  2009-05-27 17:56 -------
The referred patch was committed as r147712, so I presume this is now fixed.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-27 17:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-19 12:32 [Bug target/40197] New: Spu fortran does not build meissner at linux dot vnet dot ibm dot com
2009-05-19 12:36 ` [Bug target/40197] " meissner at linux dot vnet dot ibm dot com
2009-05-19 14:37 ` [Bug fortran/40197] [4.5 Regression] " pinskia at gcc dot gnu dot org
2009-05-21 11:06 ` rguenth at gcc dot gnu dot org
2009-05-27 17:56 ` hp at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).