Solution required for ARM 7 (32 Bit) board to do Sonarqube scanning for C language

Dear Sir/Ma’am
Hope you are doing well.
Just want to share one issue regarding sonar scanner where issue is that with Sonar New version: 9.0.1 (build 46107,sonar-scanner-4.6.2.2472-windows) for ARM 7 (32 Bit) board, we are not able run sonar scanner for C language.

With the earlier Version 7.9.1 (build 27448,sonar-scanner-4.0.0.1744-windows) we didn’t need to use BuildWrapper before doing the Analysis and we didn’t need compile/make the Firmware when doing Analysis, Static analysis was done just by using Sonar Scanner and code.

So what could be the solution for ARM 7 (32 Bit) board to do Sonarqube scanning for C language, please let us know at the earliest, since this is impacting our code analysis on the ARM board.

Best Regards

.wlEmoticon { behavior: url(#default#.WLEMOTICON_WRITER_BEHAVIOR) } img { behavior: url(#default#IMG_WRITER_BEHAVIOR) } .wlWriterEditableSmartContent { behavior: url(#default#.WLWRITEREDITABLESMARTCONTENT_WRITER_BEHAVIOR) } .wlWriterEditableSmartContent > .wlEditField { behavior: url(#default#.WLWRITEREDITABLESMARTCONTENT_>_.WLEDITFIELD_WRITER_BEHAVIOR) } blockquote { behavior: url(#default#BLOCKQUOTE_WRITER_BEHAVIOR) } #extendedEntryBreak { behavior: url(#default##EXTENDEDENTRYBREAK_WRITER_BEHAVIOR) } .postBody table { behavior: url(#default#.POSTBODY_TABLE_WRITER_BEHAVIOR) } .postBody td { behavior: url(#default#.POSTBODY_TD_WRITER_BEHAVIOR) } .postBody th { behavior: url(#default#.POSTBODY_TH_WRITER_BEHAVIOR) } .postTitle {margin: 0px 0px 10px 0px; padding: 0px; border: 0px;} .postBody {margin: 0px; padding: 0px; border: 0px; }

Best Regards

Marish Sharp
E-mail : marish.sharp@saviorstj.com
STJ Electronics Pvt Ltd | X-51, Okhla Industrial Area | Phase-2 | New Delhi | 110 020 |
Tel: +91-11-49816000 | Extension:1205,1212 |
Web : www.saviorstj.com

Hello @marish.sharp, and welcome,

Basically, you have two options:

  • You can build your code on another system (cross compilation), and you analyze this build with the build wrapper
  • You can generate a compilation database for your code so that you can analyze it without actually building it.

This blog post gives more insights into these options.

Dear Sir,

Thankyou for the update.

For us, option 1 means cross compilation, which is currently not possible, so I am opting for option 2 to check the same and update if there are any problems.

Best Regards

Marish Sharp
STJ Electronics Pvt Ltd | X-51, Okhla Industrial Area | Phase-2 | New Delhi | 110 020 |
Tel: +91-11-49816000 | Extension:1205,1212 |
E-mail : marish.sharp@saviorstj.com | Web : www.saviorstj.com

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.