Llvm + clang + neovim + lsp

I use bear to generate compile_commands.json.
I get these two errors as lsp diagnositcs in neovim.

  1. Unsupported option ‘gstabs+’
  2. Unknown argument: ‘-mthumb-interwork’

I have nothing working in neovim regaring to lsp. I get RPC[error]. Is it because of this two errors in lsp diagnositcs?

Thanks