[Bug 214258] devel/openmp: spurious libm dependency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 15 09:36:37 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214258
--- Comment #4 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Comment on attachment 179304
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179304
ports/devel/openmp/files/patch-link-libm.patch
The workaround isn't really correct. FreeBSD versions before 11.0 don't really
need -lm.
$ clang40 -fopenmp omp_hello.c
$ ldd a.out
a.out:
libomp.so => /usr/local/llvm40/lib/libomp.so (0x80081f000)
libc.so.7 => /lib/libc.so.7 (0x800aa3000)
libthr.so.3 => /lib/libthr.so.3 (0x800e50000)
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-toolchain
mailing list