Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6069998rwb; Tue, 9 Aug 2022 08:36:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mqMH6xKf7K2gg8uXOyyn9PbGiSq69rg/Pi5FM84/0QMobnyz7p+ncaDIuEocGEEc2W7Be X-Received: by 2002:a17:903:4094:b0:170:ced1:5fb0 with SMTP id z20-20020a170903409400b00170ced15fb0mr6891405plc.138.1660059401592; Tue, 09 Aug 2022 08:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660059401; cv=none; d=google.com; s=arc-20160816; b=ls/sQIPmxHWtF/uTJeG9tzanCTdJRg0RZ//f2gp4z+OI0x4xImhkTbxp5dgfAOcvov Vi+1pVlERizfYjTA4/6AZY2+UUTauGFbxTHxaiPnH1jIr3QWbsNn4RTxGdcCyAasTMKg MUdON+YZwKq2VVLmF2NMesjzFnpsF6NNJm0mSyfKtjdX3I9c1exYl/7J/esKbaDGOEiL FCVr0FHVcZUx0HRbUibMX7TdNAVvN7jSU05wLXk041YSKlytR00cPMZ3y6TeHUt+JHmv z9XjR15zkGg3B2GO/MD/abL09Gp+qU9gpXTP3+tr9/RP+8QcSPgGsCTm3+KcRLRVCgJe WNjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=ehY71FsW601x63CPvQxCDEV9npZMmiq6LrR++w99gUA=; b=rdQeE0z5FKR4lC04INdfAHtdi6Ndn7UeruOVu6BNu3X6yzPUkQvPfyAxMDHyvryxMw I+d89pThniOFjQuLW24BJyVQp+zF8DRirRt0+mwHVXdMG1LUKkaHPSQiW8wS3iyiVyFc gqfov7MoAq4glIkQ5UibD6+TE5X3NvLO4zK9zSsn9JDu2YbT1ONMnXN8zMadUt5N6t+H i6JDB03BgonUnWj/Ofo0IgASmutWkY+GALtQne0WuW7ZI4UoDLY33pD7XJnZThNOOXBl +9DCXnUiUOxpc24Iu2Dx2kT5vUK1yeIjL/wiIlsvncSb6LmaeHa1BgFDvOmwfO40ZEPZ cRAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=tLGudliS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a63d64a000000b0041c26d335f1si10896877pgj.861.2022.08.09.08.36.26; Tue, 09 Aug 2022 08:36:41 -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=@nifty.com header.s=dec2015msa header.b=tLGudliS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243836AbiHIPVh (ORCPT + 99 others); Tue, 9 Aug 2022 11:21:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244935AbiHIPVP (ORCPT ); Tue, 9 Aug 2022 11:21:15 -0400 Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 331D9201B0; Tue, 9 Aug 2022 08:21:11 -0700 (PDT) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 279FKsRH030769; Wed, 10 Aug 2022 00:20:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 279FKsRH030769 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1660058456; bh=ehY71FsW601x63CPvQxCDEV9npZMmiq6LrR++w99gUA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tLGudliSNeG9Nc0FoTKiVDAu8sncXeUiRS06KvvArcDOwbr7L5QMJCexOQjQMcLbK ZarPoq8eETKY2ZpKN0kt/IAgTzzytLPwj91kMDINFTpVuUd6d7xusTksGMSsZEa4QA +nUdKV0btTPlkMPthPd6l3sMIttoA77FODvlZre9XopAsJY7u/Dpx9bUttvvxIbTEM EZavvf8BADbYdDY2M53RmjeSsrE4Fagu8hW+d10KfrkRBaLx+sDrUVWv6J8fuMeDTu OuzSu2USI7XWy6wrInEhnqT5q0OTfyRkAmMHluJf6fBsmBDpwFMSRufTHp+BBiVobu 4rzbwvNdl8gjA== X-Nifty-SrcIP: [209.85.221.46] Received: by mail-wr1-f46.google.com with SMTP id q30so14656810wra.11; Tue, 09 Aug 2022 08:20:55 -0700 (PDT) X-Gm-Message-State: ACgBeo3rhEiykvngggdzBVhY8m7/xnEhp/8A/klI9MzwkbGtUoJwTUM7 sfGg1z2xgkpsnOuazc59y1BBTbpN+djifHsuABE= X-Received: by 2002:a05:6000:168f:b0:220:748e:82c0 with SMTP id y15-20020a056000168f00b00220748e82c0mr14432497wrd.477.1660058453881; Tue, 09 Aug 2022 08:20:53 -0700 (PDT) MIME-Version: 1.0 References: <20220513113930.10488-1-masahiroy@kernel.org> <2c496d24174e63b27ec047f383df6700@matoro.tk> <38a9853e59db8946999316ce3a6b4621@matoro.tk> In-Reply-To: From: Masahiro Yamada Date: Wed, 10 Aug 2022 00:20:13 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 00/10] kbuild: yet another series of cleanups (modpost, LTO, MODULE_REL_CRCS, export.h) To: matoro Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Peter Zijlstra , linux-modules , clang-built-linux , Ard Biesheuvel , Sami Tolvanen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Aug 9, 2022 at 3:42 AM matoro wrote: > > That patch doesn't apply to the v5.19 stable tag, so I just manually > edited and it worked perfect! Thank you!! > > Sorry I didn't mention that warning - I did see it, but it still showed > up even on the old kernel, so I thought it was irrelevant. Much > appreciated! > > -------- Original Message -------- > Subject: Re: [PATCH v6 00/10] kbuild: yet another series of cleanups > (modpost, LTO, MODULE_REL_CRCS, export.h) > Date: 2022-08-08 13:36 > From: Masahiro Yamada > To: matoro > > On Mon, Aug 8, 2022 at 10:27 PM matoro > wrote: > > > > I have real hardware for all these arches in my collection. I use it > > for testing the latest kernel and toolchains on as many of the > > less-popular arches as possible, exactly to find issues like this one > > :) > > > > Specifically we support all of these in Gentoo. To double-check this > > wasn't a config issue, I asked another user who also runs sparc to try > > building 5.19 with his config (not copying mine), and he observed the > > same problem. You can reach us in #gentoo-sparc on Libera. > > > > As for testing, I make all this hardware available on an as-needed > > basis. So if you can't or don't want to fiddle with qemu, just let me > > know (email or IRC, same username on Libera), and I will get you direct > > access to my hardware. Thanks!! > > > I found the root cause. > > When I build the sparc kernel, I see a warning > > WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation > failed, symbol will not be versioned. > > > Then, modpost missed to write out the entry. > > With the following patch, you will be able to load the module. > > I will send a patch with a proper commit log tomorrow. I need some sleep > now. I posted a patch: https://patchwork.kernel.org/project/linux-kbuild/patch/20220809141117.641543-1-masahiroy@kernel.org/ If you want me to record your full name in Reported/Tested-by, please let me know. -- Best Regards Masahiro Yamada