Re: Problem building kernel

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
> On Dec 24, 2023, at 19:31, Justin Hibbits <[email protected]> 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
> [email protected] 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.