<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:anton@korobeynikov.info" title="Anton Korobeynikov <anton@korobeynikov.info>"> <span class="fn">Anton Korobeynikov</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - clang still uses compiler-rt symbols on x86_32 when -nodefaultlibs is being used"
   href="https://llvm.org/bugs/show_bug.cgi?id=28712">bug 28712</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;">CC</td>
           <td>
                
           </td>
           <td>anton@korobeynikov.info
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - clang still uses compiler-rt symbols on x86_32 when -nodefaultlibs is being used"
   href="https://llvm.org/bugs/show_bug.cgi?id=28712#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - clang still uses compiler-rt symbols on x86_32 when -nodefaultlibs is being used"
   href="https://llvm.org/bugs/show_bug.cgi?id=28712">bug 28712</a>
              from <span class="vcard"><a class="email" href="mailto:anton@korobeynikov.info" title="Anton Korobeynikov <anton@korobeynikov.info>"> <span class="fn">Anton Korobeynikov</span></a>
</span></b>
        <pre>This is expected. -nostdlib is an option that forces clang not to pass runtime
libraries to the linker. It does not affect codegeneration at all.

Note that __udivdi3 is a runtime call for 64 bit division. Since there is no
instruction for this on x86-32 you'd need to modify your sources not to use
this. Otherwise there is no way for compiler to support it in other way.
Naturally, it's not an issue on x86_32.</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>