Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2110811pja; Thu, 26 Mar 2020 09:51:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvKVStVGcWOAQqHSfOMp0eJBs2NAlQzExw8T1wB4zj5ta9RA8oxmlNj7/vKE3aSCjvZ8yjT X-Received: by 2002:aca:c28b:: with SMTP id s133mr836441oif.36.1585241478915; Thu, 26 Mar 2020 09:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585241478; cv=none; d=google.com; s=arc-20160816; b=JT1tcu9WcRNd8CdJq2BOT+7gX1KRmsu9kFvknPeMowDX1Zz4WxLxxEWlvG3nv1y6dM hcJVdFJR3LJ+vgNIrklY3E1jL4rgpqdOh566nVmAanHReGmnCfwyoSrEaNoo0MceO3VL fXAs1Wpz4uwWfDBxdIHEXiQWq9mQ2UkN+HflXFtfCS8HRwSwaquwqkJfDMY09pJ/trEP B8NZJVXF7+VaY9IN6lhZ2GoR9ss5UW2i+7WM+KXaf9GU1STrJokXKJi9rENBXankXdfq hEQthxIZ9BBmcxs70jvdKE8voTxQGlueiVkLH8pEWmkLS3Xr9eIMFt+EaQ2jTtB6MGkr Vd8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WLCHALPxaf6AbiSaiH7MjlV2bA2FFJyEwY3qfPb2Yps=; b=x2aZlRIDCiu5Kjp4y+nY6jH97P8MXz6pwAxiowGqy7c33b1FCfZAayn1L9ji0P0HzQ ds6A2gxQmpcyyfbgvyfNWcUb2KFzjGkTIi3CXvlaF1eggY0K0NiE/2QX38enMRm5fwNw 3fjSTPwUDPQxPahhBPKpYWTSuY9xaAVgr1x3Fl1vWGO/ghwQGKXAL5SlrLSbdRE1Wdbk e0rOOQdD2yLr2FEAgW2vma2FvJfjkh264AuGboVNvqBlSP/seViNgt+gojxHcjK/mLOj 8a6krC8CmBhD5si3X+Z09s8bWVk+wRdX02sDMh6gmz9EN59Fd2PB3QSYtPd0HnMHPIqh /8MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qxPPtcMF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id y206si1177926oig.253.2020.03.26.09.51.04; Thu, 26 Mar 2020 09:51:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qxPPtcMF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726971AbgCZQum (ORCPT + 99 others); Thu, 26 Mar 2020 12:50:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:56784 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgCZQul (ORCPT ); Thu, 26 Mar 2020 12:50:41 -0400 Received: from linux-8ccs (p5B2812F9.dip0.t-ipconnect.de [91.40.18.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0680820719; Thu, 26 Mar 2020 16:50:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585241441; bh=WLCHALPxaf6AbiSaiH7MjlV2bA2FFJyEwY3qfPb2Yps=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qxPPtcMFKY2aEU36KZDR6E/FCF+DVXVH2JMS8FcuPxM6BbVHaJAVE5G5gBf0zOKl9 xOJqW4vCklpEHDF6XdlVZcSH1IVmurjIZ+W0NRUcgHKboPEMz2coRBZylVNSXn+tMV BEg/h42CT4X0lcPXSHjVJ5OiPS0hwHkmhGqmHkG4= Date: Thu, 26 Mar 2020 17:50:37 +0100 From: Jessica Yu To: David Laight Cc: "linux-kernel@vger.kernel.org" , 'Linus Torvalds' , Masahiro Yamada , Matthias Maennich Subject: Re: modpost Module.symver handling is broken in 5.6.0-rc7 Message-ID: <20200326165036.GA22172@linux-8ccs> References: <931818529b1d4d13a08d30ddace22733@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <931818529b1d4d13a08d30ddace22733@AcuMS.aculab.com> X-OS: Linux linux-8ccs 4.12.14-lp150.12.61-default x86_64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ David Laight [26/03/20 16:25 +0000]: >Something is currently broken in modpost. >I'm guessing it is down to the recent patch that moved the >namespace back to the end of the line. > >I'm building 2 'out of tree' modules that have a symbol dependency. >When I build the 2nd module I get ERROR "symbol" undefined message. > >If I flip the order of the fields in Module.symver to the older order >and link with modpost from 5.4.0-rc7 (which I happen to have lurking) >it all works fine. > >Note that I'm using a named namespace, not the default one >that is the full path of the module. > >I'll dig in a little further. [ Adding more people to CC ] Hi David, Could you provide some more details about how I can reproduce the issue? As I understand it, you have two out-of-tree modules, and one has a symbol dependency on the second? Pasting the modpost error messages helps too. Thanks, Jessica