[Bug fortran/47571] [4.6/4.7 Regression] undefined reference to clock_gettime in Linux build of 02/01/2011

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Wed Mar 16 12:03:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571

--- Comment #42 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-16 11:58:25 UTC ---
> --- Comment #41 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-03-15 20:38:18 UTC ---
> (In reply to comment #37)
>> #if defined(__alpha__) && defined(__osf__)
>> #undef HAVE_CLOCK_GETTIME
>> #endif
>> 
>> or some configure.ac equivalent.  Ugly but still better than completely
>> breaking Fortran.
>
> Thinking about this some more, while the above is ugly it should at least be
> safe. Please consider it approved from my part for 4.6; if you get approval
> from the release manager, please commit it.

Regtest in progress, will submit and Cc: a RM once this has finished.

> I'll regtest and submit my patch to review for trunk, and backport to the 4.6
> branch after it has been in trunk for a while; I suspect this won't make the
> 4.6 release and will thus have to wait for 4.6.1. Hence your patch is a usable
> compromise for 4.6.0.

Thanks, that's all I'm asking for :-)

    Rainer



More information about the Gcc-bugs mailing list