[LLVMbugs] [Bug 8594] New: Integrated assembler doesn't like ".section .note.GNU-stack, "", %progbits"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Nov 12 04:12:28 PST 2010
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: unassignedclangbugs at nondot.org
ReportedBy: hans at chromium.org
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list