Re: cross-compiling for i386 on amd64 fails

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 16 Nov 2021 07:33:49 UTC
A meta-build worked for me just now...

Warner

On Mon, Nov 15, 2021 at 9:35 PM Michael Butler via freebsd-current <
freebsd-current@freebsd.org> 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
>
>         imb
>
>