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 0277BC433F5 for ; Mon, 18 Apr 2022 10:09:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235741AbiDRKLi (ORCPT ); Mon, 18 Apr 2022 06:11:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233592AbiDRKLh (ORCPT ); Mon, 18 Apr 2022 06:11:37 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61AB112613 for ; Mon, 18 Apr 2022 03:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=X3856/+VzI9JJRuU4bjCfs5RMD2B4PpMeMxYDdAjx7k=; b=npb+AZ2Rw9uU2+BixuRj5mRnrl 2p9h+XPPzTjDx9eak/Njka8rE9OwZJ+EUsSL+Hvu99roCYK3Z4lKbMpWfyN9xzaZDC1s5izZtcUPk N/R2kgyrhFsSxLHJ8nBg1wsubxJmn6PG6WlUBAODOoi2qZ9KnLgIHdj3Gl0SOMU4Vf04zlWdjTKCj 2YdRWsyvO3fPgq+kl0asFy/2kHd1R4Cr6Oi5xneQHgLyd1tDqOaAakBbpc/3nmz3D8iJkRcZLLqOj AINFJKJZNxdQ2BW8nB856HYhvj98Iwc2Xfit7eYIgC7iZmi90KJfwCfg4eo0icbwHa5w+MLFBpez3 e8HTwa0Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:58316) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ngOJU-0007zJ-Cs; Mon, 18 Apr 2022 11:08:56 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1ngOJS-000822-Mn; Mon, 18 Apr 2022 11:08:54 +0100 Date: Mon, 18 Apr 2022 11:08:54 +0100 From: "Russell King (Oracle)" To: Mauro Rossi Cc: netdev@vger.kernel.org, kabel@kernel.org, Chih-Wei Huang Subject: Re: FYI: net/phy/marvell10g: android kernel builing error due to modpost error Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Apr 18, 2022 at 11:22:12AM +0200, Mauro Rossi wrote: > At the final stage of building Linux 5.18-rc3 with the necessary AOSP > changes, I am getting the following building error: > > MODPOST modules-only.symvers > ERROR: modpost: "__compiletime_assert_344" > [drivers/net/phy/marvell10g.ko] undefined! > make[2]: *** [/home/utente/r-x86_kernel/kernel/scripts/Makefile.modpost:134: > modules-only.symvers] Error 1 > make[2]: *** Deleting file 'modules-only.symvers' > make[1]: *** [/home/utente/r-x86_kernel/kernel/Makefile:1749: modules] Error 2 > make[1]: *** Waiting for unfinished jobs.... > > It never happened before throughout all my previous android-x86 kernel > rc cycle build tests, which spanned from linux version 5.10 to linux > version 5.18rc As far as I'm aware, with mainline kernels, marvell10g builds fine. I'm not sure how to work back from "__compiletime_assert_344" to where the problem could be. The "344" appears to be generated by the __COUNTER__ macro - and I don't know how that macro works (debian annoyingly don't package the GCC info docs, and the info files I have are out of date.) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!