From: alxx <al...@al...> - 2011-08-01 03:37:56
|
Any fixes for not being able to build llvm2.7-native-2.7 ? Need to get a few different java vm's built (student use) (apparently prebuilt packages won't do) On fedora 15 x86_64 with gcc 4.6 | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/FoldingSet.h:20:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Support/APInt.cpp:18: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/SmallVector.h:110:11: error: 'ptrdiff_t' does not name a type | make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/SymbolTableListTraits.h:28:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:18, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:23, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy, Traits>::begin() [with NodeTy = llvm::Argument, Traits = llvm::ilist_traits<llvm::Argument>, llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<llvm::Argument>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:358:31: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:358:25: error: no matching function for call to 'llvm::ilist_iterator<llvm::Argument>::ilist_iterator(llvm::Argument*&)' Full error below Alex [alxx@fed13hp overo]$ bitbake llvm2.7 Loading cache: 100% |############################################################| ETA: 00:00:00 Loaded 7226 entries from dependency cache. NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4-:-- NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez407 NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used00:06 NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough | ETA: 00:00:03 NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez40:02 NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used00:02 NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg | ETA: 00:00:02 NOTE: Angstrom DOES NOT support bash-noemu because doesn't work on the target | ETA: 00:00:01 NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used00:01 NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez40:00 NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez400 Parsing recipes: 100% |##########################################################| Time: 00:00:09 Parsing of 7364 .bb files complete (6598 cached, 766 parsed). 8012 targets, 324 skipped, 2 masked, 0 errors. Build Configuration: BB_VERSION = "1.12.0" METADATA_BRANCH = "overo-2011.03" METADATA_REVISION = "d33b227" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "overo" DISTRO = "angstrom" DISTRO_VERSION = "2011.03" TARGET_FPU = "hard" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing RunQueue Tasks NOTE: Running task 356 of 624 (ID: 10, /home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb, do_setscene) NOTE: Running task 378 of 624 (ID: 227, virtual:native:/home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb, do_compile) NOTE: package llvm2.7-2.7-r9: task do_setscene: Started NOTE: package llvm2.7-native-2.7-r9: task do_compile: Started NOTE: package llvm2.7-2.7-r9: task do_setscene: Succeeded NOTE: Running task 601 of 624 (ID: 8, /home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb, do_fetch) NOTE: package llvm2.7-2.7-r9: task do_fetch: Started NOTE: package llvm2.7-2.7-r9: task do_fetch: Succeeded NOTE: Running task 602 of 624 (ID: 0, /home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb, do_unpack) NOTE: Running task 603 of 624 (ID: 16, /home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb, do_distribute_sources) NOTE: package llvm2.7-2.7-r9: task do_unpack: Started NOTE: package llvm2.7-2.7-r9: task do_distribute_sources: Started NOTE: package llvm2.7-2.7-r9: task do_unpack: Succeeded NOTE: Running task 604 of 624 (ID: 1, /home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb, do_patch) NOTE: package llvm2.7-2.7-r9: task do_patch: Started ERROR: Logfile of failure stored in: /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/temp/log.do_compile.23512 Log data follows: | + do_compile | + cmake_do_compile | + '[' build ']' | + cd build | + base_do_compile | + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']' | + oe_runmake | + oenote make -j 4 | + echo NOTE: 'make -j 4' | NOTE: make -j 4 | + make -j 4 | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -H/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 -B/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build --check-build-system CMakeFiles/Makefile.cmake 0 | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_start /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles/progress.marks | make -f CMakeFiles/Makefile2 all | make[1]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make -f lib/System/CMakeFiles/LLVMSystem.dir/build.make lib/System/CMakeFiles/LLVMSystem.dir/depend | make -f CMakeFiles/NativeTableGen.dir/build.make CMakeFiles/NativeTableGen.dir/depend | make -f lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/build.make lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/depend | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build && /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles/NativeTableGen.dir/DependInfo.cmake --color= | make -f utils/count/CMakeFiles/count.dir/build.make utils/count/CMakeFiles/count.dir/depend | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build && /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/Transforms/Hello /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/DependInfo.cmake --color= | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build && /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/System /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/System /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/System/CMakeFiles/LLVMSystem.dir/DependInfo.cmake --color= | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make -f lib/System/CMakeFiles/LLVMSystem.dir/build.make lib/System/CMakeFiles/LLVMSystem.dir/build | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build && /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/utils/count /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/utils/count /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/utils/count/CMakeFiles/count.dir/DependInfo.cmake --color= | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make[2]: Nothing to be done for `lib/System/CMakeFiles/LLVMSystem.dir/build'. | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles 62 63 64 | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make -f CMakeFiles/NativeTableGen.dir/build.make CMakeFiles/NativeTableGen.dir/build | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make -f lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/build.make lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/build | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles | [ 3%] make -f utils/count/CMakeFiles/count.dir/build.make utils/count/CMakeFiles/count.dir/build | [ 3%] make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | [ 3%] make[2]: Nothing to be done for `utils/count/CMakeFiles/count.dir/build'. | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles | Built target LLVMSystem | make -f lib/Support/CMakeFiles/LLVMSupport.dir/build.make lib/Support/CMakeFiles/LLVMSupport.dir/depend | Configuring native TableGen... | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native && /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -UMAKE_TOOLCHAIN_FILE -DCMAKE_BUILD_TYPE=Release /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 | [ 3%] Built target count | make -f utils/not/CMakeFiles/not.dir/build.make utils/not/CMakeFiles/not.dir/depend | Building CXX object lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/Transforms/Hello && /usr/lib64/ccache/g++ -DLLVMHello_EXPORTS -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fpermissive -fPIC -I/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/include -I/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -o CMakeFiles/LLVMHello.dir/Hello.cpp.o -c /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build && /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/utils/not /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/utils/not /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/utils/not/CMakeFiles/not.dir/DependInfo.cmake --color= | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build && /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7 /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Support /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/Support /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/Support/CMakeFiles/LLVMSupport.dir/DependInfo.cmake --color= | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make -f lib/Support/CMakeFiles/LLVMSupport.dir/build.make lib/Support/CMakeFiles/LLVMSupport.dir/build | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make -f utils/not/CMakeFiles/not.dir/build.make utils/not/CMakeFiles/not.dir/build | make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make[2]: Nothing to be done for `utils/not/CMakeFiles/not.dir/build'. | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles | [ 3%] make[2]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles | Built target not | [ 3%] /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles | Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/Support && /usr/lib64/ccache/g++ -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fpermissive -I/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/include -I/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -o CMakeFiles/LLVMSupport.dir/APFloat.cpp.o -c /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Support/APFloat.cpp | [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/lib/Support && /usr/lib64/ccache/g++ -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fpermissive -I/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/include -I/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -o CMakeFiles/LLVMSupport.dir/APInt.cpp.o -c /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Support/APInt.cpp | -- Target triple: x86_64-unknown-linux-gnu | -- Native target architecture is X86 | -- Threads enabled. | -- Building with -fPIC | -- Targeting Alpha | -- Targeting ARM | -- Targeting Blackfin | -- Targeting CBackend | -- Targeting CellSPU | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/FoldingSet.h:20:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Support/APInt.cpp:18: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/SmallVector.h:110:11: error: 'ptrdiff_t' does not name a type | make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/FoldingSet.h:20:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Support/APFloat.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/SmallVector.h:110:11: error: 'ptrdiff_t' does not name a type | make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 1 | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2 | make[1]: *** Waiting for unfinished jobs.... | -- Targeting CppBackend | -- Targeting Mips | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/PassAnalysisSupport.h:23:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Pass.h:395, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:16: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/SmallVector.h:110:11: error: 'ptrdiff_t' does not name a type | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Value.h:18:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/User.h:22, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Constant.h:17, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/GlobalValue.h:21, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:21, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:118:47: error: 'ptrdiff_t' has not been declared | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:162:58: error: 'ptrdiff_t' was not declared in this scope | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:162:58: note: suggested alternatives: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:162:67: error: template argument 3 is invalid | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:163:61: error: 'ptrdiff_t' was not declared in this scope | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:163:61: note: suggested alternatives: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:163:70: error: template argument 3 is invalid | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:170:20: error: 'super' is not a class or namespace | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Use.h:171:20: error: 'super' is not a class or namespace | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/SymbolTableListTraits.h:28:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:18, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:23, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:143:67: error: 'ptrdiff_t' was not declared in this scope | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:143:67: note: suggested alternatives: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:143:76: error: template argument 3 is invalid | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:148:33: error: 'ptrdiff_t' was not declared in this scope | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:148:33: note: suggested alternatives: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:20: note: 'std::ptrdiff_t' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:148:42: error: template argument 3 is invalid | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:150:20: error: 'super' is not a class or namespace | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:151:20: error: 'super' is not a class or namespace | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:152:20: error: 'super' is not a class or namespace | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:153:20: error: 'super' is not a class or namespace | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:174:3: error: 'llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::reference)' cannot be overloaded | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: error: with 'llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::ilist_iterator<NodeTy>::reference llvm::ilist_iterator<NodeTy>::operator*() const': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:197:13: error: invalid type argument of unary '*' (have 'llvm::ilist_iterator<NodeTy>::pointer') | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/SymbolTableListTraits.h:28:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:18, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:23, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: At global scope: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:344:11: error: 'ptrdiff_t' does not name a type | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy, Traits>::begin() [with NodeTy = llvm::Instruction, Traits = llvm::ilist_traits<llvm::Instruction>, llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<llvm::Instruction>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:174:51: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:358:25: error: no matching function for call to 'llvm::ilist_iterator<llvm::Instruction>::ilist_iterator(llvm::Instruction*&)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:358:25: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = llvm::Instruction] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = llvm::Instruction, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::Instruction*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<llvm::Instruction>::ilist_iterator(const llvm::ilist_iterator<llvm::Instruction>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::Instruction*' to 'const llvm::ilist_iterator<llvm::Instruction>&' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::const_iterator llvm::iplist<NodeTy, Traits>::begin() const [with NodeTy = llvm::Instruction, Traits = llvm::ilist_traits<llvm::Instruction>, llvm::iplist<NodeTy, Traits>::const_iterator = llvm::ilist_iterator<const llvm::Instruction>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:175:63: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:362:31: error: no matching function for call to 'llvm::ilist_iterator<const llvm::Instruction>::ilist_iterator(llvm::Instruction*&)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:362:31: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = const llvm::Instruction] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = const llvm::Instruction, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::Instruction*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<const llvm::Instruction>::ilist_iterator(const llvm::ilist_iterator<const llvm::Instruction>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::Instruction*' to 'const llvm::ilist_iterator<const llvm::Instruction>&' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy, Traits>::end() [with NodeTy = llvm::Instruction, Traits = llvm::ilist_traits<llvm::Instruction>, llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<llvm::Instruction>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:176:48: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:366:30: error: no matching function for call to 'llvm::ilist_iterator<llvm::Instruction>::ilist_iterator(llvm::Instruction*)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:366:30: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = llvm::Instruction] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = llvm::Instruction, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::Instruction*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<llvm::Instruction>::ilist_iterator(const llvm::ilist_iterator<llvm::Instruction>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::Instruction*' to 'const llvm::ilist_iterator<llvm::Instruction>&' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::const_iterator llvm::iplist<NodeTy, Traits>::end() const [with NodeTy = llvm::Instruction, Traits = llvm::ilist_traits<llvm::Instruction>, llvm::iplist<NodeTy, Traits>::const_iterator = llvm::ilist_iterator<const llvm::Instruction>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:177:60: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:370:36: error: no matching function for call to 'llvm::ilist_iterator<const llvm::Instruction>::ilist_iterator(const llvm::Instruction*)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:370:36: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = const llvm::Instruction] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = const llvm::Instruction, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'const llvm::Instruction*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<const llvm::Instruction>::ilist_iterator(const llvm::ilist_iterator<const llvm::Instruction>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'const llvm::Instruction*' to 'const llvm::ilist_iterator<const llvm::Instruction>&' | In file included from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, | from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/vector:61, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Pass.h:35, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:16: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: At global scope: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<llvm::ilist_iterator<const llvm::Instruction> >': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:521:40: instantiated from 'llvm::iplist<NodeTy, Traits>::size_type llvm::iplist<NodeTy, Traits>::size() const [with NodeTy = llvm::Instruction, Traits = llvm::ilist_traits<llvm::Instruction>, llvm::iplist<NodeTy, Traits>::size_type = long unsigned int]' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:179:53: instantiated from here | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:166:53: error: no type named 'iterator_category' in 'class llvm::ilist_iterator<const llvm::Instruction>' | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/SymbolTableListTraits.h:28:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:18, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:23, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy, Traits>::begin() [with NodeTy = llvm::BasicBlock, Traits = llvm::ilist_traits<llvm::BasicBlock>, llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<llvm::BasicBlock>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:341:47: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:358:25: error: no matching function for call to 'llvm::ilist_iterator<llvm::BasicBlock>::ilist_iterator(llvm::BasicBlock*&)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:358:25: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = llvm::BasicBlock] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = llvm::BasicBlock, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::BasicBlock*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<llvm::BasicBlock>::ilist_iterator(const llvm::ilist_iterator<llvm::BasicBlock>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::BasicBlock*' to 'const llvm::ilist_iterator<llvm::BasicBlock>&' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::const_iterator llvm::iplist<NodeTy, Traits>::begin() const [with NodeTy = llvm::BasicBlock, Traits = llvm::ilist_traits<llvm::BasicBlock>, llvm::iplist<NodeTy, Traits>::const_iterator = llvm::ilist_iterator<const llvm::BasicBlock>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:342:59: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:362:31: error: no matching function for call to 'llvm::ilist_iterator<const llvm::BasicBlock>::ilist_iterator(llvm::BasicBlock*&)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:362:31: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = const llvm::BasicBlock] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = const llvm::BasicBlock, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::BasicBlock*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<const llvm::BasicBlock>::ilist_iterator(const llvm::ilist_iterator<const llvm::BasicBlock>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::BasicBlock*' to 'const llvm::ilist_iterator<const llvm::BasicBlock>&' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy, Traits>::end() [with NodeTy = llvm::BasicBlock, Traits = llvm::ilist_traits<llvm::BasicBlock>, llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<llvm::BasicBlock>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:343:44: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:366:30: error: no matching function for call to 'llvm::ilist_iterator<llvm::BasicBlock>::ilist_iterator(llvm::BasicBlock*)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:366:30: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = llvm::BasicBlock] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = llvm::BasicBlock, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::BasicBlock*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<llvm::BasicBlock>::ilist_iterator(const llvm::ilist_iterator<llvm::BasicBlock>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::BasicBlock*' to 'const llvm::ilist_iterator<llvm::BasicBlock>&' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::const_iterator llvm::iplist<NodeTy, Traits>::end() const [with NodeTy = llvm::BasicBlock, Traits = llvm::ilist_traits<llvm::BasicBlock>, llvm::iplist<NodeTy, Traits>::const_iterator = llvm::ilist_iterator<const llvm::BasicBlock>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:344:56: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:370:36: error: no matching function for call to 'llvm::ilist_iterator<const llvm::BasicBlock>::ilist_iterator(const llvm::BasicBlock*)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:370:36: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = const llvm::BasicBlock] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = const llvm::BasicBlock, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'const llvm::BasicBlock*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<const llvm::BasicBlock>::ilist_iterator(const llvm::ilist_iterator<const llvm::BasicBlock>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'const llvm::BasicBlock*' to 'const llvm::ilist_iterator<const llvm::BasicBlock>&' | In file included from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, | from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/vector:61, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Pass.h:35, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:16: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: At global scope: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<llvm::ilist_iterator<const llvm::BasicBlock> >': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:521:40: instantiated from 'llvm::iplist<NodeTy, Traits>::size_type llvm::iplist<NodeTy, Traits>::size() const [with NodeTy = llvm::BasicBlock, Traits = llvm::ilist_traits<llvm::BasicBlock>, llvm::iplist<NodeTy, Traits>::size_type = long unsigned int]' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:346:49: instantiated from here | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:166:53: error: no type named 'iterator_category' in 'class llvm::ilist_iterator<const llvm::BasicBlock>' | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/SymbolTableListTraits.h:28:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:18, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:23, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy, Traits>::begin() [with NodeTy = llvm::Argument, Traits = llvm::ilist_traits<llvm::Argument>, llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<llvm::Argument>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:358:31: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:358:25: error: no matching function for call to 'llvm::ilist_iterator<llvm::Argument>::ilist_iterator(llvm::Argument*&)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:358:25: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = llvm::Argument] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = llvm::Argument, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::Argument*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<llvm::Argument>::ilist_iterator(const llvm::ilist_iterator<llvm::Argument>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::Argument*' to 'const llvm::ilist_iterator<llvm::Argument>&' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h: In member function 'llvm::iplist<NodeTy, Traits>::iterator llvm::iplist<NodeTy, Traits>::end() [with NodeTy = llvm::Argument, Traits = llvm::ilist_traits<llvm::Argument>, llvm::iplist<NodeTy, Traits>::iterator = llvm::ilist_iterator<llvm::Argument>]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:366:29: instantiated from here | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:366:30: error: no matching function for call to 'llvm::ilist_iterator<llvm::Argument>::ilist_iterator(llvm::Argument*)' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:366:30: note: candidates are: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:180:52: note: template<class node_ty> llvm::ilist_iterator::ilist_iterator(const llvm::ilist_iterator<node_ty>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator() [with NodeTy = llvm::Argument] | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:175:3: note: candidate expects 0 arguments, 1 provided | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: llvm::ilist_iterator<NodeTy>::ilist_iterator(llvm::ilist_iterator<NodeTy>::pointer) [with NodeTy = llvm::Argument, llvm::ilist_iterator<NodeTy>::pointer = int] <near match> | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:173:3: note: no known conversion for argument 1 from 'llvm::Argument*' to 'int' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: llvm::ilist_iterator<llvm::Argument>::ilist_iterator(const llvm::ilist_iterator<llvm::Argument>&) | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:142:7: note: no known conversion for argument 1 from 'llvm::Argument*' to 'const llvm::ilist_iterator<llvm::Argument>&' | In file included from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:67:0, | from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/vector:61, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Pass.h:35, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Transforms/Hello/Hello.cpp:16: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h: In function 'typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = llvm::ilist_iterator<const llvm::Instruction>, typename std::iterator_traits<_Iterator>::difference_type = int]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:521:40: instantiated from 'llvm::iplist<NodeTy, Traits>::size_type llvm::iplist<NodeTy, Traits>::size() const [with NodeTy = llvm::Instruction, Traits = llvm::ilist_traits<llvm::Instruction>, llvm::iplist<NodeTy, Traits>::size_type = long unsigned int]' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/BasicBlock.h:179:53: instantiated from here | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h:117:42: error: no matching function for call to '__iterator_category(llvm::ilist_iterator<const llvm::Instruction>&)' | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h:117:42: note: candidate is: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:202:37: note: template<class _Iter> typename std::iterator_traits::iterator_category std::__iterator_category(const _Iter&) | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h: In function 'typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = llvm::ilist_iterator<const llvm::BasicBlock>, typename std::iterator_traits<_Iterator>::difference_type = int]': | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/ilist.h:521:40: instantiated from 'llvm::iplist<NodeTy, Traits>::size_type llvm::iplist<NodeTy, Traits>::size() const [with NodeTy = llvm::BasicBlock, Traits = llvm::ilist_traits<llvm::BasicBlock>, llvm::iplist<NodeTy, Traits>::size_type = long unsigned int]' | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/Function.h:346:49: instantiated from here | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h:117:42: error: no matching function for call to '__iterator_category(llvm::ilist_iterator<const llvm::BasicBlock>&)' | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h:117:42: note: candidate is: | /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:202:37: note: template<class _Iter> typename std::iterator_traits::iterator_category std::__iterator_category(const _Iter&) | make[2]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o] Error 1 | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make[1]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/all] Error 2 | -- Targeting MBlaze | -- Targeting MSIL | -- Targeting MSP430 | -- Targeting PIC16 | -- Targeting PowerPC | -- Targeting Sparc | -- Targeting SystemZ | -- Targeting X86 | -- Targeting XCore | -- Configuring done | -- Generating done | -- Build files have been written to: /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native | /home/alxx/overo/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/CMakeFiles | [ 3%] Building native TableGen... | cd /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native/utils/TableGen && /usr/bin/gmake | gmake[3]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native/utils/TableGen' | gmake[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. | make[4]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | make[5]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | make[5]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | [ 18%] Built target LLVMSystem | make[5]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | make[5]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | make[5]: Entering directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o | In file included from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/FoldingSet.h:20:0, | from /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/lib/Support/APFloat.cpp:17: | /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/include/llvm/ADT/SmallVector.h:110:11: error: 'ptrdiff_t' does not name a type | make[5]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 1 | make[5]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | make[4]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2 | make[4]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native' | gmake[3]: *** [all] Error 2 | gmake[3]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build/native/utils/TableGen' | make[2]: *** [native/bin/tblgen] Error 2 | make[2]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make[1]: *** [CMakeFiles/NativeTableGen.dir/all] Error 2 | make[1]: Leaving directory `/home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/llvm-2.7/build' | make: *** [all] Error 2 | + die 'oe_runmake failed' | + oefatal 'oe_runmake failed' | + echo FATAL: 'oe_runmake failed' | FATAL: oe_runmake failed | + exit 1 NOTE: package llvm2.7-native-2.7-r9: task do_compile: Failed ERROR: Function 'do_compile' failed (see /home/alxx/overo/tmp/work/x86_64-linux/llvm2.7-native-2.7-r9/temp/log.do_compile.23512 for further information) ERROR: Task 227 (virtual:native:/home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb, do_compile) failed with exit code '1' Waiting for 2 active tasks to finish: 0: llvm2.7-2.7-r9 do_patch (pid 23609) 1: llvm2.7-2.7-r9 do_distribute_sources (pid 23598) Waiting for 1 active tasks to finish: 0: llvm2.7-2.7-r9 do_distribute_sources (pid 23598) NOTE: package llvm2.7-2.7-r9: task do_patch: Succeeded NOTE: package llvm2.7-2.7-r9: task do_distribute_sources: Succeeded ERROR: 'virtual:native:/home/alxx/overo/org.openembedded.dev/recipes/llvm/llvm2.7_2.7.bb' failed |