This is the mail archive of the gcc-patches@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]

Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING


On Sun, 17 May 2009, FX wrote:
> PS: I actually had already committed my stdint.diff patch when I received your
> mail. So, if it takes more than 48 hours to get fixed, I'll revert it. In the
> meantime, don't svn update.

Tell that to the autotesters. ;}

> Sorry again for breaking bootstrap.

Not sure what the current status is, but FYI at r147643 the
build was broken as follows for cris-elf (with cutnpaste
breakage):

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/tmp/hpautotest-gcc1/gcc/gcc
-I/tmp/hpautotest-gcc1/gcc/gcc/fortran
-I/tmp/hpautotest-gcc1/gcc/gcc/../include
-I/tmp/hpautotest-gcc1/gcc/gcc/../libcpp/include
-I/tmp/hpautotest-gcc1/cris-elf/gccobj/./gmp
-I/tmp/hpautotest-gcc1/gcc/gmp
-I/tmp/hpautotest-gcc1/cris-elf/gccobj/./mpfr
-I/tmp/hpautotest-gcc1/gcc/mpfr
-I/tmp/hpautotest-gcc1/gcc/gcc/../libdecnumber
-I/tmp/hpautotest-gcc1/gcc/gcc/../libdecnumber/dpd
-I../libdecnumber
/tmp/hpautotest-gcc1/gcc/gcc/fortran/trans-types.c -o
fortran/trans-types.o
In file included from
/tmp/hpautotest-gcc1/gcc/gcc/fortran/trans-types.c:335:
/tmp/hpautotest-gcc1/gcc/gcc/fortran/iso-c-binding.def: In
function 'init_c_interop_kinds':
/tmp/hpautotest-gcc1/gcc/gcc/fortran/iso-c-binding.def:58:
error: 'PTRDIFF_TYPE' undeclared (first use in this function)
/tmp/hpautotest-gcc1/gcc/gcc/fortran/iso-c-binding.def:58:
error: (Each undeclared identifier is reported only once
/tmp/hpautotest-gcc1/gcc/gcc/fortran/iso-c-binding.def:58:
error: for each function it appears in.)
make[2]: *** [fortran/trans-types.o] Error 1
make[2]: Leaving directory
`/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/tmp/hpautotest-gcc1/cris-elf/gccobj'

And please don't knee-jerk to just blame the target.
Some default isn't included somewhere.

brgds, H-P


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