[llvm-bugs] [Bug 30587] New: Inconsistency in commandline options with multiple OpenCL vendor libraries installed

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 1 08:59:33 PDT 2016


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

            Bug ID: 30587
           Summary: Inconsistency in commandline options with multiple
                    OpenCL vendor libraries installed
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pprkut at slackware.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I used llvm+clang 3.9 to build several OpenCL vendor libraries, using ocl-icd
as loader. The libs I tested where mesa, beignet and pocl.

Any combination of more than one of those libs installed, results in below
error when trying to use an OpenCL application (tested with clinfo,
https://github.com/Oblomov/clinfo).

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

When building the same libs with llvm+clang 3.8, everything works as expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161001/d4940ace/attachment.html>


More information about the llvm-bugs mailing list