On Thu, 19 Jul 2018 21:54:20 +0200
Frans de Boer <fr...@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.


  Frans,

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

https://lkml.org/lkml/2018/5/5/181

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:

https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/log/?h=objtool-gcc8

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:

https://patchwork.openembedded.org/patch/151479/

two files in the kernel source are changed:

tools/lib/str_error_r.c 
tools/lib/subcmd/pager.c

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.


  Cheers,

  Mike

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to