This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [libgfortran, 4.6] Don't use clock_gettime on Tru64 UNIX (PR fortran/47571)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 17 Mar 2011 11:41:53 +0100
- Subject: Re: [libgfortran, 4.6] Don't use clock_gettime on Tru64 UNIX (PR fortran/47571)
- References: <yddr5a6oxj7.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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