[Bug 222727] devel/llvm50: missing libomp.so from pkg-plist

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 1 20:56:35 UTC 2017


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

            Bug ID: 222727
           Summary: devel/llvm50: missing libomp.so from pkg-plist
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: jmd at freebsd.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)
          Assignee: brooks at FreeBSD.org

It seems the devel/llvm50 port does not install libomp.so as needed for OpenMP
support in difference to devel/llvm40. I.e.,
%%OPENMP%%llvm%%LLVM_LIB_VER%%/lib/libomp.so is missing from pkg-plist.

Which means for me it picks up (wrongly) the libomp installed by devel/openmp
which causes this:

$ /usr/local/llvm50/bin/clang++ -fopenmp -o omp omp.cpp
/usr/lib/libomp.so: undefined reference to `pthread_attr_getstack'
/usr/lib/libomp.so: undefined reference to `pthread_create'
/usr/lib/libomp.so: undefined reference to `pthread_attr_get_np'
/usr/lib/libomp.so: undefined reference to `pthread_condattr_init'
clang-5.0: 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