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: [gfortran,patch] fix


Steve Kargl wrote:
> On Tue, Aug 30, 2005 at 10:18:07AM +0200, FX Coudert wrote:
> 
>>By the way (since I'm coming back from holidays, I'm sorry if this mail 
>>is a bit condensed), Steve (Kargl), did you sort your problems with my 
>>patch or do you still have a failure? I don't have such a recent 
>>freebsd, but on a older one it works fine...
>>
> 
> 
> I haven't had time to chase down my problems.  I did
> update my autoconf, automake, and libtools, but that's
> where I had to stop (due to work and a flare-up of RSI).
> 
> The frontend changes looked fine to me.  If someone else
> tests the libgfortran changes, then your patch is problem
> acceptable.  Tobi?  Paul B?
> 
I'm not sure which patch you're referring to.  I tried the one FX posted in
this thread <http://gcc.gnu.org/ml/fortran/2005-08/msg00494.html>, and my
build dies with:
make[3]: Entering directory
`/home/pcl331/schluter/src/gcc/build/i686-pc-linux-gnu/libgfortran'
/bin/sh ./libtool --mode=compile
/home/pcl331/schluter/src/gcc/build/./gcc/xgcc-B/home/pcl331/schluter/src/gcc/build/./gcc/
-B/home/pcl331/schluter/usr/i686-pc-linux-gnu/bin/
-B/home/pcl331/schluter/usr/i686-pc-linux-gnu/lib/ -isystem
/home/pcl331/schluter/usr/i686-pc-linux-gnu/include -isystem
/home/pcl331/schluter/usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../libgfortran -I. -iquote../../../libgfortran/io  -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -O2 -g -O2  -c -o compile_options.lo `test -f
'runtime/compile_options.c' || echo
'../../../libgfortran/'`runtime/compile_options.c
/home/pcl331/schluter/src/gcc/build/./gcc/xgcc
-B/home/pcl331/schluter/src/gcc/build/./gcc/
-B/home/pcl331/schluter/usr/i686-pc-linux-gnu/bin/
-B/home/pcl331/schluter/usr/i686-pc-linux-gnu/lib/ -isystem
/home/pcl331/schluter/usr/i686-pc-linux-gnu/include -isystem
/home/pcl331/schluter/usr/i686-pc-linux-gnu/sys-include-DHAVE_CONFIG_H -I.
-I../../../libgfortran -I. -iquote../../../libgfortran/io -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -O2 -g -O2 -c ../../../libgfortran/runtime/compile_options.c
-fPIC -DPIC -o .libs/compile_options.o
In file included from ../../../libgfortran/runtime/compile_options.c:32:
../../../libgfortran/libgfortran.h:242: error: expected
specifier-qualifier-list before 'GFC_REAL_4'
../../../libgfortran/libgfortran.h:243: error: expected
specifier-qualifier-list before 'GFC_REAL_8'
../../../libgfortran/libgfortran.h:244: error: expected
specifier-qualifier-list before 'GFC_COMPLEX_4'
../../../libgfortran/libgfortran.h:245: error: expected
specifier-qualifier-list before 'GFC_COMPLEX_8'
../../../libgfortran/libgfortran.h:501: error: expected '=', ',', ';', 'asm'
or'__attribute__' before '*' token
../../../libgfortran/libgfortran.h:502: error: 'internal_pack_c4' undeclared
here (not in a function)
../../../libgfortran/libgfortran.h:502: warning: type defaults to 'int' in
declaration of 'internal_pack_c4'
../../../libgfortran/libgfortran.h:504: error: expected '=', ',', ';', 'asm'
or'__attribute__' before '*' token
../../../libgfortran/libgfortran.h:505: error: 'internal_pack_c8' undeclared
here (not in a function)
../../../libgfortran/libgfortran.h:505: warning: type defaults to 'int' in
declaration of 'internal_pack_c8'
../../../libgfortran/libgfortran.h:513: warning: type defaults to 'int' in
declaration of 'GFC_COMPLEX_4'
../../../libgfortran/libgfortran.h:513: error: expected ';', ',' or ')' before
'*' token
../../../libgfortran/libgfortran.h:514: error: 'internal_unpack_c4' undeclared
here (not in a function)
../../../libgfortran/libgfortran.h:514: warning: type defaults to 'int' in
declaration of 'internal_unpack_c4'
../../../libgfortran/libgfortran.h:516: warning: type defaults to 'int' in
declaration of 'GFC_COMPLEX_8'
../../../libgfortran/libgfortran.h:516: error: expected ';', ',' or ')' before
'*' token
../../../libgfortran/libgfortran.h:517: error: 'internal_unpack_c8' undeclared
here (not in a function)
../../../libgfortran/libgfortran.h:517: warning: type defaults to 'int' in
declaration of 'internal_unpack_c8'
../../../libgfortran/libgfortran.h:533: error: expected '=', ',', ';', 'asm'
or'__attribute__' before 'normalize_r4_i4'
../../../libgfortran/libgfortran.h:534: error: 'normalize_r4_i4' undeclared
here (not in a function)
../../../libgfortran/libgfortran.h:534: warning: type defaults to 'int' in
declaration of 'normalize_r4_i4'
../../../libgfortran/libgfortran.h:536: error: expected '=', ',', ';', 'asm'
or'__attribute__' before 'normalize_r8_i8'
../../../libgfortran/libgfortran.h:537: error: 'normalize_r8_i8' undeclared
here (not in a function)
../../../libgfortran/libgfortran.h:537: warning: type defaults to 'int' in
declaration of 'normalize_r8_i8'
make[3]: *** [compile_options.lo] Error 1
make[3]: Leaving directory
`/home/pcl331/schluter/src/gcc/build/i686-pc-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/pcl331/schluter/src/gcc/build/i686-pc-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/home/pcl331/schluter/src/gcc/build'
make: *** [bootstrap] Error 2

- Tobi


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