Something feels wrong with clangd-8

Sylvestre Ledru sylvestre at debian.org
Thu Oct 3 10:25:05 BST 2019


Hello,

Le 03/10/2019 à 11:23, Yllman, Jens a écrit :
> Hi,
> 
> I use debian unstable. And I do programming and are happy you can have
> multiple versions of both gcc and clang on the system at the same time.
> 
> But I have not tried to find out why clangd-8 does not seem to find the
> c++ include files if you want to use -stdlib=libc++. And when searching
> for this one thing I found was this,
> https://stackoverflow.com/questions/55289053/clangd-on-linux-cannot-find-default-headers.
> And it contains a link to a llvm source file,
> https://github.com/llvm-mirror/clang/blob/c1c29fb987dd01ef0624f38996ebfc05d2f8841b/lib/Frontend/InitHeaderSearch.cpp#L470.
> I do not know if this is the correct line that is causing this. I tried
> to search the patches for debian if you somewhere modify paths to like
> /usr/lib/llvm-8 instead. But I did not really find anything. But I think
> one solution is to patch that line.
> 
> What do you think??

Could you please provide a quick way to reproduce the issue?
I will have a look.

Thanks
Sylvestre




More information about the Pkg-llvm-team mailing list