Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751332AbdFDUWe (ORCPT ); Sun, 4 Jun 2017 16:22:34 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:49772 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751188AbdFDUW1 (ORCPT ); Sun, 4 Jun 2017 16:22:27 -0400 Date: Sun, 04 Jun 2017 16:22:26 -0400 (EDT) Message-Id: <20170604.162226.1986766921223996448.davem@davemloft.net> To: wbx@openadk.org Cc: glaubitz@physik.fu-berlin.de, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: sparc gcc 7.1 compile issue From: David Miller In-Reply-To: <20170604144044.GK26922@waldemar-brodkorb.de> References: <20170602.132809.1754806777743128355.davem@davemloft.net> <20170604144044.GK26922@waldemar-brodkorb.de> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 04 Jun 2017 12:40:49 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 22 From: Waldemar Brodkorb Date: Sun, 4 Jun 2017 16:40:45 +0200 > Hi Adrian, > John Paul Adrian Glaubitz wrote, > >> On 06/02/2017 07:28 PM, David Miller wrote: >> >> Isn't a bug in the kernel if an application is able to crash to the point >> >> that the machine has to be hard-rebooted? >> > >> > It can be a bug in the compiler too and not necessarily the kernel's >> > fault which is what I think is happening in your case. >> >> So, in your point of view it's perfectly fine if an application is able >> to crash the whole kernel with just user privileges? >> >> Shouldn't the kernel be able to cope with that? > > I think he means your kernel you are running might be miscompiled > with gcc 7.1. That's exactly what I am saying.