Date: Sat, 21 Sep 2019 19:12:41 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240737] devel/llvm90: -fopenmp fails with LLD_LINK=off Message-ID: <bug-240737-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240737 Bug ID: 240737 Summary: devel/llvm90: -fopenmp fails with LLD_LINK=3Doff 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@FreeBSD.org Reporter: jbeich@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org https://bugs.llvm.org/show_bug.cgi?id=3D32279 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) --=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-240737-7788>