On Sat, Sep 17, 2011 at 11:42 AM, Edward Meewis <span dir="ltr"><<a href="mailto:ed@extraordinarymachine.nl">ed@extraordinarymachine.nl</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I noticed that the following regression tests fail when building a<br>
config generated with CMake. When building with a config generated with<br>
configure, all is well. I get the same results when using gcc-4.2.1 and<br>
clang-trunk.<br>
It seems to me that there's a glitch in de CMake config somewhere. I<br>
doing a verbose build right now to investigate, but maybe someone<br>
already knows what's wrong?<br>
<br>
Regards, Edward<br>
---<br>
<br>
Failing Tests (7):<br>
     LLVM :: BugPoint/crash-narrowfunctiontest.ll<br>
     LLVM :: BugPoint/metadata.ll<br>
     LLVM :: BugPoint/remove_arguments_test.ll<br>
     LLVM :: Feature/load_module.ll<br>
<br>
Error opening '/home/emeewis/build/llvm-release-clang-cmake/lib/./BugpointPasses.so': /home/emeewis/build/llvm-release-clang-cmake/lib/./BugpointPasses.so: Undefined symbol "_ZNK4llvm4Pass11getPassNameEv"<br>


   -load request ignored.<br>
<br>
  LLVM-Unit :: ExecutionEngine/JIT/Release/JITTests/JITTest.AvailableExternallyFunctionIsntCompiled<br>
<br>
LLVM ERROR: Program used external function 'JITTest_AvailableExternallyFunction' which could not be resolved!<br>
<br>
  LLVM-Unit :: ExecutionEngine/JIT/Release/JITTests/JITTest.AvailableExternallyGlobalIsntEmitted<br>
<br>
LLVM ERROR: Could not resolve external global address: JITTest_AvailableExternallyGlobal<br>
<br>
     LLVM-Unit :: ExecutionEngine/JIT/Release/JITTests/LazyLoadedJITTest.MaterializableAvailableExternallyFunctionIsntCompiled<br>
<br>
LLVM ERROR: Program used external function 'JITTest_AvailableExternallyFunction' which could not be resolved!<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br>It's weird linker problem and i'm observing it as well. Haven't tried to solve it, though.<br>