Re: cross-compiling for i386 on amd64 fails

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 16 Nov 2021 17:00:36 UTC
On 11/15/21 8:34 PM, Michael Butler via freebsd-current wrote:
> Haven't had time to identify which change caused this yet but I now get ..
> 
> ===> lib/libsbuf (obj,all,install)
> ===> cddl/lib/libumem (obj,all,install)
> ===> cddl/lib/libnvpair (obj,all,install)
> ===> cddl/lib/libavl (obj,all,install)
> ld: error: /usr/obj/usr/src/i386.i386/tmp/usr/lib/libspl.a(assert.o) is
> incompatible with elf_i386_fbsd
> ===> cddl/lib/libspl (obj,all,install)
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> --- libavl.so.2 ---
> *** [libavl.so.2] Error code 1
> 
> make[4]: stopped in /usr/src/cddl/lib/libavl

My guess is that this was fixed by
git: 9e9c651caceb - main - cddl: fix missing ZFS library dependencies

-- 
John Baldwin