From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [GIT] Networking Date: Thu, 21 Jun 2018 18:33:33 +0200 Message-ID: <20180621163333.GC14171@gmail.com> References: <20180620.213540.214945910722071226.davem@davemloft.net> <20180621084510.GA22870@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S . Miller" , alexei.starovoitov@gmail.com, sfr@canb.auug.org.au, torvalds@linux-foundation.org, akpm@linux-foundation.org, netdev , linux-kernel@vger.kernel.org, tglx@linutronix.de To: Matteo Croce Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org * Matteo Croce 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