[libgfortran, 4.6] Don't use clock_gettime on Tru64 UNIX (PR fortran/47571)

Jakub Jelinek jakub@redhat.com
Thu Mar 17 10:42:00 GMT 2011


On Thu, Mar 17, 2011 at 11:23:56AM +0100, Rainer Orth wrote:
> The conditional use of clock_gettime via weakrefs completely broke
> Fortran on Tru64 UNIX: while the function is available in librt, the
> platform doesn't support weakrefs, so every execution test fails due to
> the undefined symbol.  While a proper patch is being tested for mainline
> (to be backported to 4.6.1), I'd like to get this workaround into the
> 4.6 branch.
> 
> alpha-dec-osf5.1b bootstrap on the branch is still running, but so far
> only a few fortran tests fail (as they did before) and not all
> execution tests.
> 
> Already approved by Janne Blomqvist in the PR, provided the RMs agree.
> 
> Jakub, ok for the 4.6 branch once the bootstrap has finished
> successfully?

Ok, but for 4.6.1 and 4.7 please revert it and apply the real fix.

> 2011-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
> 
> 	PR fortran/47571
> 	* intrinsics/system_clock.c [__alpha__ && __osf__]
> 	(HAVE_CLOCK_GETTIME): Undef.

	Jakub



More information about the Gcc-patches mailing list