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=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 2493AC433F5 for ; Wed, 8 Sep 2021 16:59:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E595661100 for ; Wed, 8 Sep 2021 16:59:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E595661100 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TNPxpdnhLUalq+Z/TvlMkEJQGdt1RAuC/LG9po5lv/4=; b=KsGC5yxeZ2nCpW g91hL5w3jW7yPtAyhFa3cJAw+xbol/5jmE8uOpWh1c9TampWdEmS2ztW2pndMUOL+8yMm1zKjF4s4 l3Jf0JgnTdHbidYPPVVMvFtPaw2qv+LwhWbj1APRrQvk0TRfeawS7G/gryPjE3jXDobeVT2FBfcxM dyUqBArSRLF+X2UtmRA9mGQvt/avHa1rr8MzLl2hvfwMzfkEZHIQE7Aw4iral6KetmY4eHNQfVcwt uIMsyPzxPhwAGyY89L6cykIuHQpanWeZgrNAuMwlLe7XKTGCRIpQ78OCTsMLDFXmQhpkbx24C5jly yy6IFRrWDGr1Fa13ieqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mO0sg-007DhR-Tn; Wed, 08 Sep 2021 16:57:03 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mO0sd-007DgA-0D for linux-arm-kernel@lists.infradead.org; Wed, 08 Sep 2021 16:57:00 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 67C8B61100; Wed, 8 Sep 2021 16:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631120218; bh=PqcBl1KQZaLj2UYPjvgmgug1mUEXiPMNAK6+xOcOsHA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mbVliIBERcN/usqu1zlgBACEyAyoxT96QZVlh+NQ4n+dZT9LU53SPEyDE4/PZaiPs ISkbyKheF5/z3ylZtrBXdmRDKmC68UVoa85j4A+Z8PkHr+LwNH1u2JBeyGHhw6Z3OZ gq2bsdUdxPDGB4n8WVNVGoYvHHgCZRd6wKPDiOUnX8ZM/pA7FmaAUb+jyy1RJaJ7ZI 2s1WadrJOT4gtCdepAKPlewRE7CWbaLEP+DqCRSTAofjuNfBYafdHPKkpsBglRgCfl uYSj0ettDYJZFkWs001XHq/zhCg80vyn5Y+Q1hYJ5IKf7U3+qkdPdLB2eaI7cSxKiN GGEKX+Xs2mhOg== Date: Wed, 8 Sep 2021 09:56:53 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: linux-block , nbd@other.debian.org, open list , clang-built-linux , Linux ARM , Josef Bacik , Jens Axboe , lkft-triage@lists.linaro.org, Nick Desaulniers , Arnd Bergmann , llvm@lists.linux.dev Subject: Re: ERROR: modpost: __mulodi4 [drivers/block/nbd.ko] undefined! Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210908_095659_100120_B7038824 X-CRM114-Status: GOOD ( 10.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Naresh, On Wed, Sep 08, 2021 at 04:58:11PM +0530, Naresh Kamboju wrote: > Following build warnings/ errors noticed while building linux next > master branch with clang-13 for arm architecture with following configs. > - footbridge_defconfig > - mini2440_defconfig > - s3c2410_defconfig > > ERROR: modpost: __mulodi4 [drivers/block/nbd.ko] undefined! > make[2]: *** [/builds/linux/scripts/Makefile.modpost:134: > modules-only.symvers] Error 1 > make[2]: *** Deleting file 'modules-only.symvers' > make[2]: Target '__modpost' not remade because of errors. > make[1]: *** [/builds/linux/Makefile:1952: modules] Error 2 > make[1]: Target '__all' not remade because of errors. > make: *** [Makefile:226: __sub-make] Error 2 > make: Target '__all' not remade because of errors. Thanks for the report. This is a known issue that we have been tracking and it is now resolved in LLVM 14: https://github.com/ClangBuiltLinux/linux/issues/1438 Nick said he should have a kernel patch to work around this in the kernel for older versions of LLVM soon. By the way, can you use our new mailing list and my kernel.org address for future reports (llvm@lists.linux.devi, nathan@kernel.org)? It will make it easier to find these reports in the archives in the future and my filters will catch this better. Cheers, Nathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel