Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp47970ybe; Tue, 3 Sep 2019 17:25:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5c2cbl8U+Du0kXBV4iSlv8N4GCEtGzYAIlE7xR2Jhw6wOLNBYgMBJzdqGCL6pOsF/cQht X-Received: by 2002:aa7:8436:: with SMTP id q22mr15547914pfn.74.1567556717743; Tue, 03 Sep 2019 17:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567556717; cv=none; d=google.com; s=arc-20160816; b=Uk0LKKW5FAQ+cnmAnvJrXfjxi3D2fWwOG8YKoBtfor4zLfBy673ZNNshsFC0hpO7xu Y6enT/g7UrtueyQJl8wldg4YKr6dw9cpudD+vio6TWfjQfIPPVOxUbYDM9mRJ5ocYyb/ tcx+iGK3hRKuZ67xtoV6EZN68MS5/SnulS7FQ8EuUU5XDJhFpOSq+VqQMsa8u9K82NPS 8r+9YQNmgpn6Yl7/OIUFe7dyGfYdoJqVi0mFRL5WIsAlD1L1Jttp5NwMqHTvvHMT/6pZ dVO6ndbL+iM/buouto5kkjXpRcpGHEbpMABt1/XafB1d2IdNNLAh/GDhN5OtOsh/yLR/ pjUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+kGji0iEqvX2PbYbdW45C9GxA697L85/6dAAQKl+YqI=; b=r/kzrtYnGUq9hAs1CbDmYqS6WKJrOv3mtWr9l5tKAdz75fMFRn+qGW9y3Cx2ofu7hv 8LBckWfTXLv5R4bYpd2Vh2GRGhIR8em0Z2g+bY0X5/SRBI1WIrIdtM3Mpv9DCvAPoWLl xA+UFPUjeVflPZFr137bnQK7zQfFm4aPvt4BoIaAkeNDHs0ifjk6Ct7fsKtzSXpHTPyP M90H/icSiAXemgtR1ha8OtpMM3UYwkiv7FpZd6IC9TpE+12Wg02Amt1sLEqsmQDHxN/E GJRXfNUCYDV4TAKQK0ekfgMJGVQe3K5FzfHasXiijAAYG6YuXuWepWvSavgn0NTePgpp iFbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=s823D9jM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b25si16742420pgl.270.2019.09.03.17.24.59; Tue, 03 Sep 2019 17:25:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=s823D9jM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbfIDAYG (ORCPT + 99 others); Tue, 3 Sep 2019 20:24:06 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:55854 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbfIDAYG (ORCPT ); Tue, 3 Sep 2019 20:24:06 -0400 Received: by mail-wm1-f66.google.com with SMTP id g207so1287281wmg.5; Tue, 03 Sep 2019 17:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+kGji0iEqvX2PbYbdW45C9GxA697L85/6dAAQKl+YqI=; b=s823D9jMikjUnE0COKWdQm/5U4/NnfIueifeneGq16e97vNfIELcg2uISDJC5H8Osu mkf7end+YfLLnME+nIbdTcGf8L3mr/WrKyX/l1DiTowgansH74ndS7WLYnhy0hQO9F0K N8xC0HX2mYKW+Mkv4YnyZkRNwM5jTY+He1FfAeVw6hAI+S1FcM/X1C3HuOz+V1yyGQu5 HaphnnucdoJtfT4Ljfx7+pXTfb8COZztaEZ5RJ2wOavoaxjWqCx2lIYg/QA7gpTWlBYL s820/Lyd8uH5qB7MhN1eK/MGWtG3lExath8vlfPqIsMpi25nX3PJgc9sv/129uVc+1Ia tdIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+kGji0iEqvX2PbYbdW45C9GxA697L85/6dAAQKl+YqI=; b=lxEJxRP7EiGueMwdk/mEJKDEWC2acTx1j8ORgpL56ozGCWv0bWK/FRXUyWYrG2V2fh NiL9ZKx6/yt195TiADTnz8RTcCK7iAacbPCT/qYxzXfEsPXP+gWS4E9TvQD3vC//tzud yIoG2weILq8wonUfcCVnGbsgtx/CacrJBDPWlKVO6T0WR6bpzvvTGDJDBtCOvwJzB5rN xZsSZuCzXqCXWl3XFdLDsSioiEGqpsLwDCXbGGfC2LBuW+HmSbgRHWmVlyVbpibk+ryH aNlcxy5O1fzLw2FdI0qgDCDHSEtGqi3lE3oWI/UJkPMKbIS6/Jvul49IuOlQLWUoP/7N iwWQ== X-Gm-Message-State: APjAAAUeTS7GccTHNu9zH5iM2p3nuU8kiijASsYh4wAebkwWkrJnxStX 48x0pFVl7TYoIekW9r+Sp1EdXe9u5g8WaA== X-Received: by 2002:a1c:4c06:: with SMTP id z6mr1965649wmf.47.1567556643727; Tue, 03 Sep 2019 17:24:03 -0700 (PDT) Received: from archlinux-threadripper ([2a01:4f8:222:2f1b::2]) by smtp.gmail.com with ESMTPSA id b26sm1242242wmj.14.2019.09.03.17.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 17:24:03 -0700 (PDT) Date: Tue, 3 Sep 2019 17:24:01 -0700 From: Nathan Chancellor To: Segher Boessenkool Cc: David Laight , Nick Desaulniers , LKML , "# 3.4.x" , clang-built-linux , Paul Mackerras , linuxppc-dev Subject: Re: [PATCH] powerpc: Avoid clang warnings around setjmp and longjmp Message-ID: <20190904002401.GA70635@archlinux-threadripper> References: <20190812023214.107817-1-natechancellor@gmail.com> <878srdv206.fsf@mpe.ellerman.id.au> <20190828175322.GA121833@archlinux-threadripper> <20190828184529.GC127646@archlinux-threadripper> <6801a83ed6d54d95b87a41c57ef6e6b0@AcuMS.aculab.com> <20190903055553.GC60296@archlinux-threadripper> <20190903193128.GC9749@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190903193128.GC9749@gate.crashing.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 03, 2019 at 02:31:28PM -0500, Segher Boessenkool wrote: > On Mon, Sep 02, 2019 at 10:55:53PM -0700, Nathan Chancellor wrote: > > On Thu, Aug 29, 2019 at 09:59:48AM +0000, David Laight wrote: > > > From: Nathan Chancellor > > > > Sent: 28 August 2019 19:45 > > > ... > > > > However, I think that -fno-builtin-* would be appropriate here because > > > > we are providing our own setjmp implementation, meaning clang should not > > > > be trying to do anything with the builtin implementation like building a > > > > declaration for it. > > > > > > Isn't implementing setjmp impossible unless you tell the compiler that > > > you function is 'setjmp-like' ? > > > > No idea, PowerPC is the only architecture that does such a thing. > > Since setjmp can return more than once, yes, exciting things can happen > if you do not tell the compiler about this. > > > Segher > Fair enough so I guess we are back to just outright disabling the warning. Cheers, Nathan