Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927249 - sys-libs/libomp: OpenMP not found since libomp was slotted
Summary: sys-libs/libomp: OpenMP not found since libomp was slotted
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Bernard Cafarelli
Depends on:
Reported: 2024-03-18 16:13 UTC by Manuel Nickschas
Modified: 2024-03-18 21:17 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (,7.23 KB, application/gzip)
2024-03-18 16:13 UTC, Manuel Nickschas
die.env (die.env.gz,46.03 KB, application/gzip)
2024-03-18 16:14 UTC, Manuel Nickschas

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Nickschas 2024-03-18 16:13:57 UTC
Created attachment 887881 [details]
emerge --info

Slotting was recently introduced for sys-libs/libomp as per #904140. Since then, when using clang/libc++ as system compiler, libomp is no longer found via tc-check-openmp nor during src_configure() if the check is removed. I have rebuilt the clang toolchain, which did not help.

As an example, we can look at dev-util/mdds, however the same issue seems to occur for any other package relying on OpenMP as well:

 * Messages for package dev-util/mdds-2.1.1:

 * Your current compiler does not support OpenMP!
 * OpenMP support in sys-devel/clang is provided by sys-libs/libomp.
 * ERROR: dev-util/mdds-2.1.1::gentoo failed (pretend phase):
 *   Active compiler does not have required support for OpenMP
 * Call stack:
 *      , line 136:  Called pkg_pretend
 *        mdds-2.1.1.ebuild, line  36:  Called tc-check-openmp
 *   toolchain-funcs.eclass, line 602:  Called die
 * The specific snippet of code:
 *              die "Active compiler does not have required support for OpenMP"
Comment 1 Manuel Nickschas 2024-03-18 16:14:25 UTC
Created attachment 887882 [details]
Comment 2 Larry the Git Cow gentoo-dev 2024-03-18 16:56:53 UTC
The bug has been referenced in the following commit(s):

commit 550762d676b90df013b4e74e8d23737ab83225b8
Author:     Michał Górny <>
AuthorDate: 2024-03-18 16:55:32 +0000
Commit:     Michał Górny <>
CommitDate: 2024-03-18 16:56:50 +0000

    sys-libs/libomp: Revert "Add slotted versions"
    Reverts: 2836fd63ef7c7b8756883bffd58e06392653f65d
    Signed-off-by: Michał Górny <>

 sys-libs/libomp/libomp-15.0.7-r7.ebuild            | 135 -----------------
 sys-libs/libomp/libomp-16.0.6-r1.ebuild            | 153 -------------------
 sys-libs/libomp/libomp-17.0.6-r1.ebuild            | 153 -------------------
 sys-libs/libomp/libomp-18.1.0-r1.ebuild            | 163 ---------------------
 sys-libs/libomp/libomp-          |   4 +-
 .../libomp/libomp-19.0.0_pre20240316-r1.ebuild     | 162 --------------------
 6 files changed, 1 insertion(+), 769 deletions(-)