Re: Problem building kernel

From: <tuexen_at_freebsd.org>
Date: Sun, 24 Dec 2023 12:47:49 UTC
> On Dec 24, 2023, at 12:27, Vladimir Kondratyev <vladimir@kondratyev.su> wrote:
> 
> On 24.12.2023 14:18, tuexen@freebsd.org wrote:
>> Dear all,
>> I just tried to build world and kernel on a 64-bit PPC system.
>> make -j 32 buildworld
>> ran without problems.
>> However
>> make kernel KERNCONF=GENERIC
>> breaks with
>> ..
>> --- all_subdir_accf_data ---
>> --- accf_data.kld ---
>> ld -m elf32ppc_fbsd -warn-common --build-id=sha1 --no-toc-optimize  -r  -o accf_data.kld accf_data.o
>> --- all_subdir_acl_nfs4 ---
>> --- offset.inc ---
>> sh /usr/home/tuexen/freebsd-src/sys/kern/genoffset.sh genoffset.o > offset.inc
>> --- all_subdir_accf_data ---
>> ld: error: accf_data.o is incompatible with elf32ppc_fbsd
>> *** [accf_data.kld] Error code 1
>> make[4]: stopped in /usr/home/tuexen/freebsd-src/sys/modules/accf_data
>>       5.79 real        22.37 user        15.35 sys
>> make[1]: stopped in /usr/home/tuexen/freebsd-src
>> make: stopped in /usr/home/tuexen/freebsd-src
>> tuexen@blackbird:
>> Any idea what is going wrong?
>> Best regards
>> Michael
> 
> Latest LKPI changes broke 32 bit archs and powerpc.
> 
> I am going to fix them. Sorry for breakage.
No problem. If you want me to test a fix, drop me an e-mail.

Best regards
Michael
> 
> -- 
> WBR
> Vladimir Kondratyev
> 
>