Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2018 17:35:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234050] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when clang from devel/llvm70 is used)
Message-ID:  <bug-234050-7788-wZCX5QHaSb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234050-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234050-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234050

--- Comment #4 from Yuri Victorovich <yuri@freebsd.org> ---
Created attachment 200160
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200160&action=
=3Dedit
testcase-broken-OpenMP-detection.shar

(In reply to Rainer Hurling from comment #3)

Hi Rainer,

I'm attaching the testcase that demonstrates that OpenMP detection is broken
with clang70.

1. Extract the attached case: sh testcase-broken-OpenMP-detection.shar
2. cd testcase-broken-OpenMP-detection
3. sh run
4. Observe the failure: helloworld.cpp:(.text+0x2d): undefined reference to
`__kmpc_fork_call'

It closely follows the recommended way:
https://cliutils.gitlab.io/modern-cmake/chapters/packages/OpenMP.html

Yuri

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234050-7788-wZCX5QHaSb>