[lfs-support] Kernel bug involving physical to virtual remapping

Michael Shell list1 at michaelshell.org
Thu Jul 19 23:48:33 PDT 2018

On Thu, 19 Jul 2018 21:54:20 +0200
Frans de Boer <frans at fransdb.nl> wrote:

> I get an syntax error when compiling pager.c. I had this before and 
> remembered that gcc 8.1 is less forgiving then the 7 series.


FWIW, there was some discussion about gcc 8.1 issues on the kernel
mailing list:


But, it seems the problems they mention are just warnings, annoying
but they don't actually break anything.

There are some gcc 8.1 kernel patches here:


The one of interest are the top two with "Support GCC 8" in the title.

But, I think you'll be more interested in the other set of 
GCC 8 patches here:


two files in the kernel source are changed:


So, there is your pager.c problem.

Looking at the patch code, it seems there are/were potential problems
in the kernel code which gcc 8.1 detects and warns (or errors) about.
But, gcc 8 itself isn't the cause of these issues.

> I don't believe that this is the right thread anymore.

Yeah, but the recent little odds and ends here sure are interesting.



More information about the lfs-support mailing list