http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59177
Andy Lutomirski <luto at mit dot edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.9.0 |4.8.3
--- Comment #5 from Andy Lutomirski <luto at mit dot edu> ---
Aha. I think the issue is only in 4.8. libstdc++-v3/configure.ac says:
# For clock_gettime, nanosleep and sched_yield support.
# NB: The default is [no], because otherwise it requires linking.
GLIBCXX_ENABLE_LIBSTDCXX_TIME([no])
Aside from the typo in the comment (the end of the sentence seems to have
disappeared), I'm still confused. Even in the 4.8 branch,
enable_libstdcxx_time=yes doesn't appear to link in librt; only
enable_libstdcxx_time=rt seems to have that effect.
(Please accept my apologies if I'm just completely confused about how autoconf
works here.)