[Bug 241500] lang/beignet: installed with lang/pocl results in: LLVM ERROR: inconsistency in registered CommandLine options

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241500

            Bug ID: 241500
           Summary: lang/beignet: installed with lang/pocl results in:
                    LLVM ERROR: inconsistency in registered CommandLine
                    options
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
                CC: [email protected]

This issue is long standing and with the recent ports tree and POCL 1.4 and
LLVM 8.0/LLVM 9.0 it can be reduced to the parallel installation of
lang/beignet (beignet-1.3.2_8 as for now). With lang/pocl installed, any OpenCL
using application fails with the error:

:  CommandLine Error: Option 'limited-coverage-experimental' registered more
than once! LLVM ERROR: inconsistency in registered CommandLine options

The problem can be simply reproduced by installing port devel/clinfo and/or
benchmarks/clpeak, issuing "clinfo" for instance on the command line, when
lang/pocl and lang/beignet are installed parallel.

This issue has been reported since POCL 0.14 (i.e. Bug 219562).

In all cases I've tested, devel/ocl-icd is also installed and used.

This issue has been reported upstream in 2017, see

https://github.com/pocl/pocl/issues/474

and has been also dicussed here with the LLVM backend:

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.