From nobody Sat Aug 12 22:17:39 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 4RNZmD0Bj5z4TsZx for ; Sat, 12 Aug 2023 22:17:48 +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 4RNZmB6wzCz4VXx; Sat, 12 Aug 2023 22:17:46 +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 37CMHeFZ031900; Sat, 12 Aug 2023 17:17:40 -0500 (CDT) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1691878660; bh=gePiVqPTqdw+4MVMqHVil5aKfSnUppyKGCDf7D0q9oY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Qy48r5TyGNMGIf602IV46Xlc8IaB7PRbS/GriEhf7+w3xEmIdqUo39Gdvk+nJ/vvJ MJ5PiIegwi7SfKFZG0eM4n3jvWQEGx6iXblYgfDCvhIc7beEvTIV+MriRkMZ3OkEs0 CX/5ApGC6nX3pMhhCdOOUdTSxC1sVjYrabIz7wHKWwxS+b/GJ6G/dbMFqi4TLAQjeP P+eAZrk7A+r4L80OuW4h8h1VagKQoGk9rUpMqg3eIK4/lmx1XJvhJlN4YHmm2Qs53P GfFLJuFlxKQiDfKmIvc8BD7PQD4aOaGOMg0p+sLLNYmuPl/ZOUrd43LAK6Juk5YtOh IO/CmITa80oUQ== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id L+tRGAQF2GSafAAAs/W3XQ (envelope-from ); Sat, 12 Aug 2023 17:17:40 -0500 From: Mike Karels To: Juraj Lutter Cc: FreeBSD CURRENT Subject: Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64 Date: Sat, 12 Aug 2023 17:17:39 -0500 X-Mailer: MailMate (1.14r5964) Message-ID: <0FA5C2F2-6639-4522-AA29-537F596A5F81@karels.net> In-Reply-To: <68CBFC44-9C0A-43D1-A0C2-530207E0762F@FreeBSD.org> References: <68CBFC44-9C0A-43D1-A0C2-530207E0762F@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: 4RNZmB6wzCz4VXx 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 12 Aug 2023, at 15:32, Juraj Lutter wrote: > Hi, > > recent 14.0-ALPHA1 sources is giving an error: > > Building /usr/obj/usr/src/arm64.aarch64/obj-lib32/lib/libssp_nonshared/= libssp_nonshared.o > Building /usr/obj/usr/src/arm64.aarch64/obj-lib32/lib/libgcc_eh/int_uti= l.o > error: unable to create target: 'No available targets are compatible wi= th triple "armv7-unknown-freebsd14.0-gnueabihf"' > 1 error generated. > error: unable to create target: 'No available targets are compatible wi= th triple "armv7-unknown-freebsd14.0-gnueabihf"' > *** [libssp_nonshared.o] Error code 1 > > Commandline: > make -j`sysctl -n hw.ncpu` WITH_META_MODE=3D1 TARGET=3Darm64 TARGET_ARC= H=3Daarch64 buildworld buildkernel > > The build runs in clean objdir, src git hash 220427da0e9b2c1d8e964120be= cc17eb7524e46f > > Host runs 14.0-CURRENT 28d2e3b5dedf > > Am I missing something obvious? > Thanks. Did the buildworld start out by building a cross-compiler? Have you tried without meta mode? With a clean objdir, I don't see how 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. Mike > =E2=80=94 > Juraj Lutter > otis@FreeBSD.org