<div dir="ltr">Sorry for the breakage. The cmake failure was fixed in r238096 and I intend to remove the dependence on CodeGen in another patch.<div><br></div><div><div class="gmail_extra"><div class="gmail_quote">On Sat, May 23, 2015 at 4:35 AM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Rafael, Akira,<br>
<br>
Going back the commits, maybe you reverted a bit too much of<br>
TargetOptions in r238076? Or maybe added it the wrong way in r238080?<br>
<br>
cheers,<br>
--renato<br>
<div><div><br>
On 23 May 2015 at 12:02, Renato Golin <<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>> wrote:<br>
> Hi,<br>
><br>
> I have a debug build with shared libraries (to reduce compilation<br>
> time), but since yesterday, it's failing with an ExecutionEngine<br>
> error:<br>
><br>
> FAILED: : && /usr/lib/ccache/bin/c++ -fPIC -fPIC<br>
> -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter<br>
> -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic<br>
> -Wno-long-long -Wno-maybe-uninitialized -Wno-comment -std=c++11 -g<br>
> -Wl,-z,defs -shared -Wl,-soname,libLLVMExecutionEngine.so.3.7 -o<br>
> lib/libLLVMExecutionEngine.so.3.7.0svn<br>
> lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/ExecutionEngine.cpp.o<br>
> lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/ExecutionEngineBindings.cpp.o<br>
> lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/GDBRegistrationListener.cpp.o<br>
> lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/SectionMemoryManager.cpp.o<br>
> lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/TargetSelect.cpp.o<br>
> lib/libLLVMCore.so.3.7.0svn lib/libLLVMMC.so.3.7.0svn<br>
> lib/libLLVMObject.so.3.7.0svn lib/libLLVMRuntimeDyld.so.3.7.0svn<br>
> lib/libLLVMSupport.so.3.7.0svn -Wl,-rpath,"\$ORIGIN/../lib" && :<br>
> lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/ExecutionEngineBindings.cpp.o:<br>
> In function `LLVMCreateMCJITCompilerForModule':<br>
> /home/rengolin/devel/llvm/src/llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp:188:<br>
> undefined reference to `llvm::setFunctionAttributes(llvm::StringRef,<br>
> llvm::StringRef, llvm::TargetOptions const&, llvm::Module&, bool)'<br>
> collect2: error: ld returned 1 exit status<br>
><br>
> This is my CMake command line:<br>
><br>
> cmake -G Ninja $LLVM_SRC -DCMAKE_BUILD_TYPE=Debug<br>
> -DLLVM_BUILD_TESTS=False -DLLVM_INCLUDE_EXAMPLES=False<br>
> -DLLVM_ENABLE_ASSERTIONS=True -DBUILD_SHARED_LIBS=True<br>
> -DLLVM_TARGETS_TO_BUILD="ARM;X86;AArch64"<br>
> -DPYTHON_EXECUTABLE=/usr/bin/python2<br>
><br>
> Static object compilation is unaffected.<br>
><br>
> Any ideas?<br>
><br>
> cheers,<br>
> --renato<br>
</div></div></blockquote></div><br></div></div></div>