[LLVMbugs] [Bug 12180] New: fatal error 'cmath' file not found when building llvm for vmkit

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 4 10:17:02 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=12180

             Bug #: 12180
           Summary: fatal error 'cmath' file not found when building llvm
                    for vmkit
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: benignbala at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I wanted to try out llvm-vmkit and followed the steps at this link:
http://vmkit.llvm.org/get_started.html

After checking out llvm and clang, I did a ./configure and make. I get these
errors. /home/ganapathy/projects/llvm is the svn trunk check out. Pasting the
errors below.


In file included from Atomic.cpp:14:
In file included from
/home/ganapathy/projects/llvm/include/llvm/Support/Atomic.h:17:
/home/ganapathy/projects/llvm/include/llvm/Support/DataTypes.h:37:10: fatal
error: 'cmath' file not found
#include <cmath>
         ^
1 error generated.
make[1]: ***
[/home/ganapathy/projects/llvm/lib/Support/Release+Asserts/Atomic.o] Error 1
make[1]: Leaving directory `/home/ganapathy/projects/llvm/lib/Support'
make: *** [all] Error 1


PS: Since this is a fatal build error, I am setting it to release blocker
severity. Not sure how this project uses severity. Thanks

-- 
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