* Package: dev-lang/ispc-1.9.2 * Repository: gentoo * Maintainer: junghans@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ispc-1.9.2.tar.gz to /var/tmp/portage/dev-lang/ispc-1.9.2/work >>> Source unpacked in /var/tmp/portage/dev-lang/ispc-1.9.2/work >>> Preparing source in /var/tmp/portage/dev-lang/ispc-1.9.2/work/ispc-1.9.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ispc-1.9.2/work/ispc-1.9.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/ispc-1.9.2/work/ispc-1.9.2 ... make -j1 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'OPT=-O2 -pipe -march=native' CXX=x86_64-pc-linux-gnu-g++ 'CPP=x86_64-pc-linux-gnu-gcc -E' llvm-config --version > /dev/null || \ (echo; \ echo "******************************************"; \ echo "ERROR: llvm-config not found in your PATH"; \ echo "******************************************"; \ echo; exit 1) echo -e ' ============================== !!! WARNING !!! =============================== \n Location of LLVM files in your PATH is different than path in LLVM_HOME \n variable (or LLVM_HOME is not set). The most likely this means that you are \n using default LLVM installation on your system, which is very bad sign. \n Note, that ISPC uses LLVM optimizer and is highly dependent on it. We recommend \n using *patched* version of LLVM 3.8. Patches are availible in \n llvm_patches folder. You can build LLVM manually, or run our scripts, which \n will do all the work for you. Do the following: \n 1. Create a folder, where LLVM will reside and set LLVM_HOME variable to its \n path. \n 2. Set ISPC_HOME variable to your ISPC location (probably current folder). 3. Run alloy.py tool to checkout and build LLVM: \n alloy.py -b --version=3.8 \n 4. Add $LLVM_HOME/bin-3.8/bin path to your PATH. \n ==============================================================================' ============================== !!! WARNING !!! =============================== Location of LLVM files in your PATH is different than path in LLVM_HOME variable (or LLVM_HOME is not set). The most likely this means that you are using default LLVM installation on your system, which is very bad sign. Note, that ISPC uses LLVM optimizer and is highly dependent on it. We recommend using *patched* version of LLVM 3.8. Patches are availible in llvm_patches folder. You can build LLVM manually, or run our scripts, which will do all the work for you. Do the following: 1. Create a folder, where LLVM will reside and set LLVM_HOME variable to its path. 2. Set ISPC_HOME variable to your ISPC location (probably current folder). 3. Run alloy.py tool to checkout and build LLVM: alloy.py -b --version=3.8 4. Add $LLVM_HOME/bin-3.8/bin path to your PATH. ============================================================================== echo Updating dependencies Updating dependencies x86_64-pc-linux-gnu-g++ -MM -O2 -pipe -march=native -I/usr/lib64/llvm/7/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/7/include -DLLVM_7_0 -Wall -DBUILD_DATE="\"20181003\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti ast.cpp builtins.cpp cbackend.cpp ctx.cpp decl.cpp expr.cpp func.cpp ispc.cpp llvmutil.cpp main.cpp module.cpp opt.cpp stmt.cpp sym.cpp type.cpp util.cpp | sed 's_^\([a-z]\)_objs/\1_g' > depend In file included from ispc.h:41, from ast.h:41, from ast.cpp:40: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from ast.h:41, from ast.cpp:40: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from builtins.h:42, from builtins.cpp:39: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from builtins.h:42, from builtins.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from cbackend.cpp:15: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from cbackend.cpp:15: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cbackend.cpp:4191:12: fatal error: llvm/IR/Intrinsics.gen: No such file or directory #include "llvm/IR/Intrinsics.gen" ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from ispc.h:41, from ctx.h:41, from ctx.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from ctx.h:41, from ctx.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from decl.h:57, from decl.cpp:39: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from decl.h:57, from decl.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from expr.h:41, from expr.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from expr.h:41, from expr.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from func.h:41, from func.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from func.h:41, from func.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from ispc.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from ispc.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from llvmutil.h:41, from llvmutil.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from llvmutil.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from main.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from main.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from module.h:42, from module.cpp:39: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from module.h:42, from module.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from opt.h:41, from opt.cpp:39: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from opt.h:41, from opt.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from stmt.h:41, from stmt.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from stmt.h:41, from stmt.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from sym.h:43, from sym.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from sym.h:43, from sym.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from type.h:41, from type.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from type.h:41, from type.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ In file included from ispc.h:41, from util.h:42, from util.cpp:38: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from util.h:42, from util.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ echo Using LLVM `llvm-config --version` from `llvm-config --libdir` Using LLVM 7.0.0 from /usr/lib64/llvm/7/lib64 echo Using compiler to build: `x86_64-pc-linux-gnu-g++ --version | head -1` Using compiler to build: x86_64-pc-linux-gnu-g++ (Gentoo Hardened 8.2.0-r3 p1.3) 8.2.0 echo Creating objs/ directory Creating objs/ directory /bin/mkdir -p objs echo Compiling ast.cpp Compiling ast.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I/usr/lib64/llvm/7/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/7/include -DLLVM_7_0 -Wall -DBUILD_DATE="\"20181003\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/ast.o -c ast.cpp In file included from ispc.h:41, from ast.h:41, from ast.cpp:40: ispc_version.h:70:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^~~~~ In file included from ast.h:41, from ast.cpp:40: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0 and 6.0 development branch are supported" ^~~~~ cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’ cc1plus: warning: unrecognized command line option ‘-Wno-c99-extensions’ make: *** [Makefile:288: objs/ast.o] Error 1 * ERROR: dev-lang/ispc-1.9.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/ispc-1.9.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ispc-1.9.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:ispc-1.9.2:20181002-225845.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ispc-1.9.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ispc-1.9.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ispc-1.9.2/work/ispc-1.9.2' * S: '/var/tmp/portage/dev-lang/ispc-1.9.2/work/ispc-1.9.2'