Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2793219rwb; Fri, 16 Dec 2022 06:37:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf468zYtJtd2QvcmC11yLUQ2Jx2x+KiZH/wvP2ag79tkv6BQ+crlIFguHqIuB9p47e/PNhm/ X-Received: by 2002:a05:6a20:ce03:b0:ad:394e:ac95 with SMTP id ic3-20020a056a20ce0300b000ad394eac95mr37554809pzb.24.1671201428120; Fri, 16 Dec 2022 06:37:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671201428; cv=none; d=google.com; s=arc-20160816; b=xKhW2ykV9nRjMVFvFAO2ZcBRHSMna6Q8dLiM8SuYoGk3stEjaVhMVGcmCpeVKmJdbz 4oVS1WcajbgunwpBDM3MemqGv1QPnKRu9SHFUieJhEtweaxVpCI0Z/2n14eTcgnMfA8M qphenjYGPsZN9zurw1O3I18hhvreUgdV120nPUlKJ9B/tXSMpBccvs3n062aWzeUYaVF 0YbbQ0lJdKsE2slxKliEitz9XxER8lzSXqB4zuiSpfI1LT2/xMSF5TQAm9AAvXmDKYCP YNgTcgXsiMTIHnHCbCbeE9Yg8cRvAVmVLEw3Rd/f6wa0wntcjQUxwyvUaaSJbrdqMTG6 H4uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=L3H8WjKkUypfYdNf3WjDcHEUZ75XNYHqdA2qeSoyC8s=; b=CPvQCSulyBrsuZBg4RC4f2DbMw/xsTOvt8LJtD+lLWCMqku7ulBeWk8KVz3LpvC8sp CMRdZzxQue10BNqenqW7J+FgACMG5h9Du34Z8erC8EXT4b1v0hjgRZaFt8Qb/h1Mknil xvTSEcMDRBRcOaAbtVwE/7jyYJj3m4OSNLQ2JZZUtzr4xPbHgYdooaJGh63VVSZScOUe QgRjQFcSKhkLuoSaHCl5EBDDukdAnXbvcF1Ee1ZG2hd5fVKDalXJxjO8WFj4BgoSuPMw dZ7yK7G+eWag6WDIBf+Eq/B1vYQ23wAMuRZviUW+bQCJpSK2e0dTI0wUBiRwZC/XYPq5 MLQw== ARC-Authentication-Results: i=1; mx.google.com; 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 u14-20020a63470e000000b0046fbaeb1247si2883291pga.48.2022.12.16.06.36.58; Fri, 16 Dec 2022 06:37:08 -0800 (PST) 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; 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 S230320AbiLPNrv (ORCPT + 68 others); Fri, 16 Dec 2022 08:47:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiLPNrs (ORCPT ); Fri, 16 Dec 2022 08:47:48 -0500 Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49FF3233A3; Fri, 16 Dec 2022 05:47:45 -0800 (PST) Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4NYVly68x2z1r0mw; Fri, 16 Dec 2022 14:47:42 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4NYVly39mbz1qqlR; Fri, 16 Dec 2022 14:47:42 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id Cv_LbUTLSLYi; Fri, 16 Dec 2022 14:47:40 +0100 (CET) X-Auth-Info: d2c8vAf/7S096P2171wjDzOH88fu51ugK9KL8/ApnVI0cpNJoTT8f6EyRvs9DVIV Received: from igel.home (aftr-62-216-205-197.dynamic.mnet-online.de [62.216.205.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 16 Dec 2022 14:47:40 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id B46522C31D9; Fri, 16 Dec 2022 14:47:40 +0100 (CET) From: Andreas Schwab To: "Leizhen (ThunderTown)" Cc: Geert Uytterhoeven , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , , , Masahiro Yamada , Alexei Starovoitov , Jiri Olsa , Kees Cook , Andrew Morton , Luis Chamberlain , , Steven Rostedt , Ingo Molnar , David Laight , linux-m68k , "Jason A. Donenfeld" Subject: Re: [PATCH v9] kallsyms: Add self-test facility References: <20221115083349.1662-1-thunder.leizhen@huawei.com> <49070ac3-02bb-a3b3-b929-ede07e3b2c95@huawei.com> <4aaede14-8bd3-6071-f17b-7efcb5f0de42@huawei.com> <66ec4021-b633-09ba-73ee-b24cdb3fa25a@huawei.com> <87h6xvk1dc.fsf@igel.home> <1739960e-7f95-88ef-9b91-31c7504bb7fd@huawei.com> X-Yow: .. I think I'd better go back to my DESK and toy with a few common MISAPPREHENSIONS... Date: Fri, 16 Dec 2022 14:47:40 +0100 In-Reply-To: <1739960e-7f95-88ef-9b91-31c7504bb7fd@huawei.com> (Leizhen's message of "Fri, 16 Dec 2022 21:31:04 +0800") Message-ID: <87359fjw8z.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS 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 On Dez 16 2022, Leizhen (ThunderTown) wrote: > On 2022/12/16 19:57, Andreas Schwab wrote: >> On Dez 16 2022, Leizhen (ThunderTown) wrote: >> >>> It seems that the problem is still strcmp(). After I commented strcmp() in >>> arch/m68k/include/asm/string.h, and force it to use the one in lib/string.c, >>> it works well. >> >> Does that help? > > It still needs to add 'volatile' to prevent compiler optimizations. If that makes a difference, then something else is wrong. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."