izumariu / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

Error during compilation of LLVM in fedora 12 #199

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am compiling LLVM in fedora 12, below is the error i got

In file included from /root/llvm-svn/include/llvm/Function.h:22,
                 from /root/llvm-svn/include/llvm/Module.h:17,
                 from ExecutionEngine.cpp:18:
/root/llvm-svn/include/llvm/BasicBlock.h:96: warning: type qualifiers
ignored on function return type
ExecutionEngine.cpp: In static member function ‘static
llvm::ExecutionEngine* llvm::ExecutionEngine::create(llvm::ModuleProvider*,
bool, std::string*)’:
ExecutionEngine.cpp:310: error: exception handling disabled, use
-fexceptions to enable
ExecutionEngine.cpp: In member function ‘void
llvm::ExecutionEngine::LoadValueFromMemory(llvm::GenericValue&,
llvm::GenericValue*, const llvm::Type*)’:
ExecutionEngine.cpp:703: warning: the address of ‘x’ will always evaluate
as ‘true’
make[2]: *** [/root/llvm-svn/lib/ExecutionEngine/Release/ExecutionEngine.o]
Error 1
make[2]: Leaving directory `/root/llvm-svn/lib/ExecutionEngine'
make[1]: *** [ExecutionEngine/.makeinstall] Error 2
make[1]: Leaving directory `/root/llvm-svn/lib'
make: *** [install] Error 1

Any suggestion?

Original issue reported on code.google.com by alforl...@hotmail.com on 18 Apr 2010 at 9:32