archive mirror
 help / color / mirror / Atom feed
* Patch "objtool: Fix cross-build" has been added to the 4.14-stable tree
@ 2017-12-27 12:57 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-12-27 12:57 UTC (permalink / raw)
  To: jpoimboe, gregkh, linux-next, mingo, peterz, sfr, tglx, torvalds
  Cc: stable, stable-commits

This is a note to let you know that I've just added the patch titled

    objtool: Fix cross-build

to the 4.14-stable tree which can be found at:;a=summary

The filename of the patch is:
and it can be found in the queue-4.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <> know about it.

>From 9eb719855f6c9b21eb5889d9ac2ca1c60527ad89 Mon Sep 17 00:00:00 2001
From: Josh Poimboeuf <>
Date: Tue, 7 Nov 2017 21:01:52 -0600
Subject: objtool: Fix cross-build

From: Josh Poimboeuf <>

commit 9eb719855f6c9b21eb5889d9ac2ca1c60527ad89 upstream.

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 <>
Reported-by: Stephen Rothwell <>
Signed-off-by: Josh Poimboeuf <>
Cc: Linus Torvalds <>
Cc: Linux-Next Mailing List <>
Cc: Peter Zijlstra <>
Cc: Thomas Gleixner <>
Signed-off-by: Ingo Molnar <>
Signed-off-by: Greg Kroah-Hartman <>

 tools/objtool/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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)

Patches currently in stable-queue which might be from are


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-27 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-27 12:57 Patch "objtool: Fix cross-build" has been added to the 4.14-stable tree gregkh

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).