Multiple gcc versions with USE=jit install /usr/lib/libgccjit*, causing file collisions between them (reproduced at least with 5.3.0 and 5.1.0).
commit c5f670d98de050ca8fc617606ca2fe38bd5e19b9 Author: Michał Górny <mgorny@gentoo.org> Date: Sat May 14 12:41:21 2016 base/package.use.mask: [QA] Mask sys-devel/gcc[jit], #569608, #583010
*** Bug 590636 has been marked as a duplicate of this bug. ***
*** Bug 613100 has been marked as a duplicate of this bug. ***
Well, obviously our mask doesn't cover crossdev-forked packages.
*** Bug 569608 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1d94226bc344629e44ff7d13a19b4e2631a249 commit 8c1d94226bc344629e44ff7d13a19b4e2631a249 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-08-24 08:44:20 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-08-24 09:14:42 +0000 toolchain.eclass: fix relocation of libgccjit Before the change libgccjit.so was installed to /usr/lib. Relocation code in toolchain.eclass:gcc_movelibs() only handles /usr/$(get_libdir) -> $LIBDIR location. As a result gcc did not relocate libraries to version-speciifc firectory: caused collisions and installed library into wrong LIBDIR. The change handles libgccjit special case by relocating it explicitly. Reported-by: Michał Górny Bug: https://bugs.gentoo.org/583010 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> eclass/toolchain.eclass | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568de3ac006537f2b924b8b4e080eb52b5ead91a commit 568de3ac006537f2b924b8b4e080eb52b5ead91a Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-08-28 17:54:26 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-08-28 17:55:23 +0000 profiles/base/package.use.mask: revert gcc[jit] mask Bug: https://bugs.gentoo.org/583010 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> profiles/base/package.use.mask | 8 -------- 1 file changed, 8 deletions(-)