http://llvm.org/bugs/show_bug.cgi?id=8594
Summary: Integrated assembler doesn't like ".section
.note.GNU-stack,"",%progbits"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The following fails to build on Linux with the integrated assembler (Clang
built from trunk, r118889):
.globl icudt42_dat
.section .note.GNU-stack,"",%progbits
.section .rodata
.align 8
.type icudt42_dat,%object
$ clang -c a.s
a.s:2:37: error: expected the type
.section .note.GNU-stack,"",%progbits
^
a.s:5:27: error: expected '@' before type
.type icudt42_dat,%object
But it works with gcc (Ubuntu 4.4.3-4ubuntu5). Passing -no-integrated-as to
Clang also works.
(This blocks the Chromium/Clang build on Linux. The real .s file is here:
http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/icu42/linux/icudt42l_dat.s)
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs