From nobody Tue Feb 28 17:37:35 2023 X-Original-To: emulation@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 4PR4MP4w8qz3tjxl for ; Tue, 28 Feb 2023 17:37:53 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PR4MN6kgxz3h28; Tue, 28 Feb 2023 17:37:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=g4Lvs6m9; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::112a as permitted sender) smtp.mailfrom=kob6558@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-536bbe5f888so293937407b3.8; Tue, 28 Feb 2023 09:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677605872; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bv6Ihs9HhzGVLVZbGA88opVVrltNdcbvcYaSeZ9Jl4Q=; b=g4Lvs6m94D0+zhPAlSeo9BD4HybhIA/oAjMpvAbimfnIQQGCTK6IsGPjpUhZHlmgUn claDvFqHMGHVOvAVlN9A7Xqb9DnuUzx3ehTCpi4dGFICYSeI7VWrFd3doBpK8bl8nDAc ZGAeZLDYyeyoXjwVnSLmGbO5wanCSsgpajfh9c5fswwtG+JK/cYsJT3U82OCfINdHIzC /VNnERot0sg4XUlbbCBPiTdRtKhM4969L/OdTIWvCcq/jert1siSm87gOjpKAZaxb0uT 4oqqrHE7crp+oxcEnumOdXGmgVAcF9T02QQBQxmSOFI6wXKJJgtyN8dbYyJvqaJ94uh1 qB4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677605872; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bv6Ihs9HhzGVLVZbGA88opVVrltNdcbvcYaSeZ9Jl4Q=; b=NNILMNYmNMBQg9znzIJwlzOnLw4Ge0QfB5rkCf2Tw2mfaofJUcsa8uoXmS3gtLj8MX 1MUiktyH1dBaprY2yJ7Ijd2T/OqctEPZip9acooTN9hHd1KuR/XZ1QwY3+SI2n3+XXKJ SVwi05vHUd6/JVwjyjgh90lkja3q9r294OQAT67wAActnsQpaMvaHu+tbIVMorrL71U4 atsZV2AANEJ0tiFcvcnZguD11trFSQ5RD7U61Y4Ze/HZtnZFWUTPMSNnblwEspyJ5ZyX gX1j8R8DwQBXIfAV1Pgu2Pdf4IbT7unrRx4ahS5r1UGywnPGD9Ee4mZOZKlnIz+Jb15p kwUA== X-Gm-Message-State: AO0yUKXimIeHCZ/nwzjTTKLizMtWPPFuHCY7BKN+/odicxRD6kAhlH1c fRI0pd76ylF/fh/qbUhA1RwLoqoEW3K7Cu3KQ0ycDZ4o X-Google-Smtp-Source: AK7set97/zZIxI/wmJ/ZdI3cv5B+b0Kqc3+f7alDtfyoQqQnMzs5IDiaGbBgtC1mm0pNDK89O8Lp5kF3vsMwNzwQGY0= X-Received: by 2002:a05:690c:583:b0:538:49a4:b1e0 with SMTP id bo3-20020a05690c058300b0053849a4b1e0mr12186473ywb.2.1677605871797; Tue, 28 Feb 2023 09:37:51 -0800 (PST) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Tue, 28 Feb 2023 09:37:35 -0800 Message-ID: Subject: Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15 To: Brooks Davis Cc: "freebsd-emulation@freebsd.org" Content-Type: multipart/alternative; boundary="0000000000000fcc5505f5c60ef0" X-Spamd-Result: default: False [-3.54 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.84)[-0.838]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[emulation@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112a:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PR4MN6kgxz3h28 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --0000000000000fcc5505f5c60ef0 Content-Type: text/plain; charset="UTF-8" On Mon, Feb 27, 2023 at 3:40 PM Kevin Oberman wrote: > Thanks, Brooks! That seems to have been the right cast. At least it > compiles correctly. I'll test it after I reboot the new kernel and > installworld, probably this evening. > > I was a bit confused by what appeared as a cast of a void to a void, but > assumed I was just not understanding. > > On Mon, Feb 27, 2023 at 3:10 PM Brooks Davis wrote: > >> Sorry, I misread the error message and lead you astray by suggesting >> the opposite of the correct thing. The correct cast is probably >> (uintptr_t)pvUser. >> >> -- Brooks >> > > The patched version of the kmod works correctly as far as my limited testing can tell. Thanks again for your help! I will submit the patch upstream an see if it get a response. Is a patch to the port appropriate until/unless it gets fixed? -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --0000000000000fcc5505f5c60ef0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Feb 27, 2023= at 3:40 PM Kevin Oberman <rkober= man@gmail.com> wrote:
Thanks, Brooks! That seems to have been the right cast. At = least it compiles correctly. I'll=C2=A0 test it after I reboot the new = kernel and installworld, probably this evening.

I was a bit confused by what appeared as= a cast of a void to a void, but assumed I was just not understanding.
<= /div>

On Mon, Feb 27, 2023 at 3:10 PM Brooks Davis <brooks@freebsd.org> wrote:
Sorry, I misread the e= rror message and lead you astray by suggesting
the opposite of the correct thing.=C2=A0 The correct cast is probably
(uintptr_t)pvUser.

-- Brooks

The patched version of = the kmod works correctly as far as my limited testing can tell. Thanks agai= n for your help!

I w= ill submit the patch upstream an see if it get a response. Is a patch to th= e port appropriate until/unless it gets fixed?
--
Kevin Oberman, Part time kid h= erder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Finge= rprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
--0000000000000fcc5505f5c60ef0--