Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737704 - sys-libs/libomp with sys-devel/clang - pkg_pretend(): Your current compiler does not support OpenMP!
Summary: sys-libs/libomp with sys-devel/clang - pkg_pretend(): Your current compiler d...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Depends on:
Reported: 2020-08-18 05:33 UTC by Timothy
Modified: 2020-08-29 15:48 UTC (History)
3 users (show)

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

build.log (libraw-0.20.0:20200818-052408.log,1.88 KB, text/plain)
2020-08-18 05:34 UTC, Timothy
libraw success with libomp +hwloc (libraw-0.20.0:20200818-052134.log,157.91 KB, text/x-log)
2020-08-18 05:35 UTC, Timothy

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy 2020-08-18 05:33:53 UTC
The default USE flags for sys-devel/libomp compile without hwloc. Any programs that can use or rely on OpenMP will fail the pretend phase requirement checks when using clang. The warning provided dictates you compile and install libomp even though it's already compiled and installed. When enabling the hwloc USE flag for libomp, the pretend phase checks pass and the program compiles as normal.

Reproducible: Always

Steps to Reproduce:
1.compile libomp with default flags
2.try to compile libraw using clang
3.libraw pretend phase fails
Actual Results:  
* OpenMP support in sys-devel/clang is provided by sys-libs/libomp.
* ERROR: media-libs/libraw-0.20.0::gentoo failed (pretend phase):
*   Active compiler does not have required support for OpenMP
Comment 1 Timothy 2020-08-18 05:34:49 UTC
Created attachment 655186 [details]
Comment 2 Timothy 2020-08-18 05:35:21 UTC
Created attachment 655188 [details]
libraw success with libomp +hwloc