Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 17:28:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236788] devel/llvm-devel: -fopenmp cannot find libomp.so
Message-ID:  <bug-236788-7788@https.bugs.freebsd.org/bugzilla/>

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

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

--=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-236788-7788>