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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BC75C4332F for ; Fri, 16 Dec 2022 13:47:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbiLPNrt (ORCPT ); Fri, 16 Dec 2022 08:47:49 -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 Precedence: bulk List-ID: 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."