* ARCH=arm64 build breakage for Kbuild for-next branch
@ 2020-06-03 4:11 Masahiro Yamada
2020-06-03 4:24 ` Stephen Rothwell
0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2020-06-03 4:11 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Kbuild mailing list, Linux Kernel Mailing List
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)
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)))
Thanks.
--
Best Regards
Masahiro Yamada
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: ARCH=arm64 build breakage for Kbuild for-next branch
2020-06-03 4:11 ARCH=arm64 build breakage for Kbuild for-next branch Masahiro Yamada
@ 2020-06-03 4:24 ` Stephen Rothwell
2020-06-03 11:22 ` Stephen Rothwell
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2020-06-03 4:24 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: Linux Kbuild mailing list, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]
Hi Masahiro,
On Wed, 3 Jun 2020 13:11:59 +0900 Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> 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)
>
>
> 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)))
OK, thanks, I will apply that at some point, since I have already
merged your tree.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ARCH=arm64 build breakage for Kbuild for-next branch
2020-06-03 4:24 ` Stephen Rothwell
@ 2020-06-03 11:22 ` Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2020-06-03 11:22 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: Linux Kbuild mailing list, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
Hi all,
On Wed, 3 Jun 2020 14:24:04 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Wed, 3 Jun 2020 13:11:59 +0900 Masahiro Yamada <masahiroy@kernel.org> wrote:
> >
> > 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)
> >
> >
> > 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)))
>
> OK, thanks, I will apply that at some point, since I have already
> merged your tree.
And then I forgot, sorry. I assume it will be fixed tomorrow.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-03 11:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 4:11 ARCH=arm64 build breakage for Kbuild for-next branch Masahiro Yamada
2020-06-03 4:24 ` Stephen Rothwell
2020-06-03 11:22 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).