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.15 with gcc 8 #31

Closed FAMILIAR-project closed 3 years ago

FAMILIAR-project commented 3 years ago

previous attempts over 4.13.3 (see #30 and #27) suggest that closed to 4.14 version there are some issues/regressions with retrospectively recent compiler version... So I've tried with 4.15 with make defconfig; make

pager.c: In function 'pager_preexec':
pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
  select(1, &in, NULL, &in, NULL);
            ^~~    
root@f795d8285355:/linux-4.15# gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

considered as a compiler bug here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84919

but a patch exists and fixes the situation: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad343a98e74e85aa91d844310e797f96fee6983b

FAMILIAR-project commented 3 years ago

same issue with tinyconfig root@ad1cc9a80f87:/linux-4.15# KCONFIG_ALLCONFIG=../TuxML/compilation/x64.config make tinyconfig gcc --version gcc (Debian 8.3.0-6) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

https://bugzilla.kernel.org/show_bug.cgi?id=198299 https://patches.linaro.org/patch/137848/