Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp615233img; Mon, 18 Mar 2019 10:17:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVQ+gfzzLFYOPOnRgJeZUm1fjAVQ+mc3prfbdWev4W4IqDb5eT3/vjMf4jZX8404TFPxJO X-Received: by 2002:a63:4962:: with SMTP id y34mr18925500pgk.425.1552929466365; Mon, 18 Mar 2019 10:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552929466; cv=none; d=google.com; s=arc-20160816; b=DainseT51jHdz2sQXP/rrVEwi7NuoWwiTfO+qhsTL5fnnEh0WUb4FuWDfgLMoE4QFl uPxpuqUcr6tHY7XKoA+lQqNnCKszCZ67xCEsjVqGQK/5GMMgGsy+Z4gOaPbzsAnG3wBp AouejOj9oxcxSAZcSCbR3vaGojALPX4+aaVkfrE9Qd25dyb5BP+vOHUzLTdYOt6o0wM0 KfoYSSj+sdpYl2bO7OB0ozt1Uj4oS15q/L0hVUZRtfoIApy9kGAXq5V1mhqxNtw6KapI Rz/1Vb4FPaaQupU1b+GU8ZXQU6F/r0+0MZ7QqYb0dGW6qR3x9jzTu9YNksDjkE22HfBe p7KA== 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=zd2PatB3kgJ3fmUKExcsxWAv3pQUnPPizAMl6bLC1eM=; b=JYXs7ln4SBivdQ3BK1xJPE6on0Z+BQxWRF/+r4EM33cuBIy69OOXw2r89WdFgiXuBM 2TMFEd/zg1lm4T6PSKL2dFWbTBNU4zljfNQ0TaY/QWnCVLT7IsBHmQ0QRhGz0e2bJpzM WIxK7qtPnYmp2SGbTHbH0KyIw/34uIfPMuFNqNfj+I5tBZgFnydbM8jsco/Ee6WSS8xj yAocdnF5T/gCvrx3A8T2aNQ69S3YSyqgitGCN+ZVj9VRH2dOrWBiWwvvssOE949DIaZK mKAn/gb5fk/akpbO2mluRHhdxJiCu9YydH4Jl6eOrjHn6Csrsw4EO9RQ31nz4dh+L02i Yi0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=re7e79YQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si9594835plr.54.2019.03.18.10.17.31; Mon, 18 Mar 2019 10:17:46 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=re7e79YQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727426AbfCRRQO (ORCPT + 99 others); Mon, 18 Mar 2019 13:16:14 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36650 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbfCRRQO (ORCPT ); Mon, 18 Mar 2019 13:16:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zd2PatB3kgJ3fmUKExcsxWAv3pQUnPPizAMl6bLC1eM=; b=re7e79YQYePtoWPqedXK6ezH6 7uXj7dawFXhCd2KS7YojxGWsNRsG4NuScRH2puIqpQAYP+Cxh8Q6qGRdxpfltf5XkDg5vWgoCT7kt 8VcpouNZ1eSH6wuWX2kDoc/R6ZhVsiZZFORVUynajfNvyw+3j7Ii7DQg37YTEAiR1hFKu5m97t73y 7pSf8GIseeg+nwHC5GmOFn3p2cpHl6OSHwI7mqbN5C8h+0V+iHiN+ed0+i0gGoiUCkzYx4I+86W5r oIWQAXxY0+/S0nFWmBFkwY+Fc7wmpX/Ie+JgjX1aehUOgDRIwm4Rh9o0tRqCA8xyphKGYaPvikE2O 2VbSmObZQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5vrq-0002NV-TJ; Mon, 18 Mar 2019 17:16:07 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 317F5238A0165; Mon, 18 Mar 2019 18:16:04 +0100 (CET) Date: Mon, 18 Mar 2019 18:16:04 +0100 From: Peter Zijlstra To: Nick Desaulniers Cc: Matthias Kaehlcke , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , x86@kernel.org, LKML , Manoj Gupta , Tiancong Wang , Stephen Hines , clang-built-linux@googlegroups.com, Masahiro Yamada Subject: Re: [PATCH] x86/vdso: include generic __lshrdi3 in 32-bit vDSO Message-ID: <20190318171604.GU6058@hirez.programming.kicks-ass.net> References: <20190315222906.GC112750@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 18, 2019 at 10:09:37AM -0700, Nick Desaulniers wrote: > On Fri, Mar 15, 2019 at 3:29 PM Matthias Kaehlcke wrote: > > On Fri, Mar 15, 2019 at 02:31:09PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > > > Is there a config I can set to reproduce this, in order to help > > > test? > > > > I encountered it with a Chrome OS specific configuration, but a > > defconfig should do. > > defconfig selects CONFIG_OPTIMIZE_FOR_PERFORMANCE=y. I needed to > select CONFIG_CC_OPTIMIZE_FOR_SIZE=y to repro. My CI is simply > running defconfigs, which is why I didn't catch this. I suspect the right fix is to make clang use -Os and abolish that -Oz madness.