Message150888
> on linux the underlying functionality is implemented in librt; the extension doesn't check for this or links with -lrt.
The changeset 35e4b7c4bafa changed configure.in to check clock_gettime(). It checks without and with librt:
7.7 +AC_CHECK_FUNCS(clock_gettime, [], [
7.8 + AC_CHECK_LIB(rt, clock_gettime, [
7.9 + AC_DEFINE(HAVE_CLOCK_GETTIME, 1)
7.10 + AC_DEFINE(TIMEMODULE_LIB, [rt],
7.11 + [Library needed by timemodule.c: librt may be needed for clock_gettime()])
7.12 + ])
7.13 +])
wallclock-3.patch checks for HAVE_CLOCK_GETTIME, which does use librt in its test (see above). |
|
Date |
User |
Action |
Args |
2012-01-08 18:18:53 | vstinner | set | recipients:
+ vstinner, doko, belopolsky, pitrou, kristjan.jonsson, eric.araujo, brian.curtin, glenn, anacrolix, python-dev, martin.panter |
2012-01-08 18:18:53 | vstinner | set | messageid: <1326046733.87.0.172346677278.issue10278@psf.upfronthosting.co.za> |
2012-01-08 18:18:53 | vstinner | link | issue10278 messages |
2012-01-08 18:18:53 | vstinner | create | |
|