* Package: dev-lang/ispc-1.8.2 * Repository: gentoo * Maintainer: ottxor@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ispc-1.8.2.tar.gz to /var/tmp/portage/dev-lang/ispc-1.8.2/work >>> Source unpacked in /var/tmp/portage/dev-lang/ispc-1.8.2/work >>> Preparing source in /var/tmp/portage/dev-lang/ispc-1.8.2/work/ispc-1.8.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ispc-1.8.2/work/ispc-1.8.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/ispc-1.8.2/work/ispc-1.8.2 ... make -j1 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'OPT=-march=native -O2 -pipe' CXX=x86_64-pc-linux-gnu-g++ CPP=x86_64-pc-linux-gnu-cpp 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.4 or 3.5. 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.5 \n 4. Add $LLVM_HOME/bin-3.5/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.4 or 3.5. 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.5 4. Add $LLVM_HOME/bin-3.5/bin path to your PATH. ============================================================================== echo Updating dependencies Updating dependencies x86_64-pc-linux-gnu-g++ -MM -march=native -O2 -pipe -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include -DLLVM_3_3 -Wall -DBUILD_DATE="\"20150909\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -Werror 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 cbackend.cpp:71:36: fatal error: llvm/IR/InstIterator.h: No such file or directory #include "llvm/IR/InstIterator.h" ^ compilation terminated. echo Using LLVM `llvm-config --version` from `llvm-config --libdir` Using LLVM 3.3 from /usr/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 4.9.3 p1.2, pie-0.6.2) 4.9.3 echo Creating objs/ directory Creating objs/ directory /bin/mkdir -p objs echo Compiling ast.cpp Compiling ast.cpp x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include -DLLVM_3_3 -Wall -DBUILD_DATE="\"20150909\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -Werror -o objs/ast.o -c ast.cpp echo Compiling builtins.cpp Compiling builtins.cpp x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include -DLLVM_3_3 -Wall -DBUILD_DATE="\"20150909\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -Werror -o objs/builtins.o -c builtins.cpp echo Compiling cbackend.cpp Compiling cbackend.cpp x86_64-pc-linux-gnu-g++ -fno-rtti -fno-exceptions -march=native -O2 -pipe -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include -DLLVM_3_3 -Wall -DBUILD_DATE="\"20150909\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -Werror -o objs/cbackend.o -c cbackend.cpp cbackend.cpp:71:36: fatal error: llvm/IR/InstIterator.h: No such file or directory #include "llvm/IR/InstIterator.h" ^ compilation terminated. Makefile:289: recipe for target 'objs/cbackend.o' failed make: *** [objs/cbackend.o] Error 1 * ERROR: dev-lang/ispc-1.8.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/ispc-1.8.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ispc-1.8.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:ispc-1.8.2:20150909-095520.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ispc-1.8.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ispc-1.8.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ispc-1.8.2/work/ispc-1.8.2' * S: '/var/tmp/portage/dev-lang/ispc-1.8.2/work/ispc-1.8.2'