[LLVMbugs] [Bug 1124] NEW: CBE Fails On Linux if __sigsetjmp used
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Jan 19 19:15:41 CST 2007
http://llvm.org/bugs/show_bug.cgi?id=1124
Summary: CBE Fails On Linux if __sigsetjmp used
Product: libraries
Version: 1.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: C
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rspencer at x10sys.com
gcc Output/400.perlbench.cbe.c -lm -O3 -fno-strict-aliasing -O2 -fno-inline
-o Output/400.perlbench.cbe
Output/400.perlbench.cbe.c:2274: error: conflicting types for â__sigsetjmpâ
/usr/include/setjmp.h:58: error: previous declaration of â__sigsetjmpâ was here
Output/400.perlbench.cbe.c:2291: error: conflicting types for âsiglongjmpâ
/usr/include/setjmp.h:109: error: previous declaration of âsiglongjmpâ was here
This is occurring because the program defines __sigsetjmp one way but it is also
defined in setjmp.h, differently. The CBE needs to include setjmp.h for its own
uses. Perhaps the thing to do is have the CBE just emit the declarations it
needs and not include setjmp.h.
This appears to be a Linux specific problem.
This is currently causing failures for:
External/SPEC/CINT2006/400.perlbench
External/SPEC/CINT2006/403.gcc
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the LLVMbugs
mailing list