LLVM12 issue: clang: CommandLine Error: Option 'h' registered more than once!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
llvm-toolchain-12 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
With following packages installed on top of Ubuntu 22.04LTS related to OpenCL on intel GFX.
libllvm12:amd64 <none> 1:12.0.1-19ubuntu3
libclang-
libllvmspirvlib
libopencl-
libigc1:amd64 <none> 1.0.10840-1
libigc-tools:amd64 <none> 1.0.10840-1
libclang1-12:amd64 <none> 1:12.0.1-19ubuntu3
libigdgmm12:amd64 <none> 22.1.2+ds1-1
libigdfcl1:amd64 <none> 1.0.10840-1
ocl-icd-
intel-opencl-
Subtests from standard Khronos OpenCL-CTS at https:/
Executed command : "OpenCL-
clang: CommandLine Error: Option 'h' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
Chance of failure is about 5-10%.
Researched little bit and found this is related to the problem the recently accepted LLVM patch addresses.
https:/
This fix however, is for the current version of LLVM. This might need to be rebased for LLVM12.