Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700762 - sys-libs/libomp- USE=-ompt - .../work/openmp/tools/archer/ompt-tsan.cpp:38:10: fatal error: omp-tools.h: No such file or directory
Summary: sys-libs/libomp- USE=-ompt - .../work/openmp/tools/archer/ompt-tsa...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Depends on:
Reported: 2019-11-20 12:04 UTC by Mike Lothian
Modified: 2020-01-25 21:28 UTC (History)
4 users (show)

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

build log (build.log.xz,3.50 KB, application/x-xz)
2019-11-20 14:01 UTC, Mike Lothian

Note You need to log in before you can comment on or make changes to this bug.
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.