<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:aykevanlaethem@gmail.com" title="Ayke van Laethem <aykevanlaethem@gmail.com>"> <span class="fn">Ayke van Laethem</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - [AVR] uint32_t is incorrectly compiled to i16"
   href="https://bugs.llvm.org/show_bug.cgi?id=39210">bug 39210</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;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - [AVR] uint32_t is incorrectly compiled to i16"
   href="https://bugs.llvm.org/show_bug.cgi?id=39210#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - [AVR] uint32_t is incorrectly compiled to i16"
   href="https://bugs.llvm.org/show_bug.cgi?id=39210">bug 39210</a>
              from <span class="vcard"><a class="email" href="mailto:aykevanlaethem@gmail.com" title="Ayke van Laethem <aykevanlaethem@gmail.com>"> <span class="fn">Ayke van Laethem</span></a>
</span></b>
        <pre>Yeah, I was just about to post a comment saying I found the issue (that it
includes /usr/include/stdint.h from the host).

With -nostdlibinc this problem appears to be fixed. Maybe it's an idea to add
this option to <a href="https://clang.llvm.org/docs/CrossCompilation.html">https://clang.llvm.org/docs/CrossCompilation.html</a>?

Offtopic: with this extra flag most of compiler-rt compiles (some files still
report an invalid shift count), however it doesn't seem to work well and not
all required functions are implemented so I'll keep using libgcc for now.</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>