internal error: compilation succeeded but failed to optimize: Invalid capability operand: 5447
Open
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 445
- Avg merge
- 11h 6m
- Merged PRs (30d)
- 6
Description
shaderc fails during the build of the Ollama project:
> shaderc: internal error: compilation succeeded but failed to optimize: Invalid capability operand: 5447
[log](https://pkg-status.freebsd.org/beefy23/data/150amd64-default/ab34388330a3/logs/ollama-0.32.5.log)
Version: 2026.2
FreeBSD 16.
Contributor guide
Research direction
Start with the linked FreeBSD build log and the shaderc compilation failure while building Ollama on FreeBSD 16. Trace the “Invalid capability operand: 5447” error through the optimizer and reproduce it if possible; done means the underlying cause is identified and the build completes without the internal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers, computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100