Closed aaguiar96 closed 5 years ago
The error is thrown inside of clang/LLVM.
VC4C --version
report?Running clang-3.9 --version
throws the following exception.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Stack dump:
0. Program arguments: clang-3.9 --version
Aborted
This is new, I recently had clang well installed. Do you know what may had cause this?
VC4C --version
returns
Running VC4C in version: 0.4
Build configuration:
debug mode; multi-threaded optimization; clang 3.9+ OpenCL features; clang in /usr/bin/clang-3.9; LLVM library front-end with libLLVM 3.9; VC4CL standard-library in /usr/local/include/vc4cl-stdlib/VC4CLStdLib.h.pch; vc4asm verification
No, I did not upgrade Clang/LLVM.
Should I reinstall clang-3.9(-dev)?
Should I reinstall clang-3.9(-dev)?
You may try this. Otherwise, the clang error seems very strange...
It worked. I just hope it doesn't magically happen again...
Thanks for the support.
Hello. I'm using a Raspberry Pi 3 to optimise some code. I've already run some test programs like summing two arrays, etc. Now, I'm stuck with the following error.
This happens even in a kernel that had already worked. The error returned by OpenCL is CL_COMPILE_PROGRAM_FAILURE (-15).
Any ideas? Thanks in advance.
Edit:
Sometimes, the error is this one...
Are they related?
This is what clinfo returns right now: