* linux-next: build failure after merge of the tip tree @ 2017-11-08 2:47 Stephen Rothwell 2017-11-08 3:01 ` Josh Poimboeuf 0 siblings, 1 reply; 9+ messages in thread From: Stephen Rothwell @ 2017-11-08 2:47 UTC (permalink / raw) To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Josh Poimboeuf Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from orc_dump.c:19:0: orc.h:21:10: fatal error: asm/orc_types.h: No such file or directory #include <asm/orc_types.h> ^~~~~~~~~~~~~~~~~ compilation terminated. mv: cannot stat '/home/sfr/next/x86_64_allmodconfig/tools/objtool/.orc_dump.o.tmp': No such file or directory tools/build/Makefile.build:96: recipe for target '/home/sfr/next/x86_64_allmodconfig/tools/objtool/orc_dump.o' failed In file included from orc_gen.c:21:0: orc.h:21:10: fatal error: asm/orc_types.h: No such file or directory #include <asm/orc_types.h> ^~~~~~~~~~~~~~~~~ compilation terminated. mv: cannot stat '/home/sfr/next/x86_64_allmodconfig/tools/objtool/.orc_gen.o.tmp': No such file or directory tools/build/Makefile.build:96: recipe for target '/home/sfr/next/x86_64_allmodconfig/tools/objtool/orc_gen.o' failed In file included from check.h:25:0, from builtin-check.c:30: orc.h:21:10: fatal error: asm/orc_types.h: No such file or directory #include <asm/orc_types.h> ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from check.h:25:0, from builtin-orc.c:30: orc.h:21:10: fatal error: asm/orc_types.h: No such file or directory #include <asm/orc_types.h> ^~~~~~~~~~~~~~~~~ compilation terminated. mv: cannot stat '/home/sfr/next/x86_64_allmodconfig/tools/objtool/.builtin-check.o.tmp': No such file or directory tools/build/Makefile.build:96: recipe for target '/home/sfr/next/x86_64_allmodconfig/tools/objtool/builtin-check.o' failed mv: cannot stat '/home/sfr/next/x86_64_allmodconfig/tools/objtool/.builtin-orc.o.tmp': No such file or directory tools/build/Makefile.build:96: recipe for target '/home/sfr/next/x86_64_allmodconfig/tools/objtool/builtin-orc.o' failed In file included from check.h:25:0, from check.c:21: orc.h:21:10: fatal error: asm/orc_types.h: No such file or directory #include <asm/orc_types.h> ^~~~~~~~~~~~~~~~~ compilation terminated. mv: cannot stat '/home/sfr/next/x86_64_allmodconfig/tools/objtool/.check.o.tmp': No such file or directory tools/build/Makefile.build:96: recipe for target '/home/sfr/next/x86_64_allmodconfig/tools/objtool/check.o' failed arch/x86/decode.c:22:10: fatal error: asm/insn.h: No such file or directory #include <asm/insn.h> ^~~~~~~~~~~~ compilation terminated. mv: cannot stat '/home/sfr/next/x86_64_allmodconfig/tools/objtool/arch/x86/.decode.o.tmp': No such file or directory Presumably caused by commit 6a77cff819ae ("objtool: Move synced files to their original relative locations") If it matters, this is a cross compilation (PowerPC host) using O= . I have used the tip tree from next-20171107 for today. -- Cheers, Stephen Rothwell ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build failure after merge of the tip tree 2017-11-08 2:47 linux-next: build failure after merge of the tip tree Stephen Rothwell @ 2017-11-08 3:01 ` Josh Poimboeuf 2017-11-08 7:35 ` Stephen Rothwell ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Josh Poimboeuf @ 2017-11-08 3:01 UTC (permalink / raw) To: Stephen Rothwell Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra, Linux-Next Mailing List, Linux Kernel Mailing List On Wed, Nov 08, 2017 at 01:47:17PM +1100, Stephen Rothwell wrote: > Presumably caused by commit > > 6a77cff819ae ("objtool: Move synced files to their original relative locations") > > If it matters, this is a cross compilation (PowerPC host) using O= . > > I have used the tip tree from next-20171107 for today. Hi Stephen, Does this fix it? diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index 6aaed251b4ed..0f94af3ccaaa 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -27,7 +27,7 @@ all: $(OBJTOOL) INCLUDES := -I$(srctree)/tools/include \ -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \ - -I$(srctree)/tools/objtool/arch/$(HOSTARCH)/include + -I$(srctree)/tools/objtool/arch/$(ARCH)/include WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed CFLAGS += -Wall -Werror $(WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES) LDFLAGS += -lelf $(LIBSUBCMD) ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: linux-next: build failure after merge of the tip tree 2017-11-08 3:01 ` Josh Poimboeuf @ 2017-11-08 7:35 ` Stephen Rothwell 2017-11-08 9:10 ` [tip:core/objtool] objtool: Fix cross-build tip-bot for Josh Poimboeuf 2017-11-08 9:18 ` linux-next: build failure after merge of the tip tree Ingo Molnar 2 siblings, 0 replies; 9+ messages in thread From: Stephen Rothwell @ 2017-11-08 7:35 UTC (permalink / raw) To: Josh Poimboeuf Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra, Linux-Next Mailing List, Linux Kernel Mailing List Hi Josh, On Tue, 7 Nov 2017 21:01:52 -0600 Josh Poimboeuf <jpoimboe@redhat.com> wrote: > > On Wed, Nov 08, 2017 at 01:47:17PM +1100, Stephen Rothwell wrote: > > Presumably caused by commit > > > > 6a77cff819ae ("objtool: Move synced files to their original relative locations") > > > > If it matters, this is a cross compilation (PowerPC host) using O= . > > > > I have used the tip tree from next-20171107 for today. > > Hi Stephen, > > Does this fix it? > > diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile > index 6aaed251b4ed..0f94af3ccaaa 100644 > --- a/tools/objtool/Makefile > +++ b/tools/objtool/Makefile > @@ -27,7 +27,7 @@ all: $(OBJTOOL) > > INCLUDES := -I$(srctree)/tools/include \ > -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \ > - -I$(srctree)/tools/objtool/arch/$(HOSTARCH)/include > + -I$(srctree)/tools/objtool/arch/$(ARCH)/include > WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed > CFLAGS += -Wall -Werror $(WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES) > LDFLAGS += -lelf $(LIBSUBCMD) Yes, thanks. Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> -- Cheers, Stephen Rothwell ^ permalink raw reply [flat|nested] 9+ messages in thread
* [tip:core/objtool] objtool: Fix cross-build 2017-11-08 3:01 ` Josh Poimboeuf 2017-11-08 7:35 ` Stephen Rothwell @ 2017-11-08 9:10 ` tip-bot for Josh Poimboeuf 2017-11-08 9:18 ` linux-next: build failure after merge of the tip tree Ingo Molnar 2 siblings, 0 replies; 9+ messages in thread From: tip-bot for Josh Poimboeuf @ 2017-11-08 9:10 UTC (permalink / raw) To: linux-tip-commits Cc: linux-kernel, tglx, torvalds, linux-next, jpoimboe, hpa, sfr, mingo, peterz Commit-ID: 9eb719855f6c9b21eb5889d9ac2ca1c60527ad89 Gitweb: https://git.kernel.org/tip/9eb719855f6c9b21eb5889d9ac2ca1c60527ad89 Author: Josh Poimboeuf <jpoimboe@redhat.com> AuthorDate: Tue, 7 Nov 2017 21:01:52 -0600 Committer: Ingo Molnar <mingo@kernel.org> CommitDate: Wed, 8 Nov 2017 10:06:08 +0100 objtool: Fix cross-build Stephen Rothwell reported this cross-compilation build failure: | In file included from orc_dump.c:19:0: | orc.h:21:10: fatal error: asm/orc_types.h: No such file or directory | ... Caused by: 6a77cff819ae ("objtool: Move synced files to their original relative locations") Use the proper arch header files location, not the host-arch location. Bisected-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Linux-Next Mailing List <linux-next@vger.kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20171108030152.bd76eahiwjwjt3kp@treble Signed-off-by: Ingo Molnar <mingo@kernel.org> --- tools/objtool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index 6aaed25..0f94af3 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -27,7 +27,7 @@ all: $(OBJTOOL) INCLUDES := -I$(srctree)/tools/include \ -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \ - -I$(srctree)/tools/objtool/arch/$(HOSTARCH)/include + -I$(srctree)/tools/objtool/arch/$(ARCH)/include WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed CFLAGS += -Wall -Werror $(WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES) LDFLAGS += -lelf $(LIBSUBCMD) ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: linux-next: build failure after merge of the tip tree 2017-11-08 3:01 ` Josh Poimboeuf 2017-11-08 7:35 ` Stephen Rothwell 2017-11-08 9:10 ` [tip:core/objtool] objtool: Fix cross-build tip-bot for Josh Poimboeuf @ 2017-11-08 9:18 ` Ingo Molnar 2017-11-08 12:14 ` Stephen Rothwell ` (2 more replies) 2 siblings, 3 replies; 9+ messages in thread From: Ingo Molnar @ 2017-11-08 9:18 UTC (permalink / raw) To: Josh Poimboeuf Cc: Stephen Rothwell, Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra, Linux-Next Mailing List, Linux Kernel Mailing List * Josh Poimboeuf <jpoimboe@redhat.com> wrote: > On Wed, Nov 08, 2017 at 01:47:17PM +1100, Stephen Rothwell wrote: > > Presumably caused by commit > > > > 6a77cff819ae ("objtool: Move synced files to their original relative locations") > > > > If it matters, this is a cross compilation (PowerPC host) using O= . > > > > I have used the tip tree from next-20171107 for today. > > Hi Stephen, > > Does this fix it? > > diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile > index 6aaed251b4ed..0f94af3ccaaa 100644 > --- a/tools/objtool/Makefile > +++ b/tools/objtool/Makefile > @@ -27,7 +27,7 @@ all: $(OBJTOOL) > > INCLUDES := -I$(srctree)/tools/include \ > -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \ > - -I$(srctree)/tools/objtool/arch/$(HOSTARCH)/include > + -I$(srctree)/tools/objtool/arch/$(ARCH)/include > WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed > CFLAGS += -Wall -Werror $(WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES) > LDFLAGS += -lelf $(LIBSUBCMD) Note, I created a commit out of this fix, with your SOB - let me know if you have any objections. Thanks, Ingo ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build failure after merge of the tip tree 2017-11-08 9:18 ` linux-next: build failure after merge of the tip tree Ingo Molnar @ 2017-11-08 12:14 ` Stephen Rothwell 2017-11-09 6:18 ` Ingo Molnar 2017-11-08 13:17 ` Josh Poimboeuf 2017-11-09 3:03 ` Stephen Rothwell 2 siblings, 1 reply; 9+ messages in thread From: Stephen Rothwell @ 2017-11-08 12:14 UTC (permalink / raw) To: Ingo Molnar Cc: Josh Poimboeuf, Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra, Linux-Next Mailing List, Linux Kernel Mailing List Hi Ingo, On Wed, 8 Nov 2017 10:18:28 +0100 Ingo Molnar <mingo@kernel.org> wrote: > > Note, I created a commit out of this fix, with your SOB - let me know if you have > any objections. Only a small nit - I didn't bisect it, I just figured it out by inspection. Unfortunately, I don't have time to do bisections while building linux-next. :-( Not a biggie, though. Thanks for sorting this out. -- Cheers, Stephen Rothwell ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build failure after merge of the tip tree 2017-11-08 12:14 ` Stephen Rothwell @ 2017-11-09 6:18 ` Ingo Molnar 0 siblings, 0 replies; 9+ messages in thread From: Ingo Molnar @ 2017-11-09 6:18 UTC (permalink / raw) To: Stephen Rothwell Cc: Josh Poimboeuf, Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra, Linux-Next Mailing List, Linux Kernel Mailing List * Stephen Rothwell <sfr@canb.auug.org.au> wrote: > Hi Ingo, > > On Wed, 8 Nov 2017 10:18:28 +0100 Ingo Molnar <mingo@kernel.org> wrote: > > > > Note, I created a commit out of this fix, with your SOB - let me know if you have > > any objections. > > Only a small nit - I didn't bisect it, I just figured it out by > inspection. Unfortunately, I don't have time to do bisections while > building linux-next. :-( > > Not a biggie, though. Thanks for sorting this out. Yeah, so while I knew that you didn't do the bisection the usual way, you still got it right nevertheless, so the tag is well deserved! I'll add it as a "Commit-identified-by" tag next time perhaps. Thanks, Ingo ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build failure after merge of the tip tree 2017-11-08 9:18 ` linux-next: build failure after merge of the tip tree Ingo Molnar 2017-11-08 12:14 ` Stephen Rothwell @ 2017-11-08 13:17 ` Josh Poimboeuf 2017-11-09 3:03 ` Stephen Rothwell 2 siblings, 0 replies; 9+ messages in thread From: Josh Poimboeuf @ 2017-11-08 13:17 UTC (permalink / raw) To: Ingo Molnar Cc: Stephen Rothwell, Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra, Linux-Next Mailing List, Linux Kernel Mailing List On Wed, Nov 08, 2017 at 10:18:28AM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf <jpoimboe@redhat.com> wrote: > > > On Wed, Nov 08, 2017 at 01:47:17PM +1100, Stephen Rothwell wrote: > > > Presumably caused by commit > > > > > > 6a77cff819ae ("objtool: Move synced files to their original relative locations") > > > > > > If it matters, this is a cross compilation (PowerPC host) using O= . > > > > > > I have used the tip tree from next-20171107 for today. > > > > Hi Stephen, > > > > Does this fix it? > > > > diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile > > index 6aaed251b4ed..0f94af3ccaaa 100644 > > --- a/tools/objtool/Makefile > > +++ b/tools/objtool/Makefile > > @@ -27,7 +27,7 @@ all: $(OBJTOOL) > > > > INCLUDES := -I$(srctree)/tools/include \ > > -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \ > > - -I$(srctree)/tools/objtool/arch/$(HOSTARCH)/include > > + -I$(srctree)/tools/objtool/arch/$(ARCH)/include > > WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed > > CFLAGS += -Wall -Werror $(WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES) > > LDFLAGS += -lelf $(LIBSUBCMD) > > Note, I created a commit out of this fix, with your SOB - let me know if you have > any objections. Looks good, thanks Ingo! -- Josh ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build failure after merge of the tip tree 2017-11-08 9:18 ` linux-next: build failure after merge of the tip tree Ingo Molnar 2017-11-08 12:14 ` Stephen Rothwell 2017-11-08 13:17 ` Josh Poimboeuf @ 2017-11-09 3:03 ` Stephen Rothwell 2 siblings, 0 replies; 9+ messages in thread From: Stephen Rothwell @ 2017-11-09 3:03 UTC (permalink / raw) To: Ingo Molnar Cc: Josh Poimboeuf, Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra, Linux-Next Mailing List, Linux Kernel Mailing List Hi Ingo, On Wed, 8 Nov 2017 10:18:28 +0100 Ingo Molnar <mingo@kernel.org> wrote: > > * Josh Poimboeuf <jpoimboe@redhat.com> wrote: > > > On Wed, Nov 08, 2017 at 01:47:17PM +1100, Stephen Rothwell wrote: > > > > Does this fix it? > > > > diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile > > index 6aaed251b4ed..0f94af3ccaaa 100644 > > --- a/tools/objtool/Makefile > > +++ b/tools/objtool/Makefile > > @@ -27,7 +27,7 @@ all: $(OBJTOOL) > > > > INCLUDES := -I$(srctree)/tools/include \ > > -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \ > > - -I$(srctree)/tools/objtool/arch/$(HOSTARCH)/include > > + -I$(srctree)/tools/objtool/arch/$(ARCH)/include > > WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed > > CFLAGS += -Wall -Werror $(WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES) > > LDFLAGS += -lelf $(LIBSUBCMD) > > Note, I created a commit out of this fix, with your SOB - let me know if you have > any objections. I applied this patch to linux-next today after the tip tree merge. -- Cheers, Stephen Rothwell ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-11-09 6:18 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-11-08 2:47 linux-next: build failure after merge of the tip tree Stephen Rothwell 2017-11-08 3:01 ` Josh Poimboeuf 2017-11-08 7:35 ` Stephen Rothwell 2017-11-08 9:10 ` [tip:core/objtool] objtool: Fix cross-build tip-bot for Josh Poimboeuf 2017-11-08 9:18 ` linux-next: build failure after merge of the tip tree Ingo Molnar 2017-11-08 12:14 ` Stephen Rothwell 2017-11-09 6:18 ` Ingo Molnar 2017-11-08 13:17 ` Josh Poimboeuf 2017-11-09 3:03 ` 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).