Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 767811

Summary: sys-libs/compiler-rt-sanitizers-12.0.0_rc1: file collisions with sys-libs/compiler-rt-12.0.0_rc1
Product: Gentoo Linux Reporter: James Beddek <telans>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sys-libs-compiler-rt-don-t-build-memory-profilers.patch

Description James Beddek 2021-01-29 07:40:00 UTC
* Detected file collision(s):
 *
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-x86_64.a
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-x86_64.so
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof_cxx-x86_64.a
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-preinit-x86_64.a
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-x86_64.a.syms
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof_cxx-x86_64.a.syms
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * sys-libs/compiler-rt-12.0.0_rc1:12.0.0::gentoo
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-preinit-x86_64.a
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-x86_64.a
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-x86_64.a.syms
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof-x86_64.so
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof_cxx-x86_64.a
 * 	/usr/lib/clang/12.0.0/lib/linux/libclang_rt.memprof_cxx-x86_64.a.syms

The fix is to add "-DCOMPILER_RT_BUILD_MEMPROF=OFF" to >=sys-libs/compiler-rt-12.0.0_rc1

Patch attached
Comment 1 James Beddek 2021-01-29 07:41:46 UTC
Created attachment 685023 [details, diff]
sys-libs-compiler-rt-don-t-build-memory-profilers.patch
Comment 2 Larry the Git Cow gentoo-dev 2021-01-29 21:58:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8565412ff78e49e3e797c0733fb42a8ff7964bc3

commit 8565412ff78e49e3e797c0733fb42a8ff7964bc3
Author:     Theo Anderson <telans@posteo.de>
AuthorDate: 2021-01-29 07:41:00 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-01-29 21:58:38 +0000

    sys-libs/compiler-rt: don't build memory profilers
    
    Closes: https://bugs.gentoo.org/767811
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Theo Anderson <telans@posteo.de>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-libs/compiler-rt/compiler-rt-12.0.0.9999.ebuild | 1 +
 sys-libs/compiler-rt/compiler-rt-12.0.0_rc1.ebuild  | 1 +
 sys-libs/compiler-rt/compiler-rt-13.0.0.9999.ebuild | 1 +
 3 files changed, 3 insertions(+)