[Pkg-opencl-devel] Bug#972620: dwarf-column-info patch
Drake Diedrich
drake.diedrich at gmail.com
Tue Nov 3 17:09:13 GMT 2020
I've had this for a while too and been looking. Not all versions of clang
have -dwarf-column-info, and the clang version just changed. What worked
for me was just deleting it from intel-opencl-clang.
intel-grahics-compiler validates the flag and passes the errors back up,
but isn't where the flag is added to the compiler options. Changing
intel-opencl-clang allowed compiles again. I don't know what the
consequences are for debugging and profiling (since I haven't used those),
but not compiling is worse.
--- intel-opencl-clang-11.0~git20200922.orig/options_compile.cpp
+++ intel-opencl-clang-11.0~git20200922/options_compile.cpp
@@ -178,7 +178,6 @@ std::string EffectiveOptionsFilter::proc
effectiveArgs.push_back("-cl-kernel-arg-info");
effectiveArgs.push_back("-fno-validate-pch");
effectiveArgs.push_back("-fno-caret-diagnostics");
- effectiveArgs.push_back("-dwarf-column-info");
if (std::find_if(effectiveArgs.begin(), effectiveArgs.end(),
[](const ArgsVector::value_type& a) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-opencl-devel/attachments/20201103/5c958030/attachment.html>
More information about the Pkg-opencl-devel
mailing list