Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

From: Lars Wendler
Date: Wed Jan 03 2018 - 18:23:28 EST


Am Wed, 3 Jan 2018 16:40:08 +0100
schrieb Borislav Petkov <bp@xxxxxxxxx>:

> On Wed, Jan 03, 2018 at 02:30:36PM +0100, Lars Wendler wrote:
> > Same problem with 4.15-rc6. So I suppose that means it's a general
> > issue.
>
> So gentoo recently broke the kernel, see
>
> 3ce120b16cc5 ("kbuild: add '-fno-stack-check' to kernel build
> options")
>
> and you say you hit the same problem with -rc6 and that commit is in
> there so your kernel is probably built with -fno-stack-check.
>
> Just a stab in the dark though: if you build your hello world program
> with -fno-stack-check, does it segfault still?
>
> Thx.
>

The issue you mention here only affects Gentoo hardened installations
which I never used.

Kind regards
Lars

Attachment: pgpgoxgSgl7Fd.pgp
Description: Digitale Signatur von OpenPGP