Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp713893rwr; Thu, 27 Apr 2023 07:17:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5oaz47NZAEGlzvAVQ6WPSGvsqXwTw2HJdFsQKoJa3i9lgBaws1BymxQN41g7YkaSTtRu9n X-Received: by 2002:a05:6a21:33a0:b0:e8:dcca:d9cb with SMTP id yy32-20020a056a2133a000b000e8dccad9cbmr2471604pzb.5.1682605030181; Thu, 27 Apr 2023 07:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682605030; cv=none; d=google.com; s=arc-20160816; b=n6cWf7W1FcmvUdYC9+I6Ha13MIAf12gINLhw/gRqVv2UQH2l3UsWSHrdDIDeemcW8q x1IZ2TGkH/eLWqU+ogVtcdRKSU7IYW3l/wc0VcWCRVKUlu2tWo/1ZEUDpMqVgeBQfk7O 5CzMwbRlRVBhRFHriOBCRCSosyOuboGYvouANnQ1H4WvnMbnaD5cN2i5Zkmuv+7a80fl uBBLgnyy7ijyNJXaJLQugQ44RXatlYoUAKf4USOZX0eBLvg3GX5WO0t4hU11G9S3KNTm OXtLTVJUl7OFKZmgQIPF3pS3efiGuQsgodhFzPKHpOk5AY2r9WY412CSHcsVUMAIAONr BBGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=q8JlyF1aNHES3h7STLRujrhXXNku8XOt2DBhyeyLDsM=; b=CVZDBnlue1wegZ+qLe/5Gdq3+2bEsm5YLQWcPWnhoYffjM/HiWB+W/XCfDhWr+Pd3Z rU5qhC8QhPIRtVMCSEhmNSxeOsZDTv7RhUPDcPh/yBKZsC6PgI0tAz2wshX6192tbHmY VPDyzT4c7LRAFZqkSY8H2V2YpsHjiR3MTQF4YSBAriVo6oeoF7JIhFrDgpoOzNGBnwV8 YpVsODqGYvFwhGcAsT+Hcxi0DAm9UXuTbrVIebbl3AulfJl5Z4ZyxQmHeNyO4EORFYww sTNZiB7Ac0+d9XmDzj8E/nNa1vxCY50dWeHxDMCZC46XrzPL8v/ozJSdQHoX/xPJXFby 81bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=rxAoUoti; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a63f110000000b0051b1fe0b7besi19113131pgi.580.2023.04.27.07.16.57; Thu, 27 Apr 2023 07:17:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=rxAoUoti; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243877AbjD0ONY (ORCPT + 99 others); Thu, 27 Apr 2023 10:13:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243885AbjD0ONU (ORCPT ); Thu, 27 Apr 2023 10:13:20 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C68D30D3; Thu, 27 Apr 2023 07:13:18 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Q6d4S2KKRz4x5Q; Fri, 28 Apr 2023 00:13:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1682604792; bh=q8JlyF1aNHES3h7STLRujrhXXNku8XOt2DBhyeyLDsM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rxAoUotiaSZ0B2MNtNhK5O54ewKr2Y2p8GBh/uVfcRd9tG/U0VHYrTnPf3mNaz4dd Mp/8hZCTKlweQnYjAb5Sj4Ov9JxcltPWKZE+x6DL3LxxrqN8TkChjPV1uF7qKM9SRT hpgr0tQrXlRUty6wErrsWaImciH/uMlV/GDOrgokOcwaRK4cZyJlLQ3pWZFtJBgmtz hT+B4HcnXs2kv+o+mBSWBYMTuBNVPyJKRqdfJl8AKMV//sefay3ZAt3ejWCkbtPb5c zzEaWFUCwGojRWKmFYMstmPzw9jIxB5TLmOh/WySVKQFx+X0sl3RU/5fnAxo0tBayW s6r1DNjDfs4iQ== From: Michael Ellerman To: Zhouyi Zhou Cc: linuxppc-dev , rcu , linux-kernel , lance@osuosl.org, "Paul E. McKenney" Subject: Re: BUG : PowerPC RCU: torture test failed with __stack_chk_fail In-Reply-To: References: <87cz3tylwx.fsf@mail.concordia> <87v8hixbql.fsf@mail.concordia> Date: Fri, 28 Apr 2023 00:13:11 +1000 Message-ID: <87wn1xquq0.fsf@mail.concordia> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Zhouyi Zhou writes: > On Thu, Apr 27, 2023 at 11:09=E2=80=AFAM Michael Ellerman wrote: >> >> Zhouyi Zhou writes: >> > On Tue, Apr 25, 2023 at 2:01=E2=80=AFPM Zhouyi Zhou wrote: >> >> On Tue, Apr 25, 2023 at 6:07=E2=80=AFAM Michael Ellerman wrote: >> ... >> >> > >> >> > There's 12.2.0 here: >> >> > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86= _64/12.2.0/ >> >> > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/ppc= 64le/12.2.0/ >> >> > powerpc64le-linux-gnu-gcc-12 cross compiler on my Ubuntu 22.04 does >> > not seem to have that issue as gcc-10 does >> >> OK. So so far it's only that GCC 10 that shows the problem. >> >> If you have time, you could use some of the other versions to narrow >> down which versions show the bug: >> >> https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/ppc64le/ >> >> There's an 11.0, 11.1 and 11.3 there, as well as 9.5 and so on. > GCC test results (Tested on PPC VM of Open Source Lab of Oregon State > University) > gcc 9.4 (ubuntu native): positive, show bug > gcc 9.5 (download form [1]): positive, show bug > gcc 10.1 (download from [1]): positive, show bug > gcc 10.3 (download from [1]): positive, show bug > gcc 10.4 (download from [1]): positive, show bug > > gcc 11.0 (download from [1]): negative, no bug > gcc 11.1 (download from [1]): negative, no bug > gcc 11.3 (download from [1]): negative, no bug > gcc 12.1 (download from [1]): negative, no bug > gcc 12.2 (download from [1]): negative, no bug Awesome work. How are you testing for presence/absence of the bug? By running your test and seeing if it crashes, or by looking at the generated code? cheers