Misc. bug: "CommandLine Error: Option 'sanitizer-early-opt-ep' registered more than once!"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by inspecting the supplied CMake build files and comparing the OpenCL-enabled build configuration with the reported clang and LLVM versions. Reproduce the failure by building with OpenCL support and running llama-cli --list-devices; done means the duplicate LLVM command-line option no longer aborts the CLI. The report does not identify a source file or test, so locating the affected dependency or build integration will take project familiarity.
Written by the indexing model from the issue text.
Description
Name and Version
$ ./bin/llama-cli --version
version: 0.7.0 (build 11798, commit 9febe63d5)
built with GNU 15.2.0 for Linux x86_64
$ ./bin/llama-cli --list-devices
: CommandLine Error: Option 'sanitizer-early-opt-ep' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
LIBXSMM_VERSION: feature_print_bw-1.17-3780 (25693892)
LIBXSMM_TARGET: cpx [AMD Ryzen 7 8845HS w/ Radeon 780M Graphics]
Registry and code: 13 MB
Command: ./bin/llama-cli --list-devices
Uptime: 0.191673 s
Aborted (core dumped) ./bin/llama-cli --list-devices
$ clang --version
Ubuntu clang version 21.1.8 (6ubuntu1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-21/bin
OS: Ubuntu 26.04
OpenCL info
clinfo.txt
All cmake related stuff from build directory
cmakes.zip
Operating systems
Linux
Which llama.cpp modules do you know to be affected?
llama-cli
Command line
Problem description & steps to reproduce
Build with OpenCL support, execute any cli tool
First Bad Commit
No response
Relevant log output
Logs
: CommandLine Error: Option 'sanitizer-early-opt-ep' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
LIBXSMM_VERSION: feature_print_bw-1.17-3780 (25693892)
LIBXSMM_TARGET: cpx [AMD Ryzen 7 8845HS w/ Radeon 780M Graphics]
Registry and code: 13 MB
Command: ./bin/llama-cli --list-devices
Uptime: 0.191673 s
Aborted (core dumped) ./bin/llama-cli --list-devices
- Dominant language
- C++
- Stars
- 133k
- Forks
- 24.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 483
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ggml-org/llama.cpp
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ggml-org/llama.cpp#31541 · 1 comment ·
Maintainers usually reply within 1 day
-
Compile bug: tools/server/server-context.cpp fails to compile with Intel icx/icpx: std::setw missing <iomanip> includePossibly taken @afnan-mojumder claimed this 2 days ago. Openbug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ggml-org/llama.cpp#31458 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ggml-org/llama.cpp#31456 · 2 comments ·
Maintainers usually reply within 1 day
-
Compile bug: Vulkan backend fails to build since #27512 (`signbit`/`isnan`/`isinf` undeclared in `ggml_fp32_to_f8_e4m3`), GCC 16.2 and clang 22 with libstdc++ 16Possibly taken @ORippler claimed this 2 days ago. Openbug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ggml-org/llama.cpp#31445 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Misc. bug: Sub-heading levels are incorrect for the CUDA, MUSA, and SYCL sections in the Docker documentationPossibly taken A pull request linked to this issue is open or already merged. Openbug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ggml-org/llama.cpp#31404 · 1 comment ·
Maintainers usually reply within 1 day
All issues in ggml-org/llama.cpp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cython/cython#8110 · 2 comments ·
Maintainers usually reply within 1 day
-
PR bot doesn't recognize hip-tests as a unit test directoryPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ROCm/rocm-systems#14923 ·
Maintainers usually reply within 2 days
-
arrays asr pass bug ICE intrinsic medium priority
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Area: World-Readiness
Difficulty 1/5 Under an hour Newbie friendliness 90/100
microsoft/calculator#2522 ·
-
missing `catch.hpp`Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/inflatelib#34 · 1 comment ·