Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5671219imm; Tue, 12 Jun 2018 11:19:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIJKrrblWbHt7b0OL8CA9tdNhePxCE4LaeKr+K3i5qdfJDiMuBALfstdVapIIMSrijUJIgj X-Received: by 2002:a63:8a4a:: with SMTP id y71-v6mr1202105pgd.291.1528827559744; Tue, 12 Jun 2018 11:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528827559; cv=none; d=google.com; s=arc-20160816; b=rVrF+jdhsPzEJLhzYc1z5MAeBzrq6euf6mD4qW0zdK3JSXbrPftBZdJ8lr/KCLTz57 J2etL8MoEGjTEzBLOaCNo3ALwoMUwQNFhnjd0PbRKPtPb+8DAX8wMjX41XUGmr/fgc04 M5ucVIoPqSp0mTdRDUGm0DiLt/5H90Geu40N9XgDzQNMgD3JfDKIVDvmWUq6yJHg6XrG UVLGjFqwT04CJaFm8FHza/9e6g7HeQ3DvuFULN7nXvioWQBaZjd6Cl+ot4xJde5tm2nx x1+JmsAbhHmHoKikupZ2w2MjXF/AZyHj6gAvSWrY4e1OoaNitcx9bflZRgJzIcWkdFFJ WiBg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=xkWY7zmQSEXZjkRufIMRw8r9klQvi3fwFqVBxg5CAmM=; b=PqVjkdemlWaDXxgKag4uB5EFDQeMwLFvTgFyAeecClz+NaYIlezesX95UjIRrDD+Fd zlgCFsag+uGRdGCBLsnr0u5Zt3cl6HVqldmKXggPWECpFlGdYMAth29QYZCiy3mH45mb 8kvOpgJmL0JMQ8jg3q0lXoItRxP0D6limdwk0OwJ5WCSVF8FXHPPWO8QZNBVTDxcHx/w nJHYP1fb8d8VxgLt4Lv5kBjpOkLCl24NQ3ncLGiQT+CeYh/PXqu0MiVpfacPHgxc8poS tprh9iYKdMv60eNedpOt55iqnppCmr+i5oXxX8cO8cAIYS9L15JcNiKm7+PgUy4ncUTP eASQ== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4-v6si644591plp.128.2018.06.12.11.19.05; Tue, 12 Jun 2018 11:19:19 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933125AbeFLSSI (ORCPT + 99 others); Tue, 12 Jun 2018 14:18:08 -0400 Received: from mail-ot0-f196.google.com ([74.125.82.196]:39246 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932287AbeFLSSG (ORCPT ); Tue, 12 Jun 2018 14:18:06 -0400 Received: by mail-ot0-f196.google.com with SMTP id l15-v6so28181711oth.6 for ; Tue, 12 Jun 2018 11:18:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xkWY7zmQSEXZjkRufIMRw8r9klQvi3fwFqVBxg5CAmM=; b=lpO+IwBIVqlGi079rdcEyDcK/s3nlRgW/ozi0x7/iI/Q2Vb8RFeK8lmB1Q5m5+iRcA rFVr5as24za++GPU6l2yRtsFlOLH12Qv4q9ZqGg3o1NxCATRWJtqVuAuWgZdYo0TXAXu tbpnaWXL0eRYWcxliqK6FMiQiVEu0UKIIQKxqoKbAG/dYzwq16Xe4McbA39UZ4ALdSHm kD7L30LRdlhQbX18OptUXmDbD78Bju2CqjjI7qFEOrnUPBoaNpNEQ+4LQuK5BVDCI3j1 Afb4YXXo0gD9nN40YhxYCPL8tOPm5YT2qf6zBSSXSbcOksD3yLZ/Xg+9Q5SOsWj693rz Wtpw== X-Gm-Message-State: APt69E3lBAJihBaUOZ0n5V7E7K2yqYD4UUaEaiR5E+4q2722VOn652sp QlXLGn+/jiCRDUQgdnMJA8qd7w== X-Received: by 2002:a9d:4098:: with SMTP id n24-v6mr973469ote.69.1528827486057; Tue, 12 Jun 2018 11:18:06 -0700 (PDT) Received: from ?IPv6:2601:602:9802:a8dc::30ff? ([2601:602:9802:a8dc::30ff]) by smtp.gmail.com with ESMTPSA id 17-v6sm320470oir.27.2018.06.12.11.18.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 11:18:04 -0700 (PDT) Subject: Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds To: Michael Ellerman , kbuild test robot Cc: kbuild-all@01.org, Andy Lutomirski , mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org References: <20180612003224.3658-2-labbott@redhat.com> <201806120915.NeKL1aUj%fengguang.wu@intel.com> <8736xsv8w3.fsf@concordia.ellerman.id.au> From: Laura Abbott Message-ID: <1d6bf671-ec88-2d04-065c-96045759c680@redhat.com> Date: Tue, 12 Jun 2018 11:18:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <8736xsv8w3.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/11/2018 11:03 PM, Michael Ellerman wrote: > 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 := > > Thanks for pointing that out. I think I missed that when refactoring. I'll fix that in the next version plus adding your powerpc patch. Thanks, Laura