[LLVMbugs] [Bug 4308] New: clang: add support for -m32
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Jun 3 06:26:53 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4308
Summary: clang: add support for -m32
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Blocks: 4068
This is needed to build the ACPI/realmode code for a 64-bit Linux kernel.
Currently clang does this:
clang: warning: argument unused during compilation: '-m32'
/tmp/cc-j5tdcX.s: Assembler messages:
/tmp/cc-j5tdcX.s:40: Error: bad register name `%r15'
/tmp/cc-j5tdcX.s:41: Error: bad register name `%r14'
/tmp/cc-j5tdcX.s:42: Error: bad register name `%rbx'
/tmp/cc-j5tdcX.s:43: Error: bad register name `%rip)'
/tmp/cc-j5tdcX.s:46: Error: bad register name `%rip)'
/tmp/cc-j5tdcX.s:51: Error: bad register name `%r14d'
/tmp/cc-j5tdcX.s:52: Error: bad register name `%r15d'
/tmp/cc-j5tdcX.s:55: Error: bad register name `%rbx)'
/tmp/cc-j5tdcX.s:56: Error: bad register name `%rbx'
/tmp/cc-j5tdcX.s:57: Error: bad register name `%rbx'
/tmp/cc-j5tdcX.s:65: Error: bad register name `%r15d'
/tmp/cc-j5tdcX.s:87: Error: bad register name `%r14d'
/tmp/cc-j5tdcX.s:109: Error: bad register name `%rip)'
/tmp/cc-j5tdcX.s:120: Error: bad register name `%rip)'
/tmp/cc-j5tdcX.s:126: Error: bad register name `%rip)'
/tmp/cc-j5tdcX.s:131: Error: bad register name `%rbx'
/tmp/cc-j5tdcX.s:132: Error: bad register name `%r14'
/tmp/cc-j5tdcX.s:133: Error: bad register name `%r15'
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list