* Package: dev-lang/ispc-1.8.2-r3 * 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-r3/work >>> Unpacking ispc-1.8.2-llvm-3.7.patch.gz to /var/tmp/portage/dev-lang/ispc-1.8.2-r3/work >>> Source unpacked in /var/tmp/portage/dev-lang/ispc-1.8.2-r3/work >>> Preparing source in /var/tmp/portage/dev-lang/ispc-1.8.2-r3/work/ispc-1.8.2 ... * Applying ispc-1.8.2-llvm-3.7.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ispc-1.8.2-r3/work/ispc-1.8.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/ispc-1.8.2-r3/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 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include -DLLVM_3_8 -Wall -DBUILD_DATE="\"20160529\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -Werror -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 ast.h:41:0, from ast.cpp:40: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from builtins.h:42:0, from builtins.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from cbackend.cpp:15:0: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from ctx.h:41:0, from ctx.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from decl.h:57:0, from decl.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from expr.h:41:0, from expr.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from func.h:41:0, from func.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from ispc.cpp:38:0: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from llvmutil.cpp:39:0: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from main.cpp:38:0: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ main.cpp:78:2: error: #error "Unhandled LLVM version" #error "Unhandled LLVM version" ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from module.h:42:0, from module.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from opt.h:41:0, from opt.cpp:39: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from stmt.h:41:0, from stmt.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from sym.h:43:0, from sym.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from type.h:41:0, from type.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors In file included from util.h:42:0, from util.cpp:38: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors echo Using LLVM `llvm-config --version` from `llvm-config --libdir` Using LLVM 3.8.0 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 5.3.0 p1.1, pie-0.6.5) 5.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++ -march=native -O2 -pipe -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include -DLLVM_3_8 -Wall -DBUILD_DATE="\"20160529\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -Werror -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/ast.o -c ast.cpp In file included from ast.h:41:0, from ast.cpp:40: ispc.h:44:2: error: #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are supported" #error "Only LLVM 3.2, 3.3, 3.4, 3.5, 3.6 and 3.7 development branch are suppor ^ cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-c99-extensions’ [-Werror] cc1plus: all warnings being treated as errors make: *** [Makefile:286: objs/ast.o] Error 1 * ERROR: dev-lang/ispc-1.8.2-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/ispc-1.8.2-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ispc-1.8.2-r3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:ispc-1.8.2-r3:20160529-080424.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ispc-1.8.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ispc-1.8.2-r3/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ispc-1.8.2-r3/work/ispc-1.8.2' * S: '/var/tmp/portage/dev-lang/ispc-1.8.2-r3/work/ispc-1.8.2'