Summary: | dev-libs/libclc-0.2.0_pre20160921 with sys-devel/clang-4.0.0_rc2 - /usr/lib64/llvm/5/bin/clang: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 611056 | ||
Attachments: | build.log |
Description
Juergen Rose
2017-02-18 12:03:41 UTC
I have the following files under /usr/lib64/llvm/5/bin/: root@lynx:/etc/wpa_supplicant(513)# ll /usr/lib64/llvm/5/bin/ total 11572 -rwxr-xr-x 1 root root 566352 Feb 18 13:28 bugpoint* -rwxr-xr-x 1 root root 8360 Feb 18 13:19 count* -rwxr-xr-x 1 root root 103720 Feb 18 13:20 FileCheck* -rwxr-xr-x 1 root root 53512 Feb 18 13:09 i686-pc-linux-gnu-llvm-config* -rwxr-xr-x 1 root root 273000 Feb 18 13:28 llc* -rwxr-xr-x 1 root root 640104 Feb 18 13:28 lli* -rwxr-xr-x 1 root root 250376 Feb 18 13:28 lli-child-target* -rwxr-xr-x 1 root root 112344 Feb 18 13:28 llvm-ar* -rwxr-xr-x 1 root root 31880 Feb 18 13:21 llvm-as* -rwxr-xr-x 1 root root 84832 Feb 18 13:20 llvm-bcanalyzer* -rwxr-xr-x 1 root root 39408 Feb 18 13:21 llvm-cat* lrwxrwxrwx 1 root root 31 Feb 18 13:29 llvm-config -> x86_64-pc-linux-gnu-llvm-config* -rwxr-xr-x 1 root root 364320 Feb 18 13:21 llvm-cov* -rwxr-xr-x 1 root root 126600 Feb 18 13:28 llvm-c-test* -rwxr-xr-x 1 root root 95496 Feb 18 13:28 llvm-cxxdump* -rwxr-xr-x 1 root root 41272 Feb 18 13:20 llvm-cxxfilt* -rwxr-xr-x 1 root root 134944 Feb 18 13:21 llvm-diff* -rwxr-xr-x 1 root root 50816 Feb 18 13:21 llvm-dis* -rwxr-xr-x 1 root root 428336 Feb 18 13:28 llvm-dsymutil* -rwxr-xr-x 1 root root 61944 Feb 18 13:21 llvm-dwarfdump* -rwxr-xr-x 1 root root 128312 Feb 18 13:28 llvm-dwp* -rwxr-xr-x 1 root root 70640 Feb 18 13:28 llvm-extract* lrwxrwxrwx 1 root root 7 Feb 18 13:29 llvm-lib -> llvm-ar* -rwxr-xr-x 1 root root 73760 Feb 18 13:28 llvm-link* -rwxr-xr-x 1 root root 280576 Feb 18 13:28 llvm-lto* -rwxr-xr-x 1 root root 242104 Feb 18 13:28 llvm-lto2* -rwxr-xr-x 1 root root 157112 Feb 18 13:21 llvm-mc* -rwxr-xr-x 1 root root 32240 Feb 18 13:21 llvm-mcmarkup* -rwxr-xr-x 1 root root 34416 Feb 18 13:21 llvm-modextract* -rwxr-xr-x 1 root root 154824 Feb 18 13:21 llvm-nm* -rwxr-xr-x 1 root root 633856 Feb 18 13:28 llvm-objdump* -rwxr-xr-x 1 root root 72600 Feb 18 13:21 llvm-opt-report* -rwxr-xr-x 1 root root 721776 Feb 18 13:28 llvm-pdbdump* -rwxr-xr-x 1 root root 20072 Feb 18 13:20 llvm-PerfectShuffle* -rwxr-xr-x 1 root root 165504 Feb 18 13:20 llvm-profdata* lrwxrwxrwx 1 root root 7 Feb 18 13:29 llvm-ranlib -> llvm-ar* -rwxr-xr-x 1 root root 1066616 Feb 18 13:28 llvm-readobj* -rwxr-xr-x 1 root root 123376 Feb 18 13:28 llvm-rtdyld* -rwxr-xr-x 1 root root 120888 Feb 18 13:28 llvm-size* -rwxr-xr-x 1 root root 27312 Feb 18 13:28 llvm-split* -rwxr-xr-x 1 root root 102512 Feb 18 13:28 llvm-stress* -rwxr-xr-x 1 root root 46288 Feb 18 13:28 llvm-strings* -rwxr-xr-x 1 root root 63936 Feb 18 13:28 llvm-symbolizer* -rwxr-xr-x 1 root root 2196000 Feb 18 13:18 llvm-tblgen* -rwxr-xr-x 1 root root 320752 Feb 18 13:28 llvm-xray* -rwxr-xr-x 1 root root 13352 Feb 18 13:20 not* -rwxr-xr-x 1 root root 333632 Feb 18 13:28 obj2yaml* -rwxr-xr-x 1 root root 530176 Feb 18 13:28 opt* -rwxr-xr-x 1 root root 167568 Feb 18 13:28 sancov* -rwxr-xr-x 1 root root 31008 Feb 18 13:28 sanstats* -rwxr-xr-x 1 root root 79856 Feb 18 13:28 verify-uselistorder* -rwxr-xr-x 1 root root 62360 Feb 18 13:20 x86_64-pc-linux-gnu-llvm-config* -rwxr-xr-x 1 root root 150976 Feb 18 13:28 yaml2obj* -rwxr-xr-x 1 root root 44384 Feb 18 13:20 yaml-bench* Qfile does identify the package, which installs theese files: root@lynx:/etc/wpa_supplicant(514)# qfile -v /usr/lib64/llvm/5/bin/bugpoint root@lynx:/etc/wpa_supplicant(515)# I suppose they are connected anyway with llvm-9999 or llvmgold-5. After deleting removing "llvm-vim-9999 **", "llvm-9999 **" and "libomp-9999 **" from /etc/portage/package.keywords/monolithic, deleting llvm-9999, llvm-vim-9999, libomp-9999 and llvmgold-5 'MAKEOPTS=-j1 emerge -v1 libclc' fails now with: ... WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v32:32-n16:32:64' OPT nvptx--nvidiacl/lib/builtins.opt.bc /usr/lib64/llvm/4/bin/opt -O3 -o nvptx--nvidiacl/lib/builtins.opt.bc nvptx--nvidiacl/lib/builtins.link.bc CXX utils/prepare-builtins.o /usr/lib64/llvm/4/bin/clang++ -MMD -MF utils/prepare-builtins.o.d -I/usr/lib64/llvm/4/include -std=c++11 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -c -o utils/prepare-builtins.o ./utils/prepare-builtins.cpp ./utils/prepare-builtins.cpp:1:10: fatal error: 'llvm/Bitcode/ReaderWriter.h' file not found #include "llvm/Bitcode/ReaderWriter.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Makefile:9: utils/prepare-builtins.o] Error 1 libclc-0.2.0_pre20170118 supports clang/llvm 4.0 and is under the same package.mask entry. (In reply to Matt Turner from comment #3) > libclc-0.2.0_pre20170118 supports clang/llvm 4.0 and is under the same > package.mask entry. I get the same issue with libclc-0.2.0_pre20170118 (now with clang-4.0.0-r2 and clang-runtime-4.0.0): >>> Emerging (1 of 1) dev-libs/libclc-0.2.0_pre20170118::gentoo * libclc-0.2.0_pre20170118.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/dev-libs/libclc-0.2.0_pre20170118/work >>> Preparing source in /var/tmp/portage/dev-libs/libclc-0.2.0_pre20170118/work/libclc-0.2.0_pre20170118 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/libclc-0.2.0_pre20170118/work/libclc-0.2.0_pre20170118 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/libclc-0.2.0_pre20170118/work/libclc-0.2.0_pre20170118 ... make -j1 VERBOSE=1 LLVM-AS generic--/lib/subnormal_disable.bc /usr/lib64/llvm/5/bin/llvm-as -o generic--/lib/subnormal_disable.bc generic/lib/subnormal_disable.ll LLVM-AS generic--/lib/subnormal_use_default.bc /usr/lib64/llvm/5/bin/llvm-as -o generic--/lib/subnormal_use_default.bc generic/lib/subnormal_use_default.ll LLVM-CC nvptx--nvidiacl/lib/synchronization/barrier.cl.bc /usr/lib64/llvm/5/bin/clang -MMD -MF nvptx--nvidiacl/lib/synchronization/barrier.cl.bc.d -target nvptx--nvidiacl -I`dirname ./ptx-nvidiacl/lib/synchronization/barrier.cl` -I./generic/include -fno-builtin -D__CLC_INTERNAL -emit-llvm -c -o nvptx--nvidiacl/lib/synchronization/barrier.cl.bc ./ptx-nvidiacl/lib/synchronization/barrier.cl /bin/sh: /usr/lib64/llvm/5/bin/clang: No such file or directory make: *** [Makefile:30: nvptx--nvidiacl/lib/synchronization/barrier.cl.bc] Error 127 * ERROR: dev-libs/libclc-0.2.0_pre20170118::gentoo failed (compile phase): |