Testers needed for ISO C Binding patch

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Thu Jun 7 19:34:00 GMT 2007


Steve Kargl wrote:
> Tobi, the patch wasn't meant to be reviewed.  I was seeking
> people who would simply apply the patch, build gfortran, and
> run the regression tests.  Chris and I can only test a very
> limited number of targets.

I know, I wasn't complaining about the submission format, just covering 
my back in case I said something stupid.  The lookover was intended to 
speed up the process by getting trivial problems out of the way early on.

>> I'll have to stop here for the moment.  I'll try to give the patch a 
>> thorough and complete look during the weekend.  Looking at my xterm I 
>> have bad news to report: my build on darwin-i386 failed with the 
>> following error:
>> libtool: compile: unable to infer tagged configuration
>> libtool: compile: specify a tag with `--tag'
>> make[6]: *** [iso_c_generated_procs.lo] Error 1
>> make[6]: *** Waiting for unfinished jobs....
>> libtool: compile: unable to infer tagged configuration
>> libtool: compile: specify a tag with `--tag'
>> make[6]: *** [iso_c_binding.lo] Error 1
>> make[5]: *** [all] Error 2
>> make[4]: *** [multi-do] Error 1
>> make[3]: *** [all-multi] Error 2
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-target-libgfortran] Error 2
>> make: *** [all] Error 2
>>
> 
> I haven't seen this type of problem, and unfortunately I know
> zero about libtool. :(

Running autoreconf in the libgfortran directory did the trick. 
Unfortunately, I'm seeing testsuite failures in the C interop testcases. 
   The following error is given in all the cases I looked at:
In file included from /usr/include/math.h:28,
                  from 
/Users/tobi/src/pristine/gcc/testsuite/gfortran.dg/bind_c_dts_driver.c:1:
/usr/include/architecture/i386/math.h: In function '__inline_signbitf':
/usr/include/architecture/i386/math.h:192: error: initializer element is 
not computable at load time
/usr/include/architecture/i386/math.h: In function '__inline_signbitd':
/usr/include/architecture/i386/math.h:193: error: initializer element is 
not computable at load time
/usr/include/architecture/i386/math.h: In function '__inline_signbit':
/usr/include/architecture/i386/math.h:194: error: initializer element is 
not computable at load time

I'll try fixing this later tonight by following the testsuite manual's 
recommendation of not including system headers, but instead writing the 
required prototypes explicitly.

I couldn't see a ChangeLog on the fortran-experiments branch, where's it?

- Tobi



More information about the Fortran mailing list