Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp27512ybt; Tue, 16 Jun 2020 15:32:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUlAqhLJ8nEnWLjuolY1Y85t63VLEBcaHFQsaPLQtjF6dis9A9fDIlUR+wF7M0mqleoa7w X-Received: by 2002:a50:a661:: with SMTP id d88mr4678112edc.34.1592346754151; Tue, 16 Jun 2020 15:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592346754; cv=none; d=google.com; s=arc-20160816; b=cGDOgpyzCm/ts3VgztDipdmh26wcU87qd631bJIZDqjEG3kG7kHABGAo4+Cf7xArbj wiFRAyz/2n7YUHNedpXVngF2PSmgFK33ypiWkyjPcIj2PuPgeNLZzEAc5jK+hc+ykFaA xQtiWrpB9fRqYgpHlKZn9mIVagB4Rn5PW87W8TemdF/K7B4I++tonmHHr4LDa8R2xzou mfdS6lcgJhuqcJIa9xQHpCJtqYP0Wt/cFRyB1a7ab44E0Cl+jdU1XgQZoN0b8+V2KREP Yfv5FEvfni6H0kivvitAAUnwOzzhjFd9CN6f3/YTB50aTRwQFyMLbaKbv/1C5jQbVNnr ns6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=mGsJpvZJmzw6VFMfATWAqn83hx8/PHV4IC9zhJSVGPg=; b=E/r4LZaYDqMD3WQBqnUkUUxFKDMxxuHLRfkhrcFhLX/5Va/2xFtaXy6L+YfPzC87n2 umLoaswbkwMZFC83bzuL5ihBT3gg7idyaKj6XAFlHRUTCAs+huf2JQvIFqVwb8kHkmIU eZiuKiOmf1vaMuiMcsekQGrZxLn0qAKFiftaAof+boOhkpkCHbwH7Wb8wk8pLQHLd0pZ 54w+aNeKZneGxH4st77seEI7wtmdHVPOCLnUCV7bp7uS/5Qx0mWmr86ZcK1nllbqkXzk s4IArPqwx9IDUfkHp5vyNnE027SVqNyhHWsyHVhfnHCWd6RjGAkPztH/UaOLWl1TZLuW dxOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="kID/aOsj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a21si10843657edr.375.2020.06.16.15.32.11; Tue, 16 Jun 2020 15:32:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="kID/aOsj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726331AbgFPW2X (ORCPT + 99 others); Tue, 16 Jun 2020 18:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbgFPW2W (ORCPT ); Tue, 16 Jun 2020 18:28:22 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 807A3C061573 for ; Tue, 16 Jun 2020 15:28:22 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id d27so51706qtg.4 for ; Tue, 16 Jun 2020 15:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mGsJpvZJmzw6VFMfATWAqn83hx8/PHV4IC9zhJSVGPg=; b=kID/aOsjYQ06FX341gItfQKHP3WyS1OIJB9yopLde9hqPrrumlRlkpKkZNu2UwusQr svnuUk+YjbpG7GKymIhl4Jf5haBv/4idVv917wCWo5G1mKcUYJni/qA3pINs/7pOwfqt jJnOUp7ms1hvrKWspSDL62aoLdlCQM6JeKh7H2n9lSexQk4pvd1XAUD7Q0q1OmlaK0aG A2q71XqSgfBzqg+aYET0d4P2mpzwgFya68krw0QbrPNvnGNdJoYeeKe/Z31VIRWUZg3h U/L/DJzqetrJPxSV7qs67qqlT4wuUwbDLFLPJFCVK0IgqeXFHna0GyQo3YXndJNx2N5z 3hXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=mGsJpvZJmzw6VFMfATWAqn83hx8/PHV4IC9zhJSVGPg=; b=ZEcimx/5r4lHUcu1yw9mtL4kVbAXY0EYSNzq9W/UHMYSHsNWbjg91D25RuZzvIQops eW1j5WbgE/c1TaZWiRqUPIrtgRIIMFS305ntMHS235AJ3ABkcg4mlDW2y3VmddzDCGio 3oZdAiqk4DL+OHFWzv0UYmRGF4Xx6gkXYfZz9JzW4de1sKHaI14ahO1wzyG1ZqJOyD8l Dw11mMkyw1VZ4IaEclg8Rh7k9Xqt+r/lowI1kps/2T3OsjOQuH0RbLfguuIVl5qmdeZZ yWHsYT+oULtmBRklYUntY573X1cW4bC2MNLM8lt6yfNHwsbJj3qGd44kbdOOZ+rmLmjE pXMA== X-Gm-Message-State: AOAM531YSJxF4o8e3DKO7EVel1p7E9t4VvmAk9bduNe/hgqyciWR5hOv 9srWq+ozxj/ZLtF3ulaiowQ= X-Received: by 2002:ac8:4f46:: with SMTP id i6mr23248812qtw.317.1592346501666; Tue, 16 Jun 2020 15:28:21 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id h19sm2531671qkj.109.2020.06.16.15.28.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 15:28:20 -0700 (PDT) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Tue, 16 Jun 2020 18:28:19 -0400 To: Gabriel C Cc: Arvind Sankar , Linus Torvalds , Linux Kernel Mailing List , Hans de Goede , Borislav Petkov Subject: Re: Linux 5.8-rc1 Message-ID: <20200616222819.GA1977632@rani.riverdale.lan> References: <20200616203352.GA1815527@rani.riverdale.lan> <20200616212536.GA1934393@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 17, 2020 at 12:00:14AM +0200, Gabriel C wrote: > Am Di., 16. Juni 2020 um 23:25 Uhr schrieb Arvind Sankar > : > > > > On Tue, Jun 16, 2020 at 11:17:08PM +0200, Gabriel C wrote: > > > Am Di., 16. Juni 2020 um 22:33 Uhr schrieb Arvind Sankar > > > : > > > > > > > > Can you attach the output of gcc -dumpspecs and gcc -v? I suspect your > > > > compiler enables stack protector by default. My distro compiler does > > > > that too, but not if -ffreestanding is enabled (which it is for the > > > > purgatory). > > > > > > > > > > Files including config uploaded to there: > > > > > > http://crazy.dev.frugalware.org/kernel/ > > > > > > > Yeah, your gcc doesn't have the -ffreestanding handling. Mine (from > > gentoo) has this in the -dumpspecs output: > > > > *cc1_options: > > ... %{nostdlib|nodefaultlibs|ffreestanding:-fno-stack-protector} ... > > > > to switch off the default ssp when the standard libraries aren't available. > > I wondered what they enable to do that. it turns out it is a custom patch. > While I think having that is not bad, such patches lead to bugs like this one. Right. Debian also has a similar custom patch to adjust the specs. It would probably be better if something were upstreamed :)