SonarLint for CLion doesn’t work with WSL under windows

Thanks for the update. Unfortunately it doesn’t work with WSL under windows :slight_smile:

java.lang.IllegalStateException: java.io.IOException: Cannot run program "C:\usr\bin\arm-none-eabi-gcc" (in directory "--redacted--"): CreateProcess error=2, The system cannot find the file specified

Template for a good bug report, formatted with Markdown:

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)
    4.15 Sonarlint with Clion 2021.1
  • error observed (wrap logs/code around triple quote ``` for proper formatting)
java.lang.IllegalStateException: java.io.IOException: Cannot run program "C:\usr\bin\arm-none-eabi-gcc" (in directory "--redacted--"): CreateProcess error=2, The system cannot find the file specified

Probably works fine under native linux but not on windows with WSL configured as toolchain. Dealbreaker for us :slight_smile:

Hi @JSStabl ,

thank you for your report, WSL toolset is equivalent to a remote toolset, at first implementation we are skipping remote toolchains. I created a ticket to properly skip WSL toolchains the same way as remote ones: SLI-530.

We will keep that in mind, in first release we didn’t target remote toolchains, thank you for your report.

2 Likes