[Bug 240737] devel/llvm90: -fopenmp fails with LLD_LINK=off
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 21 19:12:43 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240737
Bug ID: 240737
Summary: devel/llvm90: -fopenmp fails with LLD_LINK=off
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: brooks at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Flags: maintainer-feedback?(brooks at FreeBSD.org)
Assignee: brooks at FreeBSD.org
https://bugs.llvm.org/show_bug.cgi?id=32279 still affects WITHOUT_LLD_IS_LD
architectures. Either files/openmp/patch-bug32279 needs to be copied/rebased
from llvm80 or LLD_LINK enabled everywhere.
$ uname -rp
11.3-RELEASE i386
$ pkg install -qy ca_root_nss llvm90
$ fetch https://computing.llnl.gov/tutorials/openMP/samples/C/omp_hello.c
$ clang90 -fopenmp omp_hello.c
/usr/local/llvm90/lib/libomp.so: undefined reference to `scalbnl'
/usr/local/llvm90/lib/libomp.so: undefined reference to `fmaxl'
/usr/local/llvm90/lib/libomp.so: undefined reference to `logbl'
/usr/local/llvm90/lib/libomp.so: undefined reference to `fmaxf'
/usr/local/llvm90/lib/libomp.so: undefined reference to `scalbnf'
/usr/local/llvm90/lib/libomp.so: undefined reference to `fmax'
/usr/local/llvm90/lib/libomp.so: undefined reference to `scalbn'
clang-9: error: linker command failed with exit code 1 (use -v to see
invocation)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list