Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751226AbeACXXY (ORCPT + 1 other); Wed, 3 Jan 2018 18:23:24 -0500 Received: from mout.web.de ([212.227.17.12]:49841 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913AbeACXXX (ORCPT ); Wed, 3 Jan 2018 18:23:23 -0500 Date: Thu, 4 Jan 2018 00:22:32 +0100 From: Lars Wendler To: Borislav Petkov 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: <20180104002232.7927cfc6@abudhabi.paradoxon.rec> In-Reply-To: <20180103154008.7rd4moyd2f7t3wt5@pd.tnic> References: <20180103123723.1dd26828@abudhabi.paradoxon.rec> <20180103143036.60e592eb@abudhabi.paradoxon.rec> <20180103154008.7rd4moyd2f7t3wt5@pd.tnic> Organization: privat X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/C2DVe9=PSShbrplLXdMQLHE"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:pH4w2x7+kqURTzA/Gaqiq+P+2miJe8TLwvgK9SJwP3SF5NdlyZh UraXOwhiyUogYp5mqd1U75ZjIzQ4jTkSzlUa4mojQCIHCdFT8HRNcXxLESIQiCenXVQGw2N /5/LBfJxYNIR5vjqajfOQc70NB0iGd3NufXADbxxgIZlm/4etB9rNEWxGHfS9ceW2i9kN5k dkEPiU/XVR549UGTv3Opg== X-UI-Out-Filterresults: notjunk:1;V01:K0:/1U/rv4UZmY=:gMckfMXJoWbTUeBK6BLT0W f4rtxcZuA2KES9prLMwwClJXFoMimcLe8ELPQ6H8AxZl1Gv9WU34M9jeM4KjaOALoEVB27lWh yIpxbgcOKVLXVSZH4mNpbStxuDdv8NG86jRZLuyeIOEIqnDiNPwi6zdvcBoc0VblTQOWNKckW BTth6rxTu7T5O2XgxxOP2DbTYymA8rlfFVV1TIQs3GnGqk/13nfpzYfOfqJ3sLSeoliu1K/8+ EbD0K7YM+LrtYxkrPvE/xl5tsKYMV27kgDps6ULWIdt6PfblGB0IBd3qmBh8OsRq0ReyQging fdLoEjygCD3vnNwmHadrSbaldCqGUXeHyJW0aXb0Ms9xRPlUl8sC1GL1hxO1qRMdqH9ewLLp6 8UX8HLgjiM0yAYap6bPmO3sZT1i1+1KPO3zZmuZFd629bv34xlbZfmZIDry9uhHW70dNmYkLL nYl9EPEBxpSnBSIQhz6vpAE2GeFI2orqkMJU6oJ9LpCr62ZwsjiLX7RgJBbBHW/Qq0qCzn/qn sSOmn9h39L1yDxb6TqSc4LcdFvYZMB7HtTocNRxVHtdic5zy5spLTcXql9ohc9fhDVW+XPXqP Pgwb4aru+2WcKd3QfCBaFqAQbHXtZe8Bqtvh/DtMF/BxLruhPG5006FGeN0+E5iGuhNXC8U+W IT82uwPr2m3jQ+P3AhRmSLq/62NMJBT3OmMh0mbP2s4rZZ6MILxovAWZz+rMKKI220uEoTUcH yqHizZuJRa9lhvsGaFR4UJWlo8Mqu99Mzszswr4ATdi9JW1yqqeZ96XTCL+Hh6W6vlB9scW1S fbXCqDz8P0cbDTCoEeZIJbuen+ApQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: --Sig_/C2DVe9=PSShbrplLXdMQLHE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Wed, 3 Jan 2018 16:40:08 +0100 schrieb Borislav Petkov : > 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. =20 >=20 > So gentoo recently broke the kernel, see >=20 > 3ce120b16cc5 ("kbuild: add '-fno-stack-check' to kernel build > options") >=20 > 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. >=20 > Just a stab in the dark though: if you build your hello world program > with -fno-stack-check, does it segfault still? >=20 > Thx. >=20 The issue you mention here only affects Gentoo hardened installations which I never used. Kind regards Lars --Sig_/C2DVe9=PSShbrplLXdMQLHE Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEWCOBmo8i7LhvVmNAVx3S0DQ8YDkFAlpNZboACgkQVx3S0DQ8 YDmkJg/+NBA7f1docTblvmA4iseEgm+gLp6rvg2ymnIvkSmKYd3OX8qoVbOGpioJ PYtj80z2MjpuIUW0ljW5hThSQSFailHVdftV23YtmQUraRgcvNx77L2HCQ5qw8G9 Twlt6aW8+5VaKcK7xJmuCsZ6tnKkbRX7eHKZCwreW118WxVJNOqJf7z4W8gkiSOP Ps7ZavKrVZBOfY8tGrcoSHMmjJzXked4h0X7tbAYQWCg8G1FLLeYKC5EnC1nAnsx Pa0kJB4U4IFcvPHIGhUZbidXB04KJqYqfZVw/9f5PIOihfpC9jVNKfC6QCOardNY +LDRp0FXi6H0HEXAORXyjPKOn7KywTlP6b8eq7vMasSRRopl1VmDgeupE6wwZE+J vp7wKfTcpDPpHRfBDf6AFiiR1KbWbK+X5Ihvw5u36J8xkxYYcaMMoWcOTLfXqCKG FEcE8KcxE6FeqY79sm77bVXOv4cOCzi87SPIDj7Fj/3PJzLW6dpkQ1yz/CgfFa5b tUejlaZMo/HHbZYbpDhlijHogyQO73H1vAALmCSVPfmhbH7vKuJuN4427cp8fPKI sNIvjl3rBOMDvrjx9uU2D6XP+1hiu/Px6O2Ib8xyBdiuiu3HlMr6JnN5trHr0pON t/yLw1+s/r3YqsGcciFxcTgg5QDNY71Yj0muAYALCownrcWXyKk= =1OQy -----END PGP SIGNATURE----- --Sig_/C2DVe9=PSShbrplLXdMQLHE--