[llvm-bugs] [Bug 46779] libomp.dll fails to link when using clang-cl to compile: kmp_ftn_cdecl.cpp.obj : fatal error LNK1143: invalid or corrupt file: no symbol for COMDAT section 0x4A

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 27 04:19:26 PDT 2020


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

Hans Wennborg <hans at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Hans Wennborg <hans at chromium.org> ---
(In reply to Martin Storsjö from comment #6)
> Fix posted at https://reviews.llvm.org/D84507.

That landed as 9e81d8bbf19d72fca3d87b7334c613d1aa2a5795 and was cherry-picked
to 11.x as f3a043717d265105ab854c5f84ec03c2f67d9a63

> 
> This setup did reveal another issue wrt mingw style associative comdats in
> combination with weak symbols, when the actual leader symbol isn't named
> func but .weak.func.default in these cases. I'm looking at ways of fixing
> that as well (as a general headsup re potentially getting the fix for that
> into the release as well).

That's https://reviews.llvm.org/D84607

I've put it on my release work-list, but let's close this bug for now.

-- 
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/20200727/4894165a/attachment.html>


More information about the llvm-bugs mailing list