Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp686256pxb; Wed, 8 Sep 2021 09:58:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjX97vsqowBOj8g4WtWSe9Hlg4k9BFlfxZEW+dgNR5LNF6SWRimbWh+cJh3CCMBsYdXLz3 X-Received: by 2002:a02:caaf:: with SMTP id e15mr4750654jap.11.1631120301158; Wed, 08 Sep 2021 09:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631120301; cv=none; d=google.com; s=arc-20160816; b=RYeM7Oq6oIuKr3u+vDc6cc5Ey0TdUzWTUGpx/bA5B/meXu9WrWytleTmt9jSVvorly YaG9b3APLIqdf4TvpFqMwsO9JYuk+RunW/QmlgUEV8rmbszrkDxZKal9VTjMnaxmRkEL KuuLlPHQHjGqfrcJLf7YwGGJcN2daFqkvvpjzIoYw/G088fmr0U3PkqX3aPCfd07lg0R WNhd8TqIKc3pX1K2dvr2k5ipN6yUatOb1KFL6UZYOh8qqL0Jrvtw1AF5hJBwcL/BLOL2 2IkD/A/JVywkkEJTeINWRX8+1Q0nKfodQo8ymm8wAwS7tw5LaMrVtVtm8vMZX6lbSmJN 22Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wyvKcuATQ7P0maMKDd+ps8TszwXRzAfy/YMMXLJm5Ok=; b=BtvzaJ2rcTVDkuyZkZHEpF+/M845oI9i3gmzXByTmeI7zOfrZ6MWK4+dJf2UoJ8dr2 FzGLUcJCv3mpQvUWIRxSjRq0OlRRMsoJDDxOtrCd4XByQvvwlBuAeG5HIe+t91La/rYM 9ynk3DBdJfybQWhcD96LUS8L0JhZBemJOxV4OLD1fzq2H5UyIzgzPpmbV3s+92RDC5Qk HuJW3oz0FOqe+ZWPTHAGSc0Pphmaq3Wf97xgtJhMkuva1Q3Lpv/CqpKU/0pp+b1fhWRV Ok1pWMG34jLfXLaCi//jYN7KYRKz72saLi92YpaB+fxaI5wPNoBcBQb8W1FP57fPFX75 7/EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mbVliIBE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si2246828jay.69.2021.09.08.09.58.08; Wed, 08 Sep 2021 09:58:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mbVliIBE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1352327AbhIHQ6H (ORCPT + 99 others); Wed, 8 Sep 2021 12:58:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:49960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235666AbhIHQ6G (ORCPT ); Wed, 8 Sep 2021 12:58:06 -0400 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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