[llvm-bugs] [Bug 35371] [OrcJIT] Incorrect symbol resolution of libc function addresses on MacOS

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 7 23:51:39 PST 2019


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

AlexDenisov <1101.debian at gmail.com> changed:

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

--- Comment #3 from AlexDenisov <1101.debian at gmail.com> ---
Hi Lang,

That's a good hint :)
I compile files without any flags:

  clang -c main.c

while enabling large code model explicitly does the job:

  clang -mcmodel=large -c main.c

I am closing the issue, the workaround is good enough!

-- 
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/20190208/8a0c29e2/attachment.html>


More information about the llvm-bugs mailing list