Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752089AbeACPkY (ORCPT + 1 other); Wed, 3 Jan 2018 10:40:24 -0500 Received: from mail.skyhub.de ([5.9.137.197]:52184 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954AbeACPkU (ORCPT ); Wed, 3 Jan 2018 10:40:20 -0500 Date: Wed, 3 Jan 2018 16:40:08 +0100 From: Borislav Petkov To: Lars Wendler Cc: Thomas Gleixner , LKML , x86@kernel.org, Andy Lutomirski , Dave Hansen , Peter Zijlstra , Greg KH Subject: Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries Message-ID: <20180103154008.7rd4moyd2f7t3wt5@pd.tnic> References: <20180103123723.1dd26828@abudhabi.paradoxon.rec> <20180103143036.60e592eb@abudhabi.paradoxon.rec> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180103143036.60e592eb@abudhabi.paradoxon.rec> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.