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

Bug 700762

Summary: sys-libs/libomp- USE=-ompt - .../work/openmp/tools/archer/ompt-tsan.cpp:38:10: fatal error: omp-tools.h: No such file or directory
Product: Gentoo Linux Reporter: Mike Lothian <mike>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: UNCONFIRMED ---    
Severity: normal CC: bugzilla+gentoo, daniel, llvm, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Attachments: build log

Description Mike Lothian 2019-11-20 12:04:12 UTC
The libomp package fails to build with USE=-ompt it works fine with USE=ompt

I'm not sure if this is an issue upstream, or if libomp now requires the tools to be built

I'll try investigating this upsteam

Reproducible: Always
Comment 1 Mike Lothian 2019-11-20 14:00:45 UTC
I have an account to create bugs on but I keep getting 504 errors when submitting

libomp fails if build without tools


FAILED: tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -Darcher_EXPORTS -Iruntime/src  -O3 -march=native -pipe -flto=8 -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=gnu++11 -fPIC -MD -MT tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o -MF tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o.d -o tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o -c /var/tmp/portage/sys-libs/libomp-
/var/tmp/portage/sys-libs/libomp- fatal error: omp-tools.h: No such file or directory
   38 | #include "omp-tools.h"
      |          ^~~~~~~~~~~~~
compilation terminated.

Full build log attached
Comment 2 Mike Lothian 2019-11-20 14:01:08 UTC
Created attachment 596890 [details]
build log
Comment 3 tt_1 2020-01-20 13:57:55 UTC
I've hit this one too, have they dropped DLIBOMP_OMPT_SUPPORT entirely?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-23 18:31:16 UTC
Should be fixed in master now, requested backport to 10.x.
Comment 5 tt_1 2020-01-25 21:28:04 UTC
correct, it's all fixed now.