This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65913] Linking failure without -latomic
- From: "hp at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 May 2015 01:52:45 +0000
- Subject: [Bug libstdc++/65913] Linking failure without -latomic
- Auto-submitted: auto-generated
- References: <bug-65913-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65913
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hp at gcc dot gnu.org
--- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to yan12125 from comment #3)
> Sorry, but I don't quite understand. Does that mean for all the future
> versions (5.2, 6.0, etc.) -latomic flag is necessary if
> atomic<T>::is_lock_free() is used in my program?
>From my reading of the comments, the patch and current svn sources, the answer
is "no". I'm guessing sooner or later the proposed patch will also be posted
to the gcc-patches@ list and promptly reviewed and committed. Then hopefully
back-ported in time for 5.2. But that's just a guess.