Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp915041ybz; Fri, 1 May 2020 10:52:32 -0700 (PDT) X-Google-Smtp-Source: APiQypJSWrfeqYiNu3us912apxTwf1Se+bPfLt5w0wJd6TgO24dBg3+RL7xrY9R7S5vs2Lpk+PVi X-Received: by 2002:a17:906:68d7:: with SMTP id y23mr4410421ejr.85.1588355552193; Fri, 01 May 2020 10:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588355552; cv=none; d=google.com; s=arc-20160816; b=f1wKdz77+F+hdOjFFXrrbXT2j0eG+lz9FQN4MzocVIz5mEs36EqoNMThVCe5xPcGDy ep5ZhPSS78BkBddvdCRRbFHyjOuj2LLIDQq1vl4JwqZG+n7399g4WDfFDwLYLm/uOrVU 7Aj1OIoUVFILfxcUrX7iS8TB2hzauGM5jMTPWFbesY49RJJnnLK9JJCIRsT40u8DZswt x4EhXAAf61kG2LLR2H12+PNB4vuwajcVfPZb2fU+dHSmhluHBgkC5lXAmlZmzPPfKXqX 44vjj9Rf6s/IqldAT7ndTw9O231DspQ9B/RbN841yf+cn7RMo3428siFF1jgTD8omf3X KBmg== 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:from:date :dkim-signature; bh=ucsSzBpiK2ssiDfbxZQQI4SWzJTSeJKTe65zvN75TBE=; b=WN+J6m6g+mDxptx5F/LZCU42vA/zuRCWS7a/ZMppJRc7CQZfEkkOfNzfBYtXCuXdwr 1FoZfwhke0etiExbBeqmnPzvxjoMT6cAOXjGo772cYUOTQKoGBGg9G6ohEjnwyLqCucM AIxdQZObVK2ipSCI3/szdGe3ly8j9iD+aAWoNxLPbrV0zF6PYr5+mZuxYoLbrZ3DkhJ1 zJXOLgVCSEf+G+z2G9DKvSDQW8YzlVFN5VCU+H4SvTPri2wRfCa/2n27nD8sivI8uro6 eZ5rF32S1rKPrJLneiisyngBhG8SafG42YvS3S3if0L5wquD8SkfeptsRPL9LDjfaCPQ xGsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TntHSw7X; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x16si2074466eds.487.2020.05.01.10.52.08; Fri, 01 May 2020 10:52:32 -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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TntHSw7X; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730068AbgEARub (ORCPT + 99 others); Fri, 1 May 2020 13:50:31 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:53633 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729393AbgEARub (ORCPT ); Fri, 1 May 2020 13:50:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588355429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ucsSzBpiK2ssiDfbxZQQI4SWzJTSeJKTe65zvN75TBE=; b=TntHSw7X46jcYNQVw/VACPmckN+RqKvUvmirs34AeZGDFw9uF9GuPyzCljJnJRV3i8wCVu 6PupF0u30afATKEIc8BQQqjTsgV5cCrpB3AvrN2BktgXcMo2wmU8joMDuI80KVKRXY5+z4 e+s44Rcn75fyjECILeZHclTkAw1gGhs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-431-GTX5sAw_MO-B9Pq1twleUg-1; Fri, 01 May 2020 13:50:26 -0400 X-MC-Unique: GTX5sAw_MO-B9Pq1twleUg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0EEED108BD16; Fri, 1 May 2020 17:50:25 +0000 (UTC) Received: from treble (ovpn-114-104.rdu2.redhat.com [10.10.114.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 636845EE10; Fri, 1 May 2020 17:50:24 +0000 (UTC) Date: Fri, 1 May 2020 12:50:22 -0500 From: Josh Poimboeuf To: Peter Zijlstra Cc: Arnd Bergmann , the arch/x86 maintainers , Linux Kernel Mailing List Subject: Re: Remaining randconfig objtool warnings, linux-next-20200428 Message-ID: <20200501175022.yf3a34lu3ufui5ag@treble> References: <20200501172616.GG3762@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200501172616.GG3762@hirez.programming.kicks-ass.net> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 01, 2020 at 07:26:16PM +0200, Peter Zijlstra wrote: > On Fri, May 01, 2020 at 07:21:31PM +0200, Arnd Bergmann wrote: > > On Thu, Apr 30, 2020 at 4:05 PM Arnd Bergmann wrote: > > it gets into undefined behavior and stops emitting code after the call to > > > Do we consider this expected behavior on gcc's side, or is it something > > that should not happen and needs a gcc bug report? > > When it hits UB it is of course free to do whatever it damn well > pleases, but just stopping code gen seems a little extreme, at least > issue a WARN that something is up or so. > > Not sure how the GCC folks feel about this though. When we've seen truncated code flow like this in the past, it's either been a code bug (undefined behavior) or a GCC bug. So this is new. Is it only seen with GCC_PLUGIN_SANCOV enabled? Maybe (hopefully) it's an issue with the plugin and how it interacts with GCC 10. -- Josh