From patchwork Wed Jun 3 04:11:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11584959 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0538C739 for ; Wed, 3 Jun 2020 04:13:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D6945206E2 for ; Wed, 3 Jun 2020 04:13:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591157581; bh=hdUhaExxBm5jjyPIPwbcCxPkiyTOSr74Bb4MKKtuE1I=; h=From:Date:Subject:To:Cc:List-ID:From; b=peMelsAMHRJTsaoZrykuirAmEZcHEEUG+xu0D0rEjtmd2UZEUXQ0TMwnEHomnlggo p5dDsZ7Y2uBu74Kg8SEmkVvjFv2qwIDACvLhT5SZmFzQJwNDpG/QbPNSm5WyMQp+FT vPxPxg1fdEgoUCPmVww1ofDcBAxRlN9xPN8gcLu0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725792AbgFCENB (ORCPT ); Wed, 3 Jun 2020 00:13:01 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:55479 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725275AbgFCENA (ORCPT ); Wed, 3 Jun 2020 00:13:00 -0400 Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 0534CZcV032283; Wed, 3 Jun 2020 13:12:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 0534CZcV032283 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1591157556; bh=RdqgzaEZ5aWkaJNeElZf+u5QPaRSIBZWZfDxCZ0IlNs=; h=From:Date:Subject:To:Cc:From; b=FyKCtassgLAnKLG9f0KtxiRBQASSGdr3iDTQ5uy85jATUv4b0Rh6QnldaTf0tQcwt hQtnnEf57MGc0iHDJ3QB7wmnYR0tsFHfNT0l0vqTnFOXyl3OMbdM0TjXBYrHFK4z/p R+1MS4nqwzX5PxY6qwIZxJ1hV9B8QWFqFRpPeCo6BPf0SK2yJhemsSi5fh7n0CqEzo GF3jxbbDGX9lsHic0b2lmqhYPfrfO7hhU2WdPQ8Ic+yYfV4vqrsvBFBewFXIvfVCTn wm3J8DCN0KjY7p1O6/abRzzEwHvO4ImrdT9Ixdn/RLxjWscF6mRrr/xM0EOLZkkDEU SzYIF/ZH5nhiw== X-Nifty-SrcIP: [209.85.217.47] Received: by mail-vs1-f47.google.com with SMTP id d21so225515vsh.12; Tue, 02 Jun 2020 21:12:36 -0700 (PDT) X-Gm-Message-State: AOAM533WxqQESqNO6jYqfgCOQ3sny2bwKPvH4uw1+mh91NG7PXNXNxaP b9u8DgdYLy+fmVdpGsnUr23KU/YpDh1442EcnPw= X-Google-Smtp-Source: ABdhPJyq2XxPKPo8PHm8wvmCI5Y5KjbfROxsQpWcJLX4huqTb3nfIELobNfM0SH/W9xYha/rY7vo5zMFhMrsmI0VGw8= X-Received: by 2002:a67:67c5:: with SMTP id b188mr9633348vsc.155.1591157555346; Tue, 02 Jun 2020 21:12:35 -0700 (PDT) MIME-Version: 1.0 From: Masahiro Yamada Date: Wed, 3 Jun 2020 13:11:59 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: ARCH=arm64 build breakage for Kbuild for-next branch To: Stephen Rothwell Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Hi Stephen, If you pull the latest kbuild for-next branch, ARCH=arm64 will fail to build. I will fix it soon. For today's linux-next, you can patch as follows. (or, you can use the old branch) Thanks. diff --git a/Makefile b/Makefile index f80c4ff93ec9..fbb4b95ae648 100644 --- a/Makefile +++ b/Makefile @@ -1074,7 +1074,7 @@ build-dirs := $(vmlinux-dirs) clean-dirs := $(vmlinux-alldirs) # Externally visible symbols (used by link-vmlinux.sh) -KBUILD_VMLINUX_OBJS := $(head-y) $(addsuffix built-in.a, $(core-y)) +KBUILD_VMLINUX_OBJS := $(head-y) $(patsubst %/,%/built-in.a, $(core-y)) KBUILD_VMLINUX_OBJS += $(addsuffix built-in.a, $(filter %/, $(libs-y))) ifdef CONFIG_MODULES KBUILD_VMLINUX_OBJS += $(patsubst %/, %/lib.a, $(filter %/, $(libs-y)))