Bug 241500

Summary: lang/beignet: installed with lang/pocl results in: LLVM ERROR: inconsistency in registered CommandLine options
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: ohartmann, rene, x11
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 233495    
Bug Blocks:    

Description O. Hartmann 2019-10-26 13:44:38 UTC
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


and has been also dicussed here with the LLVM backend:

Comment 2 Rene Ladan freebsd_committer 2020-04-02 18:17:27 UTC
lang/beignet expired today, please use lang/intel-compute-runtime instead.