* Applying clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch ... * Failed Patch: clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch ! Reproducible: Always
Created attachment 408646 [details, diff] Changed patch Here is a manually changed patch. I changed the second chunk that caused problems. It should be a new version of the patch for llvm 3.8+
Attached patch works, but now instead I get: * Applying compiler-rt-0001-cmake-Install-compiler-rt-into-usr-lib-without-suffi.patch ... [ ok ] * Applying clang-0002-cmake-Make-CLANG_LIBDIR_SUFFIX-overridable.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure >>> Working in BUILD_DIR: "/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86" cmake --no-warn-unused-cli -C /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_LIBDIR_SUFFIX=32 -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_TIMESTAMPS=OFF -DLLVM_TARGETS_TO_BUILD=host;CppBackend;AMDGPU -DLLVM_BUILD_TESTS=no -DLLVM_ENABLE_FFI=yes -DLLVM_ENABLE_TERMINFO=yes -DLLVM_ENABLE_ASSERTIONS=no -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DWITH_POLLY=OFF -DLLVM_HOST_TRIPLE=i686-pc-linux-gnu -DFFI_INCLUDE_DIR=/usr/lib32/libffi-3.0.13/include -DFFI_LIBRARY_DIR=/usr/lib32 -DHAVE_HISTEDIT_H=no -DOCAMLFIND=NO -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND -DLLVM_EXTERNAL_COMPILER_RT_BUILD=OFF -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_BUILD=OFF -DCLANG_ENABLE_ARCMT=yes -DCLANG_ENABLE_STATIC_ANALYZER=yes -DCLANG_LIBDIR_SUFFIX=64 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_toolchain.cmake /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_common_config.cmake CMake Error at CMakeLists.txt:12 (message): Invalid value for CMAKE_BUILD_TYPE: Gentoo
Yes, see bug 557154 for the fix for that problem.
Created attachment 408772 [details, diff] Equivalent patch against 624a11dc4f96e2ab9b8ca230fd230e2de69ffe48
(In reply to Robin Kauffman from comment #4) > Created attachment 408772 [details, diff] [details, diff] > Equivalent patch against 624a11dc4f96e2ab9b8ca230fd230e2de69ffe48 Oops, wrong bug, please ignore.
Why don't you upstream it in Gentoo?
Thanks everyone and sorry for the delay (llvm 3.7 had priority), I updated the patch for -9999