From fe6f342de963a55f565dfdbb7de20d29977b4ad1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 4 Aug 2012 15:23:50 -0700 Subject: llvm2.8: Fix build break discovred by unanchored regexp fix in bitbake commit 23bd5300b4a99218a15f4f6b0ab4091d63a602a5 fixed a bug in bitbake which exposed this latent problem where we were using EXTRA_OECMAKE_append-arm it was being treated as EXTRA_OECMAKE_append before the above mentioned fix and hence all was fine but after this fix behavior changed and it was just EXTRA_OECMAKE_append-arm and was causing build breaks | ../../lib/libLLVMTransformUtils.so: undefined reference to `llvm::CallGraphNode::removeCallEdgeFor(llvm::CallSite)' | ../../lib/libLLVMTransformUtils.so: undefined reference to `llvm::CallGraph::getOrInsertFunction(llvm::Function const*)' | ../../lib/libLLVMTransformUtils.so: undefined reference to `llvm::CallGraphLinkVar' | ../../lib/libLLVMScalarOpts.so: undefined reference to `llvm::createInstructionCombiningPass()' | collect2: error: ld returned 1 exit status | make[2]: *** [bin/llc] Error 1 | make[2]: Leaving directory `/work/yocto/poky/build/tmp/work/x86_64-poky-linux/llvm2.8-2.8-r2.1/llvm-2.8/build' | make[1]: *** [tools/llc/CMakeFiles/llc.dir/all] Error 2 | make[1]: *** Waiting for unfinished jobs.... It also fixes the llvm-mc build for arm architecture modified for INC-PR bumped PR Signed-off-by: Khem Raj Signed-off-by: Henning Heinold Conflicts: recipes-core/llvm/llvm2.8_2.8.bb --- recipes-core/llvm/llvm2.8/llvm-mc_disable.patch | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 recipes-core/llvm/llvm2.8/llvm-mc_disable.patch (limited to 'recipes-core/llvm/llvm2.8/llvm-mc_disable.patch') diff --git a/recipes-core/llvm/llvm2.8/llvm-mc_disable.patch b/recipes-core/llvm/llvm2.8/llvm-mc_disable.patch deleted file mode 100644 index fddc674..0000000 --- a/recipes-core/llvm/llvm2.8/llvm-mc_disable.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: llvm-2.8/tools/CMakeLists.txt -=================================================================== ---- llvm-2.8.orig/tools/CMakeLists.txt 2010-08-24 11:16:51.000000000 +0200 -+++ llvm-2.8/tools/CMakeLists.txt 2011-12-21 16:47:47.718508763 +0100 -@@ -14,7 +14,6 @@ - add_subdirectory(opt) - add_subdirectory(llvm-as) - add_subdirectory(llvm-dis) --add_subdirectory(llvm-mc) - - add_subdirectory(llc) - add_subdirectory(llvm-ranlib) -- cgit v1.2.3-54-g00ecf