Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851597 - toolchain-funcs.eclass: unable to detect OpenMP support when using clang
Summary: toolchain-funcs.eclass: unable to detect OpenMP support when using clang
Status: RESOLVED DUPLICATE of bug 816831
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-12 19:09 UTC by Sheng Yu
Modified: 2022-06-14 14:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sheng Yu 2022-06-12 19:09:41 UTC
Under LLVM/clang 14, _tc-has-openmp return failed because it needs extra -lm in order to compile.

undefined reference to fmaxl
undefined reference to logbl

 * Your current compiler does not support OpenMP!
 * OpenMP support in sys-devel/clang is provided by sys-libs/libomp.


Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2022-06-14 14:42:07 UTC
See bug #794481, I assume the stance hasn't changed (albeit it is becoming a long standing issue).

*** This bug has been marked as a duplicate of bug 816831 ***