Re: Problem building kernel

From: <tuexen_at_freebsd.org>
Date: Sun, 24 Dec 2023 21:37:33 UTC
> On Dec 24, 2023, at 19:31, Justin Hibbits <jhibbits@freebsd.org> wrote:
> 
> Hi Michael,
> 
> The GENERIC config is for 32-bit powerpc, GENERIC64 is what you want
> for 64-bit config.
Hi Justin,

thanks a lot! That was the problem.

Best regards
Michael
> 
> - Justin
> 
> On Sun, 24 Dec 2023 12:18:55 +0100
> 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
>