[LLVMbugs] [Bug 18463] New: [powerpc-darwin] cpusubtype mismatches between integrated/no-integrated-as

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 13 14:19:17 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18463

            Bug ID: 18463
           Summary: [powerpc-darwin] cpusubtype mismatches between
                    integrated/no-integrated-as
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: iains-llvm at btconnect.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140113/80bc141c/attachment.html>


More information about the llvm-bugs mailing list