Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2084848pja; Thu, 26 Mar 2020 09:27:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvLiaoknaNJb4/Tg8R0csEs53V+eSWOgTHhL/PSwfNWfh1Td1rp9xPZK/r/jC+VmvOtGerc X-Received: by 2002:aca:4046:: with SMTP id n67mr698720oia.156.1585240049527; Thu, 26 Mar 2020 09:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585240049; cv=none; d=google.com; s=arc-20160816; b=RAg/Tkcm09KWjcD2USii4tT3QrkfySBNN9x5nzb1KbLyGIsPrcfERTvIReRnMFSjki QY9+Oj32FmkYuDUEBtFrRxTl2RXA6XqqZyXqttAPanPdeGLXOBzn+hBItQrbTlDTZEvL saQjmR4OMZ0/OrK5+eMpzPOGVblENqDA8V8iUCc5kwMrZLj+OPs6gJsRHDChNYQuYVUy Xpt0uRJziYyMkearq8yKEcSwjosy5wsj1Qsd7PARLCidUKFUTkXnWhhthxFPyYcmTkCT gocGkmpgCXV/Bi8AVWTlpLv7b/OhA0yNkgHr7J99JPDlue+UCpXKr3PKkLToyMTLXstc CcpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=bM85xGBXTtbZk00XhEBgS4x6IXp+X6FJa7yjImNO5X0=; b=rZyBvKl0HBAOG0Gz3nGeBuFKJeOrceUH5aYcVZZJ8XbdO3y5Bs2qVmPbOcs9VjjNNP MttC0eHaAsn/CrFBk3xVu171ZHpZX1AETZVW9FCxMWOGkSuogZ824CSnm8GCpxH1hsCB CqVu9VP1MqBXC0MnDD9Xh0OgLV9zrAD+8ZGNdzF9+/wjavflnctVejsZAUWrrigdGnET AjARcu6K1INz5YHttMo0ishtajOU3Z5Q8bLleyDRTOqmyMt8GR+wYUIpjy6zMwxzuWrR 12WC01yIN9AW6Aj+oxMlNhbmbs8TYJg+gueMrAYlbi7SEi6Wb+tLFRdLMrNgdrd/9u8s /P3A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c67si1340606oif.5.2020.03.26.09.27.13; Thu, 26 Mar 2020 09:27:29 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728326AbgCZQZ2 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 26 Mar 2020 12:25:28 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:31542 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727056AbgCZQZ2 (ORCPT ); Thu, 26 Mar 2020 12:25:28 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-255-ydnrF7b3NuGh2o2Hbu-eWA-1; Thu, 26 Mar 2020 16:25:23 +0000 X-MC-Unique: ydnrF7b3NuGh2o2Hbu-eWA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 26 Mar 2020 16:25:23 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Thu, 26 Mar 2020 16:25:23 +0000 From: David Laight To: "linux-kernel@vger.kernel.org" CC: Jessica Yu , 'Linus Torvalds' Subject: modpost Module.symver handling is broken in 5.6.0-rc7 Thread-Topic: modpost Module.symver handling is broken in 5.6.0-rc7 Thread-Index: AdYDiqOPE71nee/CTfS3aDSZbkO5Jw== Date: Thu, 26 Mar 2020 16:25:23 +0000 Message-ID: <931818529b1d4d13a08d30ddace22733@AcuMS.aculab.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)