Bugzilla – Bug 1084620
GCC 8: kernel-vanilla build fails
Last modified: 2022-07-21 17:21:38 UTC
Build the package with GCC 8, there's error:
kernel-vanilla.log:[ 92s] pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
Please build the project as follows to reproduce the issue:
osc build --alternative-project=openSUSE:Factory:Staging:Gcc7
On the other hand master build works for me. The vanilla branch often contains intermittent errors because it merges bleeding edge git snapshots so I am not overly concerned.
Pending patch is here, please backport it after it will land:
Thanks for reporting the fix
It will get into vanilla automatically when it lands but may be needed in master eventually.
Merged into master branch