TuxML / tuxml

The main repository of the TuxML project contains the scripts for building Linux kernel configurations in the large.
Apache License 2.0
4 stars 2 forks source link

4.16 with gcc 8 #32

Closed FAMILIAR-project closed 3 years ago

FAMILIAR-project commented 3 years ago

completely related to #31 attempt: kernel version 4.16 with gcc --version gcc (Debian 8.3.0-6) 8.3.0

make defconfig; make

../lib/str_error_r.c: In function 'str_error_r':
../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
   snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err);
   ^~~~~~~~
cc1: all warnings being treated as errors
mv: cannot stat '/linux-4.16/tools/objtool/.str_error_r.o.tmp': No such file or directory

patch here: https://lkml.org/lkml/2018/3/19/24

FAMILIAR-project commented 3 years ago

a try with 4.17 (that integrates most the patches exposed in #31 #30 #27) show that it works well on defconfig