Richard Pennington <[email protected]> writes: > I recently switched over to using cmake to build my clang/LLVM based > ELLCC cross development project (http://ellcc.org). I also recently > updated to LLVM svn version 258915 from 258477. > > I use ELLCC to cross compile all the tools for various Linux targets > and for Windows. Yesterday, after updating the LLVM sources, I got the > following error when cross building for MinGW: > > [ 3%] Built target LLVMSupport > [ 3%] Built target LLVMTableGen > [ 4%] Built target obj.llvm-tblgen > [ 4%] Linking CXX executable ../../bin/llvm-tblgen
AFAIR tblgen is special when cross-compiling because a native build of that tool is spawned from the main build. Please make sure that the LLVM CMake script correctly detects that it is a cross-compile build (look for a directory named "native" in the CMAKE_BINARY_DIR of your build.) That native tblgen should build before the cross-compiled one. Something you can try is to diff the two revisions and see if there are changes to the CMake scripts related to tblgen or cross-compiling. It would be a good idea to start a fresh build in case you are using a pre-configured directory of a previous build. [snip] ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
