Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4934115imm; Mon, 11 Jun 2018 23:04:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJl7UPTiRyqcFsvMUG6JSE0pMqwzXOi9sORHO5XhqPNMA14YfzA0smLGW5gOKHDDCgUIXCy X-Received: by 2002:a62:e506:: with SMTP id n6-v6mr2365587pff.116.1528783475841; Mon, 11 Jun 2018 23:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528783475; cv=none; d=google.com; s=arc-20160816; b=UhBcV8Q/N+ES0ZmYADyRZkHYCRxTyQR12jdx2TFu6RnFTrO00kO/Qt4252AhdS8D39 fmh3YXR91oDoaU6HE4K7Sqy5CZxz+X26nDqRTaa2X7fQGciwRBDPSXcLDgSjg8Dz3M8B sVPbf80HTsKufsUu65FU19+AmVz7I2P5O3nK9HYZ74ZpWMf2H33blELDSJowjWmB1wVK xvu+xJOPAJuIlZQpZedADVaTuu/Jjt3F1QkyhAp6qYonJH1EpsbQ/nI3faThZAftVIfD 9rH5DSlequtwdX68uTari2CdKLIMiyVIIjdMv0JsLPTuelKVFIojdAMVYc9bmvCHQ3Uy KRqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=4LHxH8F8Qa5ATPxKRgjy3294tr5rW47haW/BKdFWujs=; b=AMFOSE54S0u5+HZcxhJi5fmrvvGKcrOLF8UMe3ZGYsKCRPORpjV1uO2XR0kazGfUd7 qshivGSoApp9C2hET3dd3TPrbH7tuFhYkjgOio9k/AfogExfeGJ2JG+31+HrQCmOXver OqUZ6osq0Q13tIhN37CxqKRc0XdckFYyqug6Vn2CWkn3BeOvRrUOCvJaD8KZcrHy77T+ Bb/QVNYgnR1NbIMZdgUhr9rzms1oHHnjnSL7bSOJE2nKmSpgKXFtdTXYLG9si8sc2D8G UFh5002wD4M+IalWZ821b7/qSLHze0jgQsWe6BbTKbGY/A9e84hM8RgYfgd0ixXMCuUm QF6w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v66-v6si93450pgv.344.2018.06.11.23.04.19; Mon, 11 Jun 2018 23:04:35 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932608AbeFLGDz (ORCPT + 99 others); Tue, 12 Jun 2018 02:03:55 -0400 Received: from ozlabs.org ([203.11.71.1]:42949 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753890AbeFLGDy (ORCPT ); Tue, 12 Jun 2018 02:03:54 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 414fTF60wNz9s1B; Tue, 12 Jun 2018 16:03:44 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: kbuild test robot , Laura Abbott Cc: kbuild-all@01.org, Andy Lutomirski , mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada , Laura Abbott , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org Subject: Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds In-Reply-To: <201806120915.NeKL1aUj%fengguang.wu@intel.com> References: <20180612003224.3658-2-labbott@redhat.com> <201806120915.NeKL1aUj%fengguang.wu@intel.com> Date: Tue, 12 Jun 2018 16:03:40 +1000 Message-ID: <8736xsv8w3.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kbuild test robot writes: > Hi Laura, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.17 next-20180608] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Laura-Abbott/scripts-Preprocess-module-common-lds/20180612-083632 > config: i386-randconfig-a1-201823 (attached as .config) > compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 > > All errors (new ones prefixed by >>): > >>> ld: cannot open linker script file scripts/module-common.lds: No such file or directory This seems to need the following. cheers diff --git a/Makefile b/Makefile index 73f0bb2c7a98..55a5725b6606 100644 --- a/Makefile +++ b/Makefile @@ -425,7 +425,7 @@ KBUILD_AFLAGS_KERNEL := KBUILD_CFLAGS_KERNEL := KBUILD_AFLAGS_MODULE := -DMODULE KBUILD_CFLAGS_MODULE := -DMODULE -KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds +KBUILD_LDFLAGS_MODULE := -T $(objtree)/scripts/module-common.lds LDFLAGS := GCC_PLUGINS_CFLAGS :=