-
Hi, I'm trying to run CodeQL on of my repositories (https://github.com/jgromes/RadioLib), but I'm seeing the following error message:
The workflow run in question can be found here: https://github.com/jgromes/RadioLib/runs/1055172671 I suspect this is due to the non-standard build process I'm using - the code is compiled using a command-line utility (arduino-cli), which internally uses avr-gcc. There's no use of build systems like cmake. The output is a GCC-compiled ELF file. Is there something that's not configured correctly here, or is it required to use e.g. cmake or make to compile prior to CodeQL scan? Thank you for any help or pointers. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi jgromes, The problem is caused by avr-g++ being executed directly from a statically linked binary. If you do something like
after |
Beta Was this translation helpful? Give feedback.
Hi jgromes,
The problem is caused by avr-g++ being executed directly from a statically linked binary. If you do something like
after
arduino-cli core install arduino:avr
then it should work around the problem.