From nobody Sun Dec 24 18:31:46 2023 X-Original-To: freebsd-ppc@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 4SyqPc61Kkz5524H; Sun, 24 Dec 2023 18:31:48 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SyqPc4cV1z4n1B; Sun, 24 Dec 2023 18:31:48 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703442708; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MbjZbnaSBmIBLRfAZNV6qgRFEzINIoCv3emM45UnV7M=; b=i0o+PJBaIyXlzl/hC2yvUzb2hawbqtDc+4rgVqka5feud1qfMHQKSmQVHuh31R1x/j3Xmw Aq9Jr/TSW9Um8DzRJTEwmVBZ0w008BtUvMQUfFCn2apT3XB8BFRw2IXgS6sXVR46wf+B7D l2yOP+e2nrWWf+wzezJuEjxpkemzfInHu0TxvZehJZN8f/uhmrC28wnbeF5QT1dkQPNSJC jeicL3E/iO7g81G2wdoByUT2be56HMhhVFMHM3bDbEXBvwNb+2AZHGSiS1KZRNH3pMnly1 hHvQYUCfsk89bx5LTqKRG9NikGxLj86QApm38wb7WiBS5C0cx6Czb9d+nH9tgA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703442708; a=rsa-sha256; cv=none; b=htKqwhFYVkD1DBjC19apzD4DtiHhUMLkySDtkHiROipMmmFu7oFNUvvlxuWz2ez/2Bcxaz x5EHLjbqRxAbrWXL52mgcqBDMUo26PoKhw1BksA6OLM7BrYix3PmSsvXi3QQQQjwxE25sB Wtw4bCwOOwiGQOrlVf+gYUQduyl6aoRZzcF5E6IYCYjFSHT/trlNOWvrgldlgeaCwWXvY7 btrPBJ1iQH0lk5ldvWkR0pTPV8kaWwjP8oXlvOVJK7joBMWa2EmdeQMduZVdXL2/N//yZ7 YwwTkq+H/L7/NOrFWmqszMTyEVykldzUYD4/xRu04sFXbUOsdgDqLZCxe7CXow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703442708; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MbjZbnaSBmIBLRfAZNV6qgRFEzINIoCv3emM45UnV7M=; b=xesBBmCu9vKG02KgPo2o7XMKby2V+VzCLArRqVz2KOezUQfwDgpCtabitj5tO9DlvReBU3 q+ILAy0P405Ix8Ak/w5VakbvNnXoIlF4HmRjFlrITjy1SKbsJv+GwnTLovTlqsHKTrXKnb +d6oVLAQ0VDKv+dFBLMr77LesHU6C7UilxBw/CMFFgxcpbcNGVJjR2eolYR5IkF4dsEkr2 e5g/TsfBrrqtV9nGcEr0K/3P6MEIYpYbExoh4vuih6xlAIfamBlwo1yuxcsb74dkhZP0Mi OJVrTX/4E7N6cfMjdDS02x5OrIJmQLuY57BIXRQ1IX8ms0e/i0n9ippyUaFmbA== Received: from ralga.knownspace (ip-163-182-7-56.dynamic.fuse.net [163.182.7.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhibbits) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SyqPc2WHRzBPn; Sun, 24 Dec 2023 18:31:48 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Date: Sun, 24 Dec 2023 13:31:46 -0500 From: Justin Hibbits To: tuexen@freebsd.org Cc: FreeBSD PowerPC ML , current@freebsd.org Subject: Re: Problem building kernel Message-ID: <20231224133146.39e959dc@ralga.knownspace> In-Reply-To: <85D0FE30-E9D0-4758-9D93-8BCD5DE321C3@freebsd.org> References: <85D0FE30-E9D0-4758-9D93-8BCD5DE321C3@freebsd.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; powerpc64le-unknown-linux-gnu) List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Michael, The GENERIC config is for 32-bit powerpc, GENERIC64 is what you want for 64-bit config. - 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