Open FAMILIAR-project opened 5 years ago
I look into stderr log file for cid 76 :
scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
/* empty file to figure out endianness / word size */
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
method : download the blob file from database, and use miscellaneous/log_decoder.py to decode it
for the side note, it looks like some typo could be present, i will look into it.
Hum maybe related to https://askubuntu.com/questions/851433/kernel-doesnt-support-pic-mode-for-compiling and what @Luisky explained to us about gcc-hell We have to validate this assumption and explicitly warn that below version 4.9, we're unable to support it. (Or find a workaround which is not so straightforward to implement I think)
TODO: update the documentation to state that we only support kernel version >= 4.9
python3 kernel_generator.py --tiny --linux4_version 8.1 --dev 1
python3 kernel_generator.py --tiny --linux4_version 8.1 --dev 1
same with 7.1
It works with version 9.1 !!
side note: it seems versioning support cannot be activated without having the "core" Docker images before (ie I clean my Docker images, and then directly use linux4_version: it fails; when I clean my Docker images, launch --tiny on the default version, and then linux4_version it works!)