Re: [GIT] Networking

From: Ingo Molnar
Date: Thu Jun 21 2018 - 12:33:42 EST



* Matteo Croce <mcroce@xxxxxxxxxx> 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?

No idea, sorry ...

Thanks,

Ingo