[Bug 236788] devel/llvm-devel: -fopenmp cannot find libomp.so

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 25 17:28:30 UTC 2019


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

            Bug ID: 236788
           Summary: devel/llvm-devel: -fopenmp cannot find libomp.so
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)
          Assignee: brooks at FreeBSD.org

$ pkg info -l llvm-devel | fgrep libomp
        /usr/local/llvm-devel/lib/libomp.so
        /usr/local/llvm-devel/lib/libomptarget.so

$ echo 'int main() {}' >a.c
$ clang-devel -fopenmp a.c
/usr/bin/ld: cannot find -lomp
clang-9: error: linker command failed with exit code 1 (use -v to see
invocation)

Can you apply devel/llvm80/files/clang/patch-fopenmp.diff ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list