Skip to contentSkip to conversation

Build failures in v3.12-stable-queue

DISCUSSION Guenter Roeck 2 participants 2 messages Jul 21, 2016 – Jul 22, 2016 Stable branch

lore
Share & tools
lore
#0 lore raw

When building um:defconfig:

In file included from arch/um/os-Linux/aio.c:13:0:
arch/um/include/shared/init.h:43:28:
fatal error: linux/compiler.h: No such file or directory

Guenter

Acked-by Randy Dunlap
#1 lore raw
Quoted 5 lines · Guenter Roeck

When building um:defconfig:

In file included from arch/um/os-Linux/aio.c:13:0:
arch/um/include/shared/init.h:43:28:
fatal error: linux/compiler.h: No such file or directory

Thanks, should be fixed now by:
commit 02fe206a520b26fe5d743dd083620ee6859ec057

Author: Richard Weinberger <[email protected]>
Date:   Sun Jun 28 22:55:26 2015 +0200

um: Fix out-of-tree build

commit 0b5aedfe0e6654ec54f35109e1929a1cf7fc4cdd upstream.

Commit 30b11ee9a (um: Remove copy&paste code from init.h) uncovered an issue wrt. out-of-tree builds.
For out-of-tree builds, we must not rely on relative paths. Before 30b11ee9a it worked by chance as no host code included generated header files.

Signature · 2 lines
js
suse labs