Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.16 with gcc 8 #32

Closed
FAMILIAR-project opened this issue Dec 16, 2020 · 1 comment
Closed

4.16 with gcc 8 #32

FAMILIAR-project opened this issue Dec 16, 2020 · 1 comment

Comments

@FAMILIAR-project
Copy link
Collaborator

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants