From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4EC972 for ; Wed, 8 Sep 2021 16:56:58 +0000 (UTC) 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: Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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