This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/65913] Linking failure without -latomic


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.


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