http://llvm.org/bugs/show_bug.cgi?id=6987
Summary: Missing builtins prevent compiling <cmath> in g++
4.4.3
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Compiling <cmath> on g++ 4.4.3 requires the intrinsics:
__builtin_isfinite
__builtin_fpclassify
__builtin_isfinite is, I hope, self-explanitory. __builtin_fpclassify is
exactly what is required to implement fpclassify.
If you have trouble reproducing this, make sure your 'bits' directory is set up
correctly. In 4.4 it includes:
#define _GLIBCXX_USE_C99_MATH 1
#define _GLIBCXX_USE_C99_MATH_TR1 1
I discovered this as it also blocks boost on my system, which uses <cmath> in
some places.
--
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