[llvm-bugs] [Bug 38026] Link error about __atomic_* when -fopenmp enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 23 11:32:13 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38026

Jonas Hahnfeld <hahnjo at hahnjo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hahnjo at hahnjo.de
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #4 from Jonas Hahnfeld <hahnjo at hahnjo.de> ---
Reverted in r337722. This basically meant that Linux systems without libatomic
couldn't use OpenMP anymore.

https://clang.llvm.org/docs/Toolchain.html#libatomic-gnu explains that Clang
expects the user to link -latomic. We should discuss if this default can be
changed while not regressing the current OpenMP support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180723/5b031c44/attachment.html>


More information about the llvm-bugs mailing list