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 driver/81358] libatomic not automatically linked with C11 code


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

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
See what I said in 
<https://gcc.gnu.org/ml/gcc-patches/2013-11/msg02605.html> - I think 
linking --as-needed -latomic --no-as-needed makes sense by default when 
--as-needed is supported.  The problem would be any platforms where (a) 
there is no --as-needed support, but (b) shared libraries are supported 
and linking with a shared library introduces a dependency into the binary 
even if no symbols from that shared library are used.

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