From nobody Sun Dec 24 21:37:33 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SyvX1657vz54XXq; Sun, 24 Dec 2023 21:37:37 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SyvX145Lgz3QxF; Sun, 24 Dec 2023 21:37:37 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:44a3:776d:b23d:26e]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTPSA id 44B39721E280D; Sun, 24 Dec 2023 22:37:34 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: Problem building kernel From: tuexen@freebsd.org In-Reply-To: <20231224133146.39e959dc@ralga.knownspace> Date: Sun, 24 Dec 2023 22:37:33 +0100 Cc: FreeBSD PowerPC ML , current@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <26D816CF-7985-4B65-85DC-207AC40AC163@freebsd.org> References: <85D0FE30-E9D0-4758-9D93-8BCD5DE321C3@freebsd.org> <20231224133146.39e959dc@ralga.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SyvX145Lgz3QxF > On Dec 24, 2023, at 19:31, Justin Hibbits 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 >