[LLVMbugs] [Bug 4132] New: clang: wrong preprocessing of .S file: Error: invalid character '%' in mnemonic

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun May 3 03:16:54 PDT 2009


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

           Summary: clang: wrong preprocessing of .S file: Error: invalid
                    character '%' in mnemonic
           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


Created an attachment (id=2924)
 --> (http://llvm.org/bugs/attachment.cgi?id=2924)
clang -E

arch/x86/crypto/aes-x86_64-asm_64.S:190: Error: invalid character '%' in
mnemonic

clang -MD -MF arch/x86/crypto/.aes-x86_64-asm_64.o.d  -nostdinc -isystem
include -Iinclude  -I/home/edwin/builds/linux-2.6/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -D__ASSEMBLY__ -m64 -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iarch/x86/include/asm/mach-default    -DMODULE
-c -o arch/x86/crypto/aes-x86_64-asm_64.o arch/x86/crypto/aes-x86_64-asm_64.S
-E -o x.s

gcc -MD -MF arch/x86/crypto/.aes-x86_64-asm_64.o.d  -nostdinc -isystem
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/include -Iinclude 
-I/home/edwin/builds/linux-2.6/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -D__ASSEMBLY__ -m64 -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iarch/x86/include/asm/mach-default    -DMODULE 
arch/x86/crypto/aes-x86_64-asm_64.S -E -o y.s

clang's x.s is not compilable by gcc -c, but gcc's y.s is compilable by clang.

I'm attaching preprocessed files, however clang's preprocessed file is invalid
in this case i think.


-- 
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