Created attachment 495700 [details] emerge --info Both compiler-rt{,-sanitizers}-9999 try to install these files: /usr/lib/clang/6.0.0/lib/linux/libclang_rt.profile-x86_64.a /usr/lib/clang/6.0.0/lib/linux/libclang_rt.profile-i386.a compiler-rt:5 did not provide the profile runtimes, but compiler-rt-sanitizers:5 did: $ equery f --filter=obj compiler-rt * Searching for compiler-rt ... * Contents of sys-libs/compiler-rt-5.0.9999: /usr/lib/clang/5.0.1/lib/linux/libclang_rt.builtins-i386.a /usr/lib/clang/5.0.1/lib/linux/libclang_rt.builtins-x86_64.a /usr/share/doc/compiler-rt-5.0.9999/README.txt.bz2 * Contents of sys-libs/compiler-rt-9999: /usr/lib/clang/6.0.0/lib/linux/libclang_rt.builtins-i386.a /usr/lib/clang/6.0.0/lib/linux/libclang_rt.builtins-x86_64.a /usr/lib/clang/6.0.0/lib/linux/libclang_rt.profile-i386.a /usr/lib/clang/6.0.0/lib/linux/libclang_rt.profile-x86_64.a /usr/share/doc/compiler-rt-9999/README.txt.bz2 $ equery f compiler-rt-sanitizers | grep profile /usr/lib/clang/5.0.1/lib/linux/libclang_rt.profile-i386.a /usr/lib/clang/5.0.1/lib/linux/libclang_rt.profile-x86_64.a So this might be an upstream bug with the profiler runtimes not respecting COMPILER_RT_BUILD_SANITIZERS=OFF anymore, as I could not find a dedicated flag for profilers. Quick fix of course would be to manually remove profile files in compiler-rt as in the provided patch.
Created attachment 495702 [details, diff] patch
Created attachment 495706 [details] build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39fb9484619796bb6e8064e70f4fc5d0f937cddf commit 39fb9484619796bb6e8064e70f4fc5d0f937cddf Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-10-02 05:10:46 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-10-02 05:15:18 +0000 sys-libs/compiler-rt: Disable building profile libs Closes: https://bugs.gentoo.org/631588 sys-libs/compiler-rt/compiler-rt-9999.ebuild | 1 + 1 file changed, 1 insertion(+)