Re: cross-compiling for i386 on amd64 fails

From: Michael Butler via freebsd-current <freebsd-current_at_freebsd.org>
Date: Tue, 16 Nov 2021 13:52:56 UTC
I should have been more specific ..

I'm observing that "/usr/src/release/release.sh -c release-i386.conf" 
fails when targeting a i386 build on an amd64 host :-(


On 11/16/21 02:33, Warner Losh wrote:
> 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
>>
>>
>