From nobody Mon Dec 18 00:41:36 2023 X-Original-To: freebsd-arm@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 4Stgxs06hGz54X7t for ; Mon, 18 Dec 2023 00:41:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Stgxr1BZdz4nyN for ; Mon, 18 Dec 2023 00:41:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1702860108; bh=07KZj33r2n4abBCCjGa2yxXrHLbHBTQVlBQtTgnT438=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ZMCO5SicEOjotJul6xtVSieETf0WLrh1xUtPGH+q7UlnuW3NoHVUARgvqDISIpwVD5Sh2uCfXxpAFsmYt3gapXAxlohRASrB71YXuwrqPo9SXYIO+XQTldUzP5rNNRZtY2SHTcPnv9uAXU5v2c3MVCpM52yeqV8FWjonRn1fSaobBxys+oC7nCUfQHiWmZcphIG9IvCQRcecwljJwW4LJ6V1xdOVYWjt/Mr7ZnL/Ivzdm7Y/veRu8Vtp7bxywGeoGSvDqgLmFCbyJcu8s6k5ENH0Thrs9HAC5Wz5mL0H0vMfXl/Q+5x9800rPTD76vqmJ6U7KZg0Zznom7/GmqbC+A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1702860108; bh=G9kVefttL+kxwEXNA7rSnRbke0TVWYHdd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mfPxofnnWEoSZrzxv.x8rIs41a4PgoPKx0wDqYNdJ.02nZD_8PlUkPX0cl _6syJrrPXpvWI1xn3vtGuaN8omLFzc11FdSavoEGwC2sgcig3ka9XrE6l.0a1PrVaKHKCdQsYBHX QZgsrbxR8fWNqQhGXG6T0u3MOFk7n2hNkzWshwdhD1z_dj5th6kdu_LdbaoSCECuV0GbZV2OQVwf g56Mr3JEjpi3TNN_okJ6d.fbaKXTIL395iO.o2ffDS9X38ALipT64FzeQ4J1ERWbL0tfGu3KZSZF U2WAxmLKvOyDqqt7TLeOMafoRTwkFYLy1uHa4bRsCt.bK7wLKBYJY3PlVRVPMju6mwv5e22BxztL cEL0tq1uagzzEc330mLWDHvoXN9tqIZ7jS24yrAenyNpB0gNQKtBLO5BC_3CQeYJE8nleuRKG2lp vrlTVJYfwj5qQOccRYhGPz3STngwbN2ubp2bulIziP_8cQqkjYmZoWPo98uxqH3jOq3aqPGuCKx1 9lOFkVr6uo6b76v9WhqleUeDrYAQIwePCAi2zD5e0ROFVC8ubZWRZNhLGAlxyriJ1NK8.PngzJvw _FA-- X-Sonic-MF: X-Sonic-ID: 3206c9b8-65bb-4720-b212-7731a8b38832 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Mon, 18 Dec 2023 00:41:48 +0000 Received: by hermes--production-gq1-6949d6d8f9-dpfkp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e7a9be320b74ed88dfc576908b173d16; Mon, 18 Dec 2023 00:41:47 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: problems on FreeBSD14 on armv6 board (RPI1-B) From: Mark Millard In-Reply-To: <7115fd399a58084266b71ecfbd400334@freebsd.org> Date: Sun, 17 Dec 2023 16:41:36 -0800 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <2025707260.15114.1702739060451@localhost> <29274DE1-57D2-45D3-BEB0-CBCF7C70681D@yahoo.com> <3E19FD5D-BC1A-4BA0-970F-BF195D8F7470@yahoo.com> <7115fd399a58084266b71ecfbd400334@freebsd.org> To: Alex Samorukov X-Mailer: Apple Mail (2.3774.300.61.1.2) 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:36647, ipnet:98.137.64.0/20, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Stgxr1BZdz4nyN On Dec 17, 2023, at 11:52, Alex Samorukov wrote: > On 2023/12/17 19:20, Mark Millard wrote: > root sort of support for armv6, not >> lib32 support. >> The FreeBSD build servers ( ampere[1-3] ) are not booted with >> such special kernels (or worlds). But they do build armv7 on >> arm64. armv7 also used to be built via qemu on amd64 and had >> the same sorts of problems back then that armv6 still has. >> If you read my other notes in: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256132 >> be aware that some later notes correct my errors in my earlier >> notes, making for a messy read. >=20 > Thank you for reply. I had (possibly wrong) the impression that armv7 = CPU is compatible with instructions. But armv6 is not compatible with all armv7 instructions. The issue would be more of making sure armv7 specifics are not put to use so that the result is fully armv6 compatible. > At least i can perfectly run armv6 binaries (e.g. rpi1 chroot) on = armv7, despite the fact that it is "kern.supported_archs: aarch64 = armv7". Also i was using this VM for a long time, just to build packages = I am using for my old rpi1 (domoticz, ebusd, fresh libraries, etc). Now = I am running full bulk and it seems to work fine. I did a small patch = to poudrier to make it possible [1], but it seems that upstream does not = care about patches anymore. >=20 > Regarding bug 256132 - so far i cant find that it impacting my builds = at all - binaries are running well. Is all that testing only on an armv6-only processor? Testing on armv7 or aarch64-that-supports-armv7 would execute code that armv6 would not. > I could assume that some configure scripts could try to check (and = enable) some flags for armv7 while building, but I think the chances are = very low and it could be handled on ad-hoc basis. What have you done to avoid armv7 specific defaults from being used, instead causing armv6 defaults? > Please correct me if i am missing something. Thank you, Oleksij I'll note that I've never done such "armv6-only processor" testing. I'll not have access to any FreeBSD arm6, arm7, or aarch64 contexts until after something like 2024-Jan-01. > [1] https://github.com/freebsd/poudriere/pull/1063 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com