<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [powerpc-darwin] cpusubtype mismatches between integrated/no-integrated-as"
   href="http://llvm.org/bugs/show_bug.cgi?id=18463">18463</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[powerpc-darwin] cpusubtype mismatches between integrated/no-integrated-as
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: PowerPC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fang@csl.cornell.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>iains-llvm@btconnect.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Object files written by the integrated-as get a different CPU subtype than
using no-integrated-as.  

% otool -h
gcc40-stage2-build/lib/Support/CMakeFiles/LLVMSupport.dir/IsNAN.cpp.o
gcc40-stage2-build/lib/Support/CMakeFiles/LLVMSupport.dir/IsNAN.cpp.o:
Mach header
      magic cputype cpusubtype   filetype ncmds sizeofcmds      flags
 0xfeedface      18         10          1     3        364 0x00002000

% otool -h
gcc40-stage2-intas-build/lib/Support/CMakeFiles/LLVMSupport.dir/IsNAN.cpp.o
gcc40-stage2-intas-build/lib/Support/CMakeFiles/LLVMSupport.dir/IsNAN.cpp.o:
Mach header
      magic cputype cpusubtype   filetype ncmds sizeofcmds      flags
 0xfeedface      18          0          1     3        364 0x00002000

-----------------------------^ here

Is this perhaps related to the .machine directive in AsmParser?

Once we get this to match, I can do a direct object comparison between stage-2
with/without integrated-as.</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>