kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: arm64: gen-hyprel.c:40:10: fatal error: generated/autoconf.h: No such file or directory
       [not found] <CA+G9fYvzh5GEssPJHM=r2TVUKOhsFJ8jqrY+pP4t7+jF8ctz9A@mail.gmail.com>
@ 2021-02-01 13:45 ` Marc Zyngier
  2021-02-01 15:01   ` Naresh Kamboju
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2021-02-01 13:45 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-Next Mailing List, open list, kvm list, lkft-triage,
	kvmarm, Linux ARM, Stephen Rothwell, Arnd Bergmann, James Morse,
	julien.thierry.kdev, suzuki.poulose, Catalin Marinas,
	Will Deacon

On 2021-02-01 13:38, Naresh Kamboju wrote:
> Linux next 20210201 tag arm64 builds failed.
> kernel config attached to this email.
> 
> BAD:    next-20210201
> GOOD: next-20210129
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> 'HOSTCC=sccache gcc'
> arch/arm64/kvm/hyp/nvhe/gen-hyprel.c:40:10: fatal error:
> generated/autoconf.h: No such file or directory
>    40 | #include <generated/autoconf.h>
>       |          ^~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> 
> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>

Could you please check with the fix suggested at [1]?

Thanks,

         M.

[1] https://lore.kernel.org/r/20210201104251.5foc64qq3ewgnhuz@google.com
-- 
Jazz is not dead. It just smells funny...

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: arm64: gen-hyprel.c:40:10: fatal error: generated/autoconf.h: No such file or directory
  2021-02-01 13:45 ` arm64: gen-hyprel.c:40:10: fatal error: generated/autoconf.h: No such file or directory Marc Zyngier
@ 2021-02-01 15:01   ` Naresh Kamboju
  0 siblings, 0 replies; 2+ messages in thread
From: Naresh Kamboju @ 2021-02-01 15:01 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Linux-Next Mailing List, open list, kvm list, lkft-triage,
	kvmarm, Linux ARM, Stephen Rothwell, Arnd Bergmann, James Morse,
	julien.thierry.kdev, suzuki.poulose, Catalin Marinas,
	Will Deacon

On Mon, 1 Feb 2021 at 19:15, Marc Zyngier <maz@kernel.org> wrote:
>
> On 2021-02-01 13:38, Naresh Kamboju wrote:
> > Linux next 20210201 tag arm64 builds failed.
> > kernel config attached to this email.
> >
> > BAD:    next-20210201
> > GOOD: next-20210129
> >
> > make --silent --keep-going --jobs=8
> > O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm64
> > CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> > 'HOSTCC=sccache gcc'
> > arch/arm64/kvm/hyp/nvhe/gen-hyprel.c:40:10: fatal error:
> > generated/autoconf.h: No such file or directory
> >    40 | #include <generated/autoconf.h>
> >       |          ^~~~~~~~~~~~~~~~~~~~~~
> > compilation terminated.
> >
> > Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
>
> Could you please check with the fix suggested at [1]?

Here is the change I have applied and the arm64 builds successful now.

diff --git a/arch/arm64/kvm/hyp/nvhe/Makefile b/arch/arm64/kvm/hyp/nvhe/Makefile
index 09d04dd50eb8..ed10fcf1b345 100644
--- a/arch/arm64/kvm/hyp/nvhe/Makefile
+++ b/arch/arm64/kvm/hyp/nvhe/Makefile
@@ -7,7 +7,7 @@ asflags-y := -D__KVM_NVHE_HYPERVISOR__
 ccflags-y := -D__KVM_NVHE_HYPERVISOR__

 hostprogs := gen-hyprel
-HOST_EXTRACFLAGS += -I$(srctree)/include
+HOST_EXTRACFLAGS += -I$(objtree)/include

 obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o \
         hyp-main.o hyp-smp.o psci-relay.o


> [1] https://lore.kernel.org/r/20210201104251.5foc64qq3ewgnhuz@google.com


- Naresh

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-01 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CA+G9fYvzh5GEssPJHM=r2TVUKOhsFJ8jqrY+pP4t7+jF8ctz9A@mail.gmail.com>
2021-02-01 13:45 ` arm64: gen-hyprel.c:40:10: fatal error: generated/autoconf.h: No such file or directory Marc Zyngier
2021-02-01 15:01   ` Naresh Kamboju

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