[LLVMbugs] [Bug 1852] New: GCC 4.0 front end won't build for a target that doesn' t support DWARF exception handling
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Dec 10 06:43:41 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1852
Summary: GCC 4.0 front end won't build for a target that doesn't
support DWARF exception handling
Product: libraries
Version: 2.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jay.foad at antixlabs.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1283)
--> (http://llvm.org/bugs/attachment.cgi?id=1283)
patch
(I couldn't find a bugzilla product/component for the GCC front end.)
When building the GCC 4.0 front end for LLVM 2.1, configured for a proprietary
target that doesn't support DWARF debug info or exception handling, I got this:
.../gcc/llvm-convert.cpp: In member function ‘bool
TreeToLLVM::EmitBuiltinEHReturnDataRegno(tree_node*, llvm::Value*&)’:
.../gcc/llvm-convert.cpp:4749: error: ‘EH_RETURN_DATA_REGNO’ was not
declared in this scope
.../gcc/llvm-convert.cpp: In member function ‘bool
TreeToLLVM::EmitBuiltinInitDwarfRegSizes(tree_node*, llvm::Value*&)’:
.../gcc/llvm-convert.cpp:4811: error: ‘DWARF_FRAME_RETURN_COLUMN’ was not
declared in this scope
.../gcc/llvm-convert.cpp:4828: error: ‘DWARF_FRAME_RETURN_COLUMN’ was not
declared in this scope
make: *** [llvm-convert.o] Error 1
I've attached an obvious patch to fix this.
--
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