Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2018 09:38:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233495] devel/llvm70: devel/llvm60: Inconsistency in commandline options with multiple OpenCL vendor libraries installed
Message-ID:  <bug-233495-7788@https.bugs.freebsd.org/bugzilla/>

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

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

I'd like to refer to this bug which seems to be still open and still presen=
t 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 cas=
es
the OpenCL backends (lang/pocl (See https://github.com/pocl/pocl/issues/474=
),
devel/beignet, lang/clover) are all compiled dynamically against the same L=
LVM
backend. The issue disapperas were the backend is compiled against a differ=
ent
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=3D30587

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 shou=
ld
be presented with:

$ clinfo
CommandLine Error: Option 'enable-value-profiling' registered more than onc=
e!
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).

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