<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin &lt;renato.golin&#64;linaro.org&gt;"> <span class="fn">Renato Golin</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED INVALID - Auto-detect CPU on native compilation" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24326&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=U_MYDZDG-4Xa2Fklt7UmPrYgWF10TVRVuh-3iJvfgjo&s=DYpP3jppZES5MR4lqFEhmRZNmkLMlnybR-UdIqroAU0&e=">bug 24326</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>ASSIGNED
           </td>
           <td>RESOLVED
           </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 - Auto-detect CPU on native compilation" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24326-23c7&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=U_MYDZDG-4Xa2Fklt7UmPrYgWF10TVRVuh-3iJvfgjo&s=UocEEsPHxMSpDesG2nlSP5gJuFQHLk5AAOeCvU92lQ0&e=">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED INVALID - Auto-detect CPU on native compilation" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24326&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=U_MYDZDG-4Xa2Fklt7UmPrYgWF10TVRVuh-3iJvfgjo&s=DYpP3jppZES5MR4lqFEhmRZNmkLMlnybR-UdIqroAU0&e=">bug 24326</a>
              from <span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin &lt;renato.golin&#64;linaro.org&gt;"> <span class="fn">Renato Golin</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=24326#c6">comment #6</a>)
<span class="quote">> When we build on x86, the default targets for i386 and x86-64 are the
> lowest-common-denominator versions of these platforms.  No detected features
> of the host CPU are used without -march=native and the generated binary is
> expected to run on any i386 or x86-64 CPU.  If we set -match=i686 in CFLAGS
> and some build systems ignore it, then this results in slightly suboptimal
> builds, but not in broken packages.</span >

Good point.


<span class="quote">> If we're building for ARMv6, we want ARMv6 binaries that will run on any
> ARMv6 or newer CPU, not whatever the host happens to be.</span >

That's not exactly true with Clang (v8A has NEON by default). But that's for
another discussion.


<span class="quote">> In addition, deterministic builds are increasingly important for package
> verification and we don't want *anything* other than explicit arguments
> passed to the compiler to affect the binary contents.  Some things are
> unavoidable there, but let's not introduce more.</span >

Yes, that's the best point against my proposal, so I'm marking this bug as
invalid.

Thanks!</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>