From nobody Mon Sep 11 08:53:55 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 4RkgWF026Lz4tMqk for ; Mon, 11 Sep 2023 08:54:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-23.consmr.mail.gq1.yahoo.com (sonic303-23.consmr.mail.gq1.yahoo.com [98.137.64.204]) (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 4RkgWC64hqz3gt8 for ; Mon, 11 Sep 2023 08:54:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=njvO6y2U; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694422453; bh=tuIdAuRIsZazZe0e/kYk7K/+tud/OzNIrQT2hyIoBJg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=njvO6y2UmT1SZn4qq/k0ArBjvAsY8dTHAR8bQAWJFv0p6WoHYgibxUtz38zwRhtHnAgWqua34gvIFBB6LrqNN/gh+KgEihyR6MQZuIz5hVceWoNvBV/SaXDXxvQelMzuHBw4q00XoAyK93EdLNHemyAUMN0g/0ZtOULK8nz76otdMMNROX8txKX+kexg1iNHOxikkng4q/lEY9727GJFEjrvxskAiMKoVzEuQX2fAdinKTEXxymhTC0olRLgdW5FNM/6NSldDFG3LZBbJPxf6kfQ4PdtiPyE12IuyBZXxxU+Z7xPPEWBpubH7X2qEzP0nnF33/WgQelJxL5u+Lkyjg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694422453; bh=y3XAMzR3phaxQEUgR87Zmh97xHTNHqDdm+ErIZlYN9h=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=byCJun6x28aL406rdpO2ZF9nypUjXF5DCXXlsGKqCOCBEeS+U7hfZkIDggz3t/bCd+zrBMF4NdSsMYNb1dNJD08Fqt/U2Bpl1WlfC6Hdokvbj8jiBEmOZAVA4Q7o+UyVaATsAMLdVgeGTinxMI5DPYBs5cNqHjb11oWQbrkpwejKJZfYKKcNndfl4hN93wpoAOg+2xEJ5foR6k6ZXADeZ7ILnF2ZS01h0ViNJFIYNP8zoLu/QAgF+N+fV7gHPwPgpJ8JxgE58PLhh9sMGeIlPvc88cJj9vhydF6CVPZlEdbT9GuXm38GC7CBjhGP990wiujdUdLpB4a205wgsq6MSw== X-YMail-OSG: 8Ie.nzUVM1mo36WWV03mW4auuK6urW35NN4HSsvd9UH2gj3GSUcDK20r5MBFgeS VievHs3hLgC2TA4Q1jI_hSOk3kIypoJksvC306NxdH2qIutfK5IGO5_aZm8QwLGrqbAIk.phE3V9 HZEx4fIOfEsSnzeyGJNoThx0IO1nMawI3AO9kL6iU285d66aitjLBeRYKQRrrkg7CYkcizHWMoLt NMg7rhX4whEwo2OicCwpqFzZ_NsvXuGyLc3PZtb79BShe3HJh5wXl6XAguoU7vQZ3cuzp3v72JMX KAiB_JfaN5H0DmP2WDbuOm8mOhVr_Z2dNNxKzlTr7WNZDLIl4pm4I4_yzrSc59qg5Y_HDUZy3xu4 2NtjmZH0slFvYfxk0dWeYnJpRtxG_AHQrUCRFJtLJVQ8wcGYInYkFH4BHfJEZnIYuf826GbvZW9P VZKY7kpFBmx3JJF1aqaTmJ0mw.U5Y5IqQrjrF9td5B8fWYRR20ENbtDV8oY7M..sYRxpcZJ7qIC3 5Ow5DjI89uGvr5hpADZ9xXv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c9IdDUnApnhamUs8LN__T3ZCVdn4z_nCc2Ymu7M5MGzB.dldR ZzVd3DqdEpVKYLHBWSP.r6J3jbEmhUi0SawztpcpwN71lNV5rnZDt.APwJBTxrM_SoQDNnNJB5cj C7mdyKO1y1z2HS0gWb4HMIhrfxeGgBcm6G.49bSsoSlFAeP1cKkH32UE_muGe2hfQB8FJh6BKaa3 CKJGXpKwce3Ez0XIsy482_RBfhlfjiqcfFeQ2rNumCCVDEui_0cLTeRSlgnJnsPX20cfggY0AuuW QPlcs6jYMWchj0vftQy2eynrsSVwakV4ScE4D32y9gfSu0enKXUPx7mOFqRMoBFANo5DzJabETYT .8x.omYJzPfzjbxDHkaDixmknu16JNQhMHI7Lq9jbkjYVxciZsrQgcPp9FYQbqNzxVGaPM99UJJz ItkLoFd6rxOilgrQgQ_Da9H1nZdfA4B8MyLqZo.dWs29yjNO6QkRIGpxNo21uuDc6IjIH5lrTFS8 HqNC8Of7pfZtI9Vcz3II3ErFMDdTl3cEg3FxZPDw9Xn9ugbiLrSfDPwOnwQlT9EAQ1iUojq5ZEkG jDRVhE.1sYHyMXcadt1KpwQEpLOH.6Mk_cJGgWTG82GckRVi13CjAN4yQNKmsh4hIdWNiePpoqj_ XJsmgdhJnw_i4FEpzo6Rgle.hyHb5ufFxdT4V3TuhAzxohuO7VuSgT3.oFRg8Ylfis4WpDDCrlgH _YxAS81c- X-Sonic-MF: X-Sonic-ID: 0fa19580-3799-45d2-89e9-c02e78923cb4 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Mon, 11 Sep 2023 08:54:13 +0000 Received: by hermes--production-ne1-7b767b77cc-fbxjt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e5c40d4f2efcdd0bed61cc3439eb5b8c; Mon, 11 Sep 2023 08:54:08 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 \(3731.700.6\)) Subject: Re: Looks like the kyua zfs tests likely are not used on aarch64 or other contexts with unsigned char From: Mark Millard In-Reply-To: <16DE542C-D0D1-473A-B1BB-64A732265EC7@yahoo.com> Date: Mon, 11 Sep 2023 01:53:55 -0700 Cc: Warner Losh , Martin Matuska , Alexander Motin , Pawel Jakub Dawidek , Glen Barber , Mike Karels , Current FreeBSD , FreeBSD-STABLE Mailing List , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <20C7F20D-8458-4BDE-9E66-F12CD5F2C230@yahoo.com> References: <96C2F8F3-D3F0-48FC-BEEC-E3C983BD680A@yahoo.com> <86wmwxp57p.fsf@ltc.des.no> <16DE542C-D0D1-473A-B1BB-64A732265EC7@yahoo.com> To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.48 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.984]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.204:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.204:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_SEVEN(0.00)[10]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RkgWC64hqz3gt8 On Sep 11, 2023, at 00:03, Mark Millard wrote: > On Sep 10, 2023, at 23:57, Dag-Erling Sm=C3=B8rgrav = wrote: >=20 >> Mark Millard writes: >>> I'm not aware of there being other documentation for what >>> is appropriate for setting up such for kyua runs. >>=20 >> = https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test= _image-head.sh#L69-L84 >>=20 >=20 > Thanks for the reference that does not involve looking at > CI log files. Filed away for future references. >=20 >=20 > Side note . . . >=20 > Turns out that tcptestsuite does not build for aarch64 > do to alignment problems via packing in net/packetdrill : >=20 > In file included from run_packet.c:45: > In file included from ./tcp_options_iterator.h:31: > ./tcp_options.h:108:2: error: field within 'struct tcp_option' is = less aligned than 'union tcp_option::(anonymous at = ./tcp_options.h:108:2)' and is usually due to 'struct tcp_option' being = packed, which can lead to unaligned accesses = [-Werror,-Wunaligned-access] > union { > ^ > --- sctp_iterator.o --- > cc -O2 -pipe -mcpu=3Dcortex-a7 Looks like I messed up and reported an armv7 context. aarch64 built net/packetdrill and net/tcptestsuite just fine. Sorry for the noise. > -Wno-deprecated -g -fstack-protector-strong -fno-strict-aliasing = -mcpu=3Dcortex-a7 -Wall -Werror -g -c sctp_iterator.c -o sctp_iterator.o > --- tcp_options.o --- > cc -O2 -pipe -mcpu=3Dcortex-a7 -Wno-deprecated -g = -fstack-protector-strong -fno-strict-aliasing -mcpu=3Dcortex-a7 -Wall = -Werror -g -c tcp_options.c -o tcp_options.o > --- run_packet.o --- > 1 error generated. > *** [run_packet.o] Error code 1 >=20 > make[1]: stopped in = /wrkdirs/usr/ports/net/packetdrill/work/packetdrill-aebdc35/gtests/net/pac= ketdrill > --- tcp_options.o --- > In file included from tcp_options.c:25: > ./tcp_options.h:108:2: error: field within 'struct tcp_option' is = less aligned than 'union tcp_option::(anonymous at = ./tcp_options.h:108:2)' and is usually due to 'struct tcp_option' being = packed, which can lead to unaligned accesses = [-Werror,-Wunaligned-access] > union { > ^ > 1 error generated. > *** [tcp_options.o] Error code 1 >=20 > make[1]: stopped in = /wrkdirs/usr/ports/net/packetdrill/work/packetdrill-aebdc35/gtests/net/pac= ketdrill > 2 errors >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com