[llvm-bugs] [Bug 31423] New: PowerPC64: clang should pass CPU target to as when using -no-integrated-as

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 18 12:44:52 PST 2016


            Bug ID: 31423
           Summary: PowerPC64: clang should pass CPU target to as when
                    using -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: anton at samba.org
                CC: amehsan at ca.ibm.com, hfinkel at anl.gov,
                    kbarton at ca.ibm.com, llvm-bugs at lists.llvm.org,
                    nemanja.i.ibm at gmail.com
    Classification: Unclassified

Kernel compiles have started failing as of Linux kernel commit:


which changed an open coded two argument tlbiel to an instruction. gas has
supported the two argument form of tlbiel for ages, the issue is we are calling
gas without a CPU target:

/usr/bin/as -a64 -mppc64 -many -mlittle-endian -o foo.o

This is likely to cause other issues, such as incorrect branch prediction


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/20161218/8ffb2110/attachment.html>

More information about the llvm-bugs mailing list