From nobody Wed Jul 19 16:44:26 2023 X-Original-To: dev-commits-src-all@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 4R5hVl24TWz4nSrp; Wed, 19 Jul 2023 16:44:31 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R5hVk62Ycz4MjZ; Wed, 19 Jul 2023 16:44:30 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:c1c3:905:51d0:8c41]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTPSA id 9304271BCEB81; Wed, 19 Jul 2023 18:44:26 +0200 (CEST) Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: git: 07864a8a2466 - main - kinst: port to arm64 From: tuexen@freebsd.org In-Reply-To: <202307191459.36JExsm8067623@gitrepo.freebsd.org> Date: Wed, 19 Jul 2023 18:44:26 +0200 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <202307191459.36JExsm8067623@gitrepo.freebsd.org> To: Christos Margiolis X-Mailer: Apple Mail (2.3731.600.7) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4R5hVk62Ycz4MjZ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated > On 19. Jul 2023, at 16:59, Christos Margiolis = wrote: >=20 > The branch main has been updated by christos: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D07864a8a2466b8ab3d6fa6623a7eaaf0= 834c0b51 >=20 > commit 07864a8a2466b8ab3d6fa6623a7eaaf0834c0b51 > Author: Christos Margiolis > AuthorDate: 2023-07-19 14:58:18 +0000 > Commit: Christos Margiolis > CommitDate: 2023-07-19 14:58:18 +0000 >=20 > kinst: port to arm64 >=20 > Reviewed by: markj > Approved by: markj (mentor) > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D40337 > --- > sys/cddl/dev/kinst/aarch64/kinst_isa.c | 455 = +++++++++++++++++++++++++++++++++ > sys/cddl/dev/kinst/aarch64/kinst_isa.h | 26 ++ > sys/modules/dtrace/Makefile | 2 +- > 3 files changed, 482 insertions(+), 1 deletion(-) >=20 This doesn't compile on my system: =3D=3D=3D> dtrace/kinst (all) cc -target aarch64-unknown-freebsd14.0 = --sysroot=3D/usr/obj/usr/home/tuexen/freebsd-src/arm64.aarch64/tmp = -B/usr/obj/usr/home/tuexen/freebsd-src/arm64.aarch64/tmp/usr/bin -O2 = -pipe -fno-common -D_SYS_VMEM_H_ -D__KERNEL__ -nostdinc -DSMP = -I/usr/home/tuexen/freebsd-src/sys/contrib/openzfs/include = -I/usr/home/tuexen/freebsd-src/sys/contrib/openzfs/include/os/freebsd = -I/usr/home/tuexen/freebsd-src/sys/contrib/openzfs/include/os/freebsd/spl = = -I/usr/home/tuexen/freebsd-src/sys/contrib/openzfs/include/os/freebsd/zfs = -I/usr/home/tuexen/freebsd-src/sys/cddl/compat/opensolaris = -I/usr/home/tuexen/freebsd-src/sys/cddl/contrib/opensolaris/uts/common = -include = /usr/home/tuexen/freebsd-src/sys/contrib/openzfs/include/os/freebsd/spl/sy= s/ccompile.h -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE = -DKLD_TIED -nostdinc -I/usr/home/tuexen/freebsd-src/sys/cddl/dev/kinst = -I/usr/home/tuexen/freebsd-src/sys/cddl/dev/kinst/aarch64 = -I/usr/home/tuexen/freebsd-src/sys/cddl/dev/dtrace/aarch64 = -DHAVE_KERNEL_OPTION_HEADERS -include = /usr/obj/usr/home/tuexen/freebsd-src/arm64.aarch64/sys/TCP/opt_global.h = -I. -I/usr/home/tuexen/freebsd-src/sys = -I/usr/home/tuexen/freebsd-src/sys/contrib/ck/include -fno-common -g = -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC = -fdebug-prefix-map=3D./machine=3D/usr/home/tuexen/freebsd-src/sys/arm64/in= clude -I/usr/obj/usr/home/tuexen/freebsd-src/arm64.aarch64/sys/TCP = -mstack-protector-guard=3Dsysreg -mstack-protector-guard-reg=3Dsp_el0 = -mstack-protector-guard-offset=3D0 -MD -MF.depend.kinst_isa.o = -MTkinst_isa.o -mgeneral-regs-only -ffixed-x18 -ffreestanding -fwrapv = -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign = -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs = -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body = -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function = -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value = -Wno-address-of-packed-member -Wno-format-zero-length -std=3Dgnu99 = -include = /usr/home/tuexen/freebsd-src/sys/cddl/compat/opensolaris/sys/debug_compat.= h -c /usr/home/tuexen/freebsd-src/sys/cddl/dev/kinst/aarch64/kinst_isa.c = -o kinst_isa.o = /usr/home/tuexen/freebsd-src/sys/cddl/dev/kinst/aarch64/kinst_isa.c:223:9:= error: assigning to 'struct kinst_probe *' from 'const struct = kinst_probe *' discards qualifiers = [-Werror,-Wincompatible-pointer-types-discards-qualifiers] ks->kp =3D kp; ^ ~~ 1 error generated. *** Error code 1 Stop. make[5]: stopped in = /usr/home/tuexen/freebsd-src/sys/modules/dtrace/kinst *** Error code 1 Stop. make[4]: stopped in /usr/home/tuexen/freebsd-src/sys/modules/dtrace *** Error code 1 Stop. make[3]: stopped in /usr/home/tuexen/freebsd-src/sys/modules *** Error code 1 Stop. make[2]: stopped in = /usr/obj/usr/home/tuexen/freebsd-src/arm64.aarch64/sys/TCP 3.00 real 1.97 user 1.07 sys *** Error code 1 Stop. make[1]: stopped in /usr/home/tuexen/freebsd-src *** Error code 1 Stop. make: stopped in /usr/home/tuexen/freebsd-src Best regards Michael=