[Bug 233495] devel/llvm70: devel/llvm60: Inconsistency in commandline options with multiple OpenCL vendor libraries installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 25 09:38:15 UTC 2018


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

            Bug ID: 233495
           Summary: devel/llvm70: devel/llvm60: Inconsistency in
                    commandline options with multiple OpenCL vendor
                    libraries installed
           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: ohartmann at walstatt.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)
          Assignee: brooks at FreeBSD.org

I'd like to refer to this bug which seems to be still open and still present in
all versions of LLVM since LLVM 4.0 (my guess, I did not track that down
exactly).

Since this severe problem has not been solved even for LLVM 7.0, the issue not
being able to use an ICD for multiple platforms available on FreeBSD in cases
the OpenCL backends (lang/pocl (See https://github.com/pocl/pocl/issues/474),
devel/beignet, lang/clover) are all compiled dynamically against the same LLVM
backend. The issue disapperas were the backend is compiled against a different
version of LLVM or statically linked. Both is inacceptable.

I'd like to refer to this LLVM bug:

http://lists.llvm.org/pipermail/llvm-bugs/2016-October/051237.html

and

Bug 30587 - Inconsistency in commandline options with multiple OpenCL vendor
libraries installed :

https://bugs.llvm.org/show_bug.cgi?id=30587

How to reproduce:

Compile lang/clover, lang/beignet, lang/pocl against the same LLVM backend
(devel/llvm60 or devel/llvm70) and use /devel/clinfo for checking. You should
be presented with:

$ clinfo
CommandLine Error: Option 'enable-value-profiling' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

The same problem occurs for several ports on which OpenCL support might be an
option and enabled, like graphics/blender (PR 223879), graphics/ImageMagick6
(PR 232357).

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


More information about the freebsd-ports-bugs mailing list