From nobody Sat Feb 11 09:20:37 2023 X-Original-To: ports@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 4PDQ7Y1rYjz3phvM for ; Sat, 11 Feb 2023 09:20:41 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PDQ7Y1K3Sz4Fnd; Sat, 11 Feb 2023 09:20:41 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676107241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EleqzrThmzbX6bvS0Tmq8k6XS45CApOoYqqSEm6rLok=; b=evz1971DNYIAfYLlT6yiSGu68ueqmCHC31ldt2HOULDTY0bTZ9RJiOlamiKrlPOuzrB5oQ 0MLexTU/x6LvXmoD8cqtUeI1YJWnWH7BIxSlgG7bPWPYHruLh01ARQChNShZ/psNTO4HXL A7ehuDPXgCSB/2nenz9T63mX8ZbPL+y9EPLYBxj/HBwGoaENMZg4ekUqAJ3bEqlvD3H1fB 6EGQMTRNisub+aw8hYCJSAuiUnhccI/zmEWlYXNxSFwPdmmL5OW7igQjvRECPeg74J6vSh uBb4b7M3Z1yO2M33i5vOybU2f9TEmjucNXEa87VhcFfpNrDT1sF4s5O8tEw7dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676107241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EleqzrThmzbX6bvS0Tmq8k6XS45CApOoYqqSEm6rLok=; b=DrpnhM0ZGr+bV7OUa5ILsY21GhtGBXuKshKawzAjgHSeQbyHSCtRYhJvjv1PialgCp4uvF rOj/3Y+zlbiVmltnuYMO+f7Uj5pbwlGZkICpZGBhy8nzFfXdKZbPSn7QrX//fToNs4iqaC G2jxPYQ5+lJPIy58wUqcMeT7zprECqW2XqzLciTvwgBPNJN7lE1xQbY/7LYvtpHQ2d11mh TmSBPzflAELwLSXh8Ka7GUa3wT8C52mjJKSdX1rMq0RZpGYAT4Lu/x/6sTYo5pAq80rEZi SjJ9FbRYqIH2zoMorrrJ86XLZAaxo3PnGZZtOzNo4Im6tE/8m3KyAnx4l58XfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676107241; a=rsa-sha256; cv=none; b=osthtVmo9iaomMpsMFjIPZy7Er7yjPDnkGByZFJr6yHi2UaTf4SR9vNlodO5PYGAB+VKWB T7T091+OLoje8n1mc4FpM7gSf6k6Wu0h3T5vT4NkM56IweZIqltBSGI7CDQ/6ax8+f/g2h ole+AD4JPxCVFLGMPcsW3i0EojziP0So7T9cNAuOx4aXUi6obEOLJ9f5M+IQk3xtsO47eb 9dA9sfFGEhM2wO9/btGdrBMl4qk8lT5Z2xDVgrp3lhbLPPjgUVumqj0w4QS2/+BtvzU1/k MTqvEBCbwuUx4QuAhgCo3KnCXwJghwawiJX5122IHEnqoId5fX8RHLNFFNSi8Q== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 1CD501176E; Sat, 11 Feb 2023 09:20:41 +0000 (UTC) From: Jan Beich To: =?utf-8?B?Sm9zw6kgUMOpcmV6?= Cc: ports@freebsd.org, vbox@freebsd.org Subject: Re: emulators/virtualbox-ose-kmod fails to biuld on 14.0-CURRENT 1400079 In-Reply-To: (=?utf-8?Q?=22Jos=C3=A9=09P=C3=A9rez=22's?= message of "Sat, 11 Feb 2023 08:03:55 +0100") References: Date: Sat, 11 Feb 2023 10:20:37 +0100 Message-ID: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N Jos=C3=A9 P=C3=A9rez writes: > out/freebsd.amd64/release/bin/src/vboxdrv/freebsd/SUPDrv-freebsd.c:433:50: > error: incompatible pointer to integer conversion passing 'void *' to > parameter of type 'RTR3PTR' (aka 'unsigned long') [-Wint-conversion] > if (RT_FAILURE(RTR0MemUserCopyFrom(&Hdr, pvUser, sizeof(Hdr)))) > ^~~~~~ > out/freebsd.amd64/release/bin/src/vboxdrv/freebsd/SUPDrv-freebsd.c:461:50: > error: incompatible pointer to integer conversion passing 'void *' to > parameter of type 'RTR3PTR' (aka 'unsigned long') [-Wint-conversion] > if (RT_FAILURE(RTR0MemUserCopyFrom(pHdr, pvUser, Hdr.cbIn))) > ^~~~~~ > out/freebsd.amd64/release/bin/src/vboxdrv/freebsd/SUPDrv-freebsd.c:494:46: > error: incompatible pointer to integer conversion passing 'void *' to > parameter of type 'RTR3PTR' (aka 'unsigned long') [-Wint-conversion] > if (RT_FAILURE(RTR0MemUserCopyTo(pvUser, pHdr, cbOut))) > ^~~~~~ > include/iprt/errcore.h:99:58: note: expanded from macro 'RT_FAILURE' > #define RT_FAILURE(rc) ( RT_UNLIKELY(!RT_SUCCESS_NP(rc)) ) > ^~ > include/iprt/errcore.h:80:38: note: expanded from macro 'RT_SUCCESS_NP' > # define RT_SUCCESS_NP(rc) ( (int)(rc) >=3D VINF_SUCCESS ) > ^~ > include/iprt/cdefs.h:1826:53: note: expanded from macro 'RT_UNLIKELY' > # define RT_UNLIKELY(expr) __builtin_expect(!!(expr), 0) > ^~~~ > include/iprt/mem.h:768:41: note: passing argument to parameter > 'R3PtrDst' here > RTR0DECL(int) RTR0MemUserCopyTo(RTR3PTR R3PtrDst, void const *pvSrc, > size_t cb); > > Is this known? Recent large scale fallout is due to Clang 15 upgrade. Ports with many consumers have been fixed. What's left are ports with few or none consumers, fixing which is left to the respective maintainers or interested users. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265425 https://pkg-status.freebsd.org/builds/default:default:main-amd64:p58633340e= 9ed_s5636590214:beefy18#new_failed