<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:1101.debian@gmail.com" title="AlexDenisov <1101.debian@gmail.com>"> <span class="fn">AlexDenisov</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [OrcJIT] Incorrect symbol resolution of libc function addresses on MacOS"
   href="https://bugs.llvm.org/show_bug.cgi?id=35371">bug 35371</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [OrcJIT] Incorrect symbol resolution of libc function addresses on MacOS"
   href="https://bugs.llvm.org/show_bug.cgi?id=35371#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [OrcJIT] Incorrect symbol resolution of libc function addresses on MacOS"
   href="https://bugs.llvm.org/show_bug.cgi?id=35371">bug 35371</a>
              from <span class="vcard"><a class="email" href="mailto:1101.debian@gmail.com" title="AlexDenisov <1101.debian@gmail.com>"> <span class="fn">AlexDenisov</span></a>
</span></b>
        <pre>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!</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>