public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/61758] New: std::chrono::steady_clock::now() no longer exported
@ 2014-07-09  9:25 Martin.vGagern at gmx dot net
  2014-07-09 10:16 ` [Bug libstdc++/61758] " Martin.vGagern at gmx dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Martin.vGagern at gmx dot net @ 2014-07-09  9:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61758

            Bug ID: 61758
           Summary: std::chrono::steady_clock::now() no longer exported
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Martin.vGagern at gmx dot net

Between 4.8.0 and 4.8.1, SVN commit 199331 changed the implementation of
compatibility-chrono.cc. Up to that point, it basically included chrono.cc
which provided implementations for system_clock and steady_clock, but bound
them to specific symbol versions. That commit changes the approach to make use
of an inline namespace, which is certainly more portable. The compatibility
implementation was modified to no longer include chrono.cc but instead
duplicate part of its functionality.

And therein lies the rub: only PART of the implementation has been copied to
the compatibility file. Now system_clock is included there, but steady_clock is
not. Which causes ABI breakage, as observed in https://bugs.gentoo.org/513386.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-21 11:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09  9:25 [Bug libstdc++/61758] New: std::chrono::steady_clock::now() no longer exported Martin.vGagern at gmx dot net
2014-07-09 10:16 ` [Bug libstdc++/61758] " Martin.vGagern at gmx dot net
2014-07-09 11:40 ` redi at gcc dot gnu.org
2014-07-09 11:49 ` jakub at gcc dot gnu.org
2014-07-09 12:40 ` Martin.vGagern at gmx dot net
2014-07-09 13:01 ` redi at gcc dot gnu.org
2014-12-21 11:06 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).