From: Ingo Molnar <mingo@kernel.org> Date: 2018-06-21 16:33:41
Also in:lkml
* Matteo Croce [off-list ref] wrote:
Hi Ingo,
are you compiling a 32 bit kernel on an x86_64 host?
Yes.
then I tried to compile an i386 kernel on an x86_64 host and I get the
same error:
$ make -j8 ARCH=i386
...
LD vmlinux.o
ld: i386:x86-64 architecture of input file
`net/bpfilter/bpfilter_umh.o' is incompatible with i386 output
Correct.
Any idea how to fix it without building it twice, for host and target?