Date: Sat, 11 Feb 2023 10:20:37 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: =?utf-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com> Cc: ports@freebsd.org, vbox@freebsd.org Subject: Re: emulators/virtualbox-ose-kmod fails to biuld on 14.0-CURRENT 1400079 Message-ID: <fsbc-r21m-wny@FreeBSD.org> In-Reply-To: <ec3bf41690da7562b4d4afa1f79bafba@mail.yourbox.net> (=?utf-8?Q?=22Jos=C3=A9=09P=C3=A9rez=22's?= message of "Sat, 11 Feb 2023 08:03:55 %2B0100") References: <ec3bf41690da7562b4d4afa1f79bafba@mail.yourbox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jos=C3=A9 P=C3=A9rez <fbl@aoek.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fsbc-r21m-wny>