Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665474 - sys-libs/libomp lacks -lm
Summary: sys-libs/libomp lacks -lm
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Keywords: PATCH
Depends on:
Reported: 2018-09-08 01:47 UTC by Haelwenn (lanodan) Monnier
Modified: 2020-02-03 02:48 UTC (History)
5 users (show)

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

FreeBSD_bug32279.patch (modified for Linux) (FreeBSD_bug32279.patch,795 bytes, patch)
2018-09-08 01:47 UTC, Haelwenn (lanodan) Monnier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Haelwenn (lanodan) Monnier 2018-09-08 01:47:10 UTC
Created attachment 546226 [details, diff]
FreeBSD_bug32279.patch (modified for Linux)

Related FreeBSD bug:

This fixes compiling and checking with tc-has-openmp by linking libm into, thus avoiding to put -lm on each usage of OpenMP in LLVM/Clang.
Comment 1 tt_1 2020-01-25 21:25:10 UTC
was this patch ever upstreamed?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-26 04:39:10 UTC
Apparently yes... but conditionally to DragonFly|FreeBSD.