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: [Patch, libfortran] PR 47571 Fix static linking regression


On 02/01/2011 10:12 PM, Janne Blomqvist wrote:
Regtested on x86_64-unknown-linux-gnu, tested a simple program to
ensure usage of clock_gettime() or gettimeofday() depending on whether
librt is linked. Ok for trunk?

OK. Thanks for the patch - and watch out for failures on Darwin.


Tobias

2011-02-01 Janne Blomqvist<jb@gcc.gnu.org>

	PR libfortran/47571
	* configure: Regenerated.
	* configure.ac: Don't add librt to LIBS.
	* intrinsics/time_1.h (weak_gettime): Weakref trickery for
	clock_gettime().
	(gf_gettime): Use weak_gettime() instead of clock_gettime().




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