From nobody Sun Aug 13 14:55:42 2023 X-Original-To: freebsd-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 4RP0vj1gl4z4TtZ6 for ; Sun, 13 Aug 2023 14:55:45 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RP0vh6g5Kz3YS3; Sun, 13 Aug 2023 14:55:44 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 37DEthNv037286; Sun, 13 Aug 2023 09:55:43 -0500 (CDT) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1691938543; bh=BFw1jupS867EqWFHhLYPUKo+c8ZQ6TJoI1H452jTpe0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=VMcHy3Reu7YLLuUUpvk51le9TrPu/WQsKFUR7OaCPoMyZeYAPzs5Xb1z4fUblWKlq aliyAI24KitWjaVbMC8ucp07/9D6CG8hYv50E2w1JLoSWiZFTdmePAnR79vO5IjOzm ODwGJcpsIfFHR9uOreYicyHNXILXjJ1mwe9ge6uSWgr2NwME6uoxlUPNZDMQs9ZSD7 krL7Hp0Tmhf8KrmjNCPzK6yZimplcH9gR3puglw7dvfVIC+Xg2rembI7fv38/w2KaQ yjrZppJKsxA5Qjnw6ABMdL57g4Axf/affCrJ8p8ZkO6xNX8Iz0bFtOBgarfse9sg2u Tdh96NSbT9TqQ== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id yo2xH+/u2GSkkQAAs/W3XQ (envelope-from ); Sun, 13 Aug 2023 09:55:43 -0500 From: Mike Karels To: Juraj Lutter Cc: FreeBSD CURRENT Subject: Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64 Date: Sun, 13 Aug 2023 09:55:42 -0500 X-Mailer: MailMate (1.14r5964) Message-ID: In-Reply-To: References: <68CBFC44-9C0A-43D1-A0C2-530207E0762F@FreeBSD.org> <0FA5C2F2-6639-4522-AA29-537F596A5F81@karels.net> <8A772467-B246-4C6B-AD7E-81AD16903196@FreeBSD.org> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4RP0vh6g5Kz3YS3 X-Spamd-Bar: ---- 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:16509, ipnet:3.16.0.0/14, country:US] On 13 Aug 2023, at 9:25, Juraj Lutter wrote: >> On 13 Aug 2023, at 14:42, Juraj Lutter wrote: >> >> Hi, >> >>> On 13 Aug 2023, at 00:17, Mike Karels wrote: >>> >>> On 12 Aug 2023, at 15:32, Juraj Lutter wrote: >>> >>> Did the buildworld start out by building a cross-compiler? >>> >>> Have you tried without meta mode? With a clean objdir, I don't see h= ow >>> it would matter, but I'm not sure I've tried it. >>> >>> The ALPHA1 builds seem to have worked, but I think they run on arm64.= >>> >> >> See here: https://files.wilbury.net/s/bJKKB5Kbta6DNqB for the full log= =2E >> >> As I read it, lib32 is being built before crosscompiler. Is lib32 supp= osed to be built on aarch64? lib32 is not built until stage 4.3.1, after build and cross tools. I tes= ted a build just now on amd64 with empty /usr/obj, and it worked (make -j$NCU= buildworld TARGET=3Darm64 TARGET_ARCH=3Daarch64). However, the host was approximately at the level of ALPHA1, and the first lines of the output showed that a cross-compiler was not needed. However, my earlier builds that required a cross-compiler worked fine. Yes, lib32 is supposed to be built on aarch64 as of a few weeks ago. > So it seems that =E2=80=9Cnative-xtools=E2=80=9D and associated targets= are not being built. > If I do =E2=80=9Cmake TARGET=3Darm64 TARGET_ARCH=3Daarch64 native-xtool= s=E2=80=9D, cross tools are > being built and lib32 is built, in turn, also. I don't see native-xtools built either. but the build worked. Have you checked src.conf? Mike > The commit I suspect that lead into this was eafd028327cee688b54bc526e0= 88c2a3b98f94e0 (there sees > to not be any other related changes fiddling with make targets). > > otis > > > =E2=80=94 > Juraj Lutter > XMPP: juraj (at) lutter.sk > GSM: +421907986576