https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214258

--- Comment #4 from Jan Beich (mail not working) <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to