[Bug 231228] devel/llvm[4567]0: : CommandLine Error: Option 'enable-value-profiling' registered more than once!

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

            Bug ID: 231228
           Summary: devel/llvm[4567]0: : CommandLine Error: Option
                    'enable-value-profiling' registered more than once!
           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], [email protected]
                CC: [email protected], [email protected]

In case several OpenCL implementations sharing devel/LLVM > LLVM 3.X are
installed, software compiled with the OpenCL backend will fail with an error
like:

Device open failed, aborting...
: CommandLine Error: Option 'enable-value-profiling' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Nothing to output !

(the error message above has been taken from clinfo, see Bug 231226).

This problem seems to be unresolved in LLVM, although known since a couple of
years for now. See, for instance, Bug 219562, Bug 224584 where I tried to
gather some of the bug reports on LLVM.

In case devel/ocl-icd is installed, graphics/blender seem to fail when compiled
using OpenCL and option CYCLES - calling blender results in the same error as
shown above.

To reproduce the error described here, try to have installed mesa,beignet as
well as devel/clinfo and devel/ocl-icd and/or lang/pocl.

devel/clinfo reveals the problem quickly.

lang/pocl is useless if used with an ICD.

Can someone help on this?

Kind regards,

oh

-- 
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.