Sonar CFamily not working with gcc and segger embedded studio

Template for a good bug report, formatted with Markdown:

  • Versions used (SonarQube latest developer edition, Scanner latest, Plugin (latest CFamily),
  • Error observed (wrap logs/code around triple quote ``` for proper formatting)
    Build Wrapper Dump Json is empty.

INFO: Scanner configuration file: C:\CODE\sonar-scanner-4.2.0.1873-windows\bin…\conf\sonar-scanner.properties
INFO: Project root configuration file: U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\sonar-project.properties
INFO: SonarQube Scanner 4.2.0.1873
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Windows 10 10.0 amd64
INFO: User cache: C:\Users\johannes.brunner.sonar\cache
INFO: SonarQube server 8.0.0
INFO: Default locale: “en_US”, source code encoding: “UTF-8”
INFO: Load global settings
INFO: Load global settings (done) | time=117ms
INFO: Server id: BF41A1F2-AW7VKzvrbFfsRML4EQ1O
INFO: User cache: C:\Users\johannes.brunner.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=48ms
INFO: Load/download plugins (done) | time=210ms
INFO: Loaded core extensions: developer-scanner
INFO: Process project properties
INFO: Process project properties (done) | time=10ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=4ms
INFO: Project key: myFirstProject
INFO: Base dir: U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello
INFO: Working dir: U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello.scannerwork
INFO: Load project settings for component key: ‘myFirstProject’
INFO: Load project settings for component key: ‘myFirstProject’ (done) | time=101ms
INFO: Load project branches
INFO: Load project branches (done) | time=17ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=10ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=1ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=43ms
INFO: Load active rules
INFO: Load active rules (done) | time=4225ms
WARN: SCM provider autodetection failed. Please use “sonar.scm.provider” to define SCM of your project, or disable the SCM Sensor in the project settings.
INFO: Indexing files…
INFO: Project configuration:
INFO: 1 file indexed
INFO: Quality profile for c: Sonar way
INFO: ------------- Run sensors on module My First C Project
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=54ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/johannes.brunner/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO: Sensor JavaXmlSensor [java]
INFO: Sensor JavaXmlSensor [java] (done) | time=2ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=8ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=6ms
INFO: Sensor CFamily [cpp]
INFO: Using build-wrapper output: U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\build_wrapper_output_directory\build-wrapper-dump.json
INFO: Available processors: 4
INFO: Using 1 thread for analysis according to value of “sonar.cfamily.threads” property.
INFO: Load project repositories
INFO: Load project repositories (done) | time=13ms
INFO: 0 compilation units analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 15.877s
INFO: Final Memory: 21M/74M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: The “build-wrapper-dump.json” file was found empty. Please make sure that:

  • you are using the latest version of the build-wrapper and the SonarCFamily analyzer
  • your compiler is supported
  • you are wrapping your build correctly
  • you are wrapping a full/clean build
    at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:247)
    at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
    at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
    at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:62)
    at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
    at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:387)
    at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:383)
    at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:346)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
    at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:141)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
    at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
    at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
    at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
    at com.sun.proxy.$Proxy0.execute(Unknown Source)
    at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
    at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
    at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
    at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
    at org.sonarsource.scanner.cli.Main.main(Main.java:61)
    ERROR:
    ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
  • Steps to reproduce
    Sonar Qube Developer Edition with CFamily
    Download build-wrapper
    Down sonar scanner
    Download Segger Embedded Studio
    Open up Segger Embedded Studio with new project (contains only main.c)
    Produce some issues like division by 0.
    Run the build from command line with embuild and build wrapper
 .\build-wrapper-win-x86-64.exe --out-dir   build_wrapper_output_directory "C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\bin\emBuild.exe" -config Debug  .\Hello.emProject -verbose -rebuild

run start-sonar and get error.

  • Potential workaround
    No workaround
  • Scanner command used when applicable (private details masked)
    sonar-scanner.bat

Other Information.
Project (=folder) structure for C project Hello:

Hello
  sonar-project.properties
  Source
    main.c
  Hello.emProject

build-wrapper.log (excerpt because not possible to upload logfiles)

Fri Dec 06 07:06:06 2019: build-wrapper, version 6.4 (win-x86-64)
Fri Dec 06 07:06:06 2019: isWow64: 0
Fri Dec 06 07:06:06 2019: windows version: 6.2, service pack: 0.0, build number: 9200, product type: 1
Fri Dec 06 07:06:06 2019: current directory: U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello
Fri Dec 06 07:06:06 2019: command line received: <"C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\bin\emBuild.exe" -config Debug .\Hello.emProject -verbose -rebuild>
Fri Dec 06 07:06:06 2019: initializing json file
Fri Dec 06 07:06:06 2019: starting debug cycle
Fri Dec 06 07:06:06 2019: process created with pid: 17308
Fri Dec 06 07:06:06 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe>
Fri Dec 06 07:06:06 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb -mtp=soft -munaligned-access -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/include" "-isystemC:/Users/johannes.brunner/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -ISEGGER -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7M__ -D__SES_ARM -D__HEAP_SIZE__=1024 -D__SES_VERSION=43003 -D__SEGGER_LINKER -DDEBUG -MD "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_RTT.d" -MQ "Output/Hello Debug/Obj/SEGGER_RTT.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common "U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\SEGGER\SEGGER_RTT.c" -o "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_RTT.asm">
Fri Dec 06 07:06:06 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:06 2019: isWow64: 0
Fri Dec 06 07:06:06 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe with pid: 17308
Fri Dec 06 07:06:06 2019: process created with pid: 18132
Fri Dec 06 07:06:06 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe>
Fri Dec 06 07:06:06 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb -mtp=soft -munaligned-access -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/include" "-isystemC:/Users/johannes.brunner/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -ISEGGER -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7M__ -D__SES_ARM -D__HEAP_SIZE__=1024 -D__SES_VERSION=43003 -D__SEGGER_LINKER -DDEBUG -MD "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_RTT_Syscalls_SES.d" -MQ "Output/Hello Debug/Obj/SEGGER_RTT_Syscalls_SES.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common "U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\SEGGER\SEGGER_RTT_Syscalls_SES.c" -o "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_RTT_Syscalls_SES.asm">
Fri Dec 06 07:06:06 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:06 2019: isWow64: 0
Fri Dec 06 07:06:06 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe with pid: 18132
Fri Dec 06 07:06:06 2019: process created with pid: 18556
Fri Dec 06 07:06:06 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe>
Fri Dec 06 07:06:06 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb -mtp=soft -munaligned-access -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/include" "-isystemC:/Users/johannes.brunner/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -ISEGGER -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7M__ -D__SES_ARM -D__HEAP_SIZE__=1024 -D__SES_VERSION=43003 -D__SEGGER_LINKER -DDEBUG -MD "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/main.d" -MQ "Output/Hello Debug/Obj/main.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common "U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\Source\main.c" -o "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/main.asm">
Fri Dec 06 07:06:06 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:06 2019: isWow64: 0
Fri Dec 06 07:06:06 2019: process created with pid: 13756
Fri Dec 06 07:06:06 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe>
Fri Dec 06 07:06:06 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/include" "-isystemC:/Users/johannes.brunner/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -ISEGGER -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7M__ -D__SES_ARM -D__HEAP_SIZE__=1024 -D__SES_VERSION=43003 -D__SEGGER_LINKER -DDEBUG -MD "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/Cortex_M_Startup.d" -MQ "Output/Hello Debug/Obj/Cortex_M_Startup.o" -quiet -lang-asm "U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\System\Cortex_M_Startup.s" -o "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/Cortex_M_Startup_PP.s">
Fri Dec 06 07:06:07 2019: process created with pid: 24832
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/Cortex_M_Startup_PP.s" -o "Output/Hello Debug/Obj/Cortex_M_Startup.o" -g -gdwarf-4>
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe with pid: 24832
Fri Dec 06 07:06:07 2019: process created with pid: 34660
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_RTT.asm" -o "Output/Hello Debug/Obj/SEGGER_RTT.o">
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe with pid: 34660
Fri Dec 06 07:06:07 2019: process created with pid: 26068
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_RTT_Syscalls_SES.asm" -o "Output/Hello Debug/Obj/SEGGER_RTT_Syscalls_SES.o">
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: process created with pid: 27800
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/main.asm" -o "Output/Hello Debug/Obj/main.o">
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: process created with pid: 20012
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/include" "-isystemC:/Users/johannes.brunner/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -ISEGGER -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7M__ -D__SES_ARM -D__HEAP_SIZE__=1024 -D__SES_VERSION=43003 -D__SEGGER_LINKER -DDEBUG -MD "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/HardFaultHandler.d" -MQ "Output/Hello Debug/Obj/HardFaultHandler.o" -quiet -lang-asm "U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\System\HardFaultHandler.S" -o "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/HardFaultHandler_PP.S">
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe with pid: 20012
Fri Dec 06 07:06:07 2019: process with pid 35592 exit with code: 0 (0x0)
Fri Dec 06 07:06:07 2019: process created with pid: 20404
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb -mtp=soft -munaligned-access -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/include" "-isystemC:/Users/johannes.brunner/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -ISEGGER -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7M__ -D__SES_ARM -D__HEAP_SIZE__=1024 -D__SES_VERSION=43003 -D__SEGGER_LINKER -DDEBUG -MD "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_HardFaultHandler.d" -MQ "Output/Hello Debug/Obj/SEGGER_HardFaultHandler.o" -quiet -std=gnu99 -g3 -gpubnames -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common "U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\System\SEGGER_HardFaultHandler.c" -o "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_HardFaultHandler.asm">
Fri Dec 06 07:06:07 2019: process created with pid: 34116
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\cc1.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -E -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/include" "-isystemC:/Users/johannes.brunner/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -ISEGGER -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7M__ -D__SES_ARM -D__HEAP_SIZE__=1024 -D__SES_VERSION=43003 -D__SEGGER_LINKER -DDEBUG -MD "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_THUMB_Startup.d" -MQ "Output/Hello Debug/Obj/SEGGER_THUMB_Startup.o" -quiet -lang-asm "U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\System\SEGGER_THUMB_Startup.s" -o "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_THUMB_Startup_PP.s">
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: process created with pid: 27740
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/HardFaultHandler_PP.S" -o "Output/Hello Debug/Obj/HardFaultHandler.o" -g -gdwarf-4>
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe with pid: 27740
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_THUMB_Startup_PP.s" -o "Output/Hello Debug/Obj/SEGGER_THUMB_Startup.o" -g -gdwarf-4>
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe with pid: 37996
Fri Dec 06 07:06:07 2019: process created with pid: 38136
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/gcc/arm-none-eabi/bin/as" --traditional-format -mcpu=cortex-m3 -mlittle-endian -mfloat-abi=soft -mthumb "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_HardFaultHandler.asm" -o "Output/Hello Debug/Obj/SEGGER_HardFaultHandler.o">
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\gcc\arm-none-eabi\bin\as.exe with pid: 38136
Fri Dec 06 07:06:07 2019: process created with pid: 31932
Fri Dec 06 07:06:07 2019: process created with pid: 20292
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\bin\rm.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/bin/rm" "U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/SEGGER_HardFaultHandler.asm">
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:07 2019: skipping process C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\bin\rm.exe with pid: 20292
Fri Dec 06 07:06:07 2019: process created with pid: 34440
Fri Dec 06 07:06:07 2019: image path name: <C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30c\bin\segger-ld.exe>
Fri Dec 06 07:06:07 2019: command line: <"C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.30c/bin/segger-ld" --add-region FLASH1=0x00100000@0x00000000 --add-region RAM1=0x00010000@0x20000000 --defsym=__STACKSIZE__=1024 --defsym=__STACKSIZE_PROCESS__=0 --defsym=__HEAPSIZE__=1024 --full-section-headers -ereset_handler --defsym=__vfprintf=__vfprintf_int_nwp --defsym=__vfscanf=__vfscanf_int --silent --list-all-undefineds --fatal-warnings -EL -mcpu=cortex-m3 --gc-sections -TSetup/SEGGER_Flash.icf -Map Output/Debug/Exe/Hello.map -u_vectors -o Output/Debug/Exe/Hello.elf --emit-relocs --start-group "@U:/Documents/SEGGER Embedded Studio for ARM Projects/Hello/Output/Hello Debug/Obj/Hello.ind" --end-group>
Fri Dec 06 07:06:07 2019: working directory: <U:\Documents\SEGGER Embedded Studio for ARM Projects\Hello\>
Fri Dec 06 07:06:07 2019: isWow64: 0
Fri Dec 06 07:06:08 2019: finalizing json file

Hello @johannes.brunner,

SEGGER Embedded Studio is not currently supported. It is on our list of compilers that we want to support. Sadly, we currently don’t have an ETA. You can follow CPP-2060 for updates.