From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56CDBC433E7 for ; Sun, 11 Oct 2020 12:15:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E4DF206B6 for ; Sun, 11 Oct 2020 12:15:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387760AbgJKMPe (ORCPT ); Sun, 11 Oct 2020 08:15:34 -0400 Received: from albireo.enyo.de ([37.24.231.21]:59692 "EHLO albireo.enyo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387410AbgJKMPe (ORCPT ); Sun, 11 Oct 2020 08:15:34 -0400 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kRaFy-0007Zg-Qw; Sun, 11 Oct 2020 12:15:18 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1kRaFy-0004Bc-OA; Sun, 11 Oct 2020 14:15:18 +0200 From: Florian Weimer To: Mark Wielaard Cc: Andi Kleen , Peter Zijlstra , Stephane Eranian , linux-toolchains@vger.kernel.org, Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Ingo Molnar , Jiri Olsa , Namhyung Kim , Ian Rogers , "Phillips\, Kim" , Mark Rutland , Masami Hiramatsu Subject: Re: Additional debug info to aid cacheline analysis References: <20201006131703.GR2628@hirez.programming.kicks-ass.net> <20201008070231.GS2628@hirez.programming.kicks-ass.net> <50338de81b34031db8637337f08b89b588476211.camel@klomp.org> <20201008212259.gdhlwdswn5pu4zos@two.firstfloor.org> <20201010205836.GA2666@wildebeest.org> Date: Sun, 11 Oct 2020 14:15:18 +0200 In-Reply-To: <20201010205836.GA2666@wildebeest.org> (Mark Wielaard's message of "Sat, 10 Oct 2020 22:58:36 +0200") Message-ID: <87h7r1x8kp.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Mark Wielaard: > Yes, that would work. I don't know what the lowest supported GCC > version is, but technically it was definitely fixed in 4.10.0, 4.8.4 > and 4.9.2. And various distros would probably have backported the > fix. But checking for 5.0+ would certainly give you a good version. > > How about the attached? Would it be possible to test for the actual presence of the bug, using -fcompare-debug? (But it seems to me that the treatment of this particular compiler bug is an outlier: other equally tricky bugs do not receive this kind of attention.)