[LLVMbugs] [Bug 8703] New: Can't compile test code using unwind.h
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 29 01:05:23 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8703
Summary: Can't compile test code using unwind.h
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ismail at namtrac.org
CC: llvmbugs at cs.uiuc.edu
[~]> clang -v
clang version 2.9 (trunk 120281)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[~]> cat test.c
#include <unwind.h>
int main ()
{
struct _Unwind_Exception exc;
struct _Unwind_Context *context;
_Unwind_GetCFA (context);
return 0;
}
[~]> clang test.c
In file included from test.c:1:
/usr/lib64/gcc/x86_64-suse-linux/4.5/include/unwind.h:43:46: error: unknown
machine mode '__unwind_word__'
typedef unsigned _Unwind_Word __attribute__((__mode__(__unwind_word__)));
^
/usr/lib64/gcc/x86_64-suse-linux/4.5/include/unwind.h:44:45: error: unknown
machine mode '__unwind_word__'
typedef signed _Unwind_Sword __attribute__((__mode__(__unwind_word__)));
^
2 errors generated.
--
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