Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-03-04 Thread Joseph Mingrone
On Sat, 2023-03-04 at 10:16, Joseph Mingrone wrote: > On Tue, 2023-02-28 at 09:37, Kevin Oberman wrote: >> 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? > Created https://reviews.freebsd.org/D38906 with the cast t

Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-03-04 Thread Joseph Mingrone
On Tue, 2023-02-28 at 09:37, Kevin Oberman wrote: > 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? Created https://reviews.freebsd.org/D38906 with the cast that Brooks suggested. Builds successfully in all my amd64 j

Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-02-28 Thread Kevin Oberman
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

Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-02-27 Thread Kevin Oberman
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 2

Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-02-27 Thread Brooks Davis
On Mon, Feb 27, 2023 at 02:58:44PM -0800, Kevin Oberman wrote: > On Mon, Feb 27, 2023 at 10:27 AM Brooks Davis wrote: > > > On Sun, Feb 26, 2023 at 09:45:34AM -0800, Kevin Oberman wrote: > > > I updated my system yesterday. I then tried to rebuild > > virtualbox-ose-kmod. > > > This fails under l

Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-02-27 Thread Kevin Oberman
On Mon, Feb 27, 2023 at 10:27 AM Brooks Davis wrote: > On Sun, Feb 26, 2023 at 09:45:34AM -0800, Kevin Oberman wrote: > > I updated my system yesterday. I then tried to rebuild > virtualbox-ose-kmod. > > This fails under llvm15. The same source code built successfully with > > llvm14, so I assume

Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-02-27 Thread Brooks Davis
On Sun, Feb 26, 2023 at 09:45:34AM -0800, Kevin Oberman wrote: > I updated my system yesterday. I then tried to rebuild virtualbox-ose-kmod. > This fails under llvm15. The same source code built successfully with > llvm14, so I assume that the code has a problem with 15. I suspect that 15 > changed

Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-02-26 Thread Jesper Schmitz Mouridsen
Hi from https://reviews.llvm.org/D129881 try to add -Wno-error=int-conversion to the ports Makefile CFLAGS (not tested) /Jsm On 26.02.2023 18.45, Kevin Oberman wrote: I updated my system yesterday. I then tried to rebuild virtualbox-ose-kmod. This fails under llvm15. The same source code buil

virtualbon-ose-kmod build fails with 14-CURRENT and llvm15

2023-02-26 Thread Kevin Oberman
I updated my system yesterday. I then tried to rebuild virtualbox-ose-kmod. This fails under llvm15. The same source code built successfully with llvm14, so I assume that the code has a problem with 15. I suspect that 15 changed some default and declared this as an error, but may be "fixed" with th