Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2017 20:56:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222727] devel/llvm50: missing libomp.so from pkg-plist
Message-ID:  <bug-222727-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222727

            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@FreeBSD.org
          Reporter: jmd@freebsd.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org

It seems the devel/llvm50 port does not install libomp.so as needed for Ope=
nMP
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/open=
mp
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)

--=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-222727-13>