* 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/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -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 echo Using LLVM `llvm-config --version` from `llvm-config --libdir` Using LLVM 6.0.0 from /usr/lib64/llvm/6/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 7.3.0-r3 p1.4) 7.3.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/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -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 echo Compiling builtins.cpp Compiling builtins.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I/usr/lib64/llvm/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/builtins.o -c builtins.cpp echo Compiling cbackend.cpp Compiling cbackend.cpp x86_64-pc-linux-gnu-g++ -fno-rtti -fno-exceptions -O2 -pipe -march=native -I/usr/lib64/llvm/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/cbackend.o -c cbackend.cpp echo Compiling ctx.cpp Compiling ctx.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I/usr/lib64/llvm/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/ctx.o -c ctx.cpp echo Compiling decl.cpp Compiling decl.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I/usr/lib64/llvm/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/decl.o -c decl.cpp echo Compiling expr.cpp Compiling expr.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I/usr/lib64/llvm/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/expr.o -c expr.cpp echo Compiling func.cpp Compiling func.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I/usr/lib64/llvm/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/func.o -c func.cpp echo Compiling ispc.cpp Compiling ispc.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I/usr/lib64/llvm/6/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/lib64/llvm/6/include -DLLVM_6_0 -Wall -DBUILD_DATE="\"20180527\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/ispc.o -c ispc.cpp ispc.cpp:63:12: fatal error: llvm/Target/TargetSubtargetInfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:288: objs/ispc.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:20180527-042500.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'