From owner-freebsd-current@freebsd.org Tue Jan 26 08:19:39 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7CE64E481A for ; Tue, 26 Jan 2021 08:19:39 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [37.187.123.11]) (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 (2048 bits) client-digest SHA256) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DQ05Q4zrSz4vlQ for ; Tue, 26 Jan 2021 08:19:38 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=192.168.25.127; helo=restart.be; envelope-from=hlh@restart.be; receiver= DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 4DQ05G5VpvzX4 Received: from restart.be (norquay.tunnel.bel [192.168.25.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 4DQ05G5VpvzX4; Tue, 26 Jan 2021 09:19:28 +0100 (CET) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1]) (authenticated bits=0) by restart.be (8.16.1/8.16.1) with ESMTPSA id 10Q8JNAf015263 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=OK); Tue, 26 Jan 2021 09:19:27 +0100 (CET) (envelope-from hlh@restart.be) X-Authentication-Warning: norquay.restart.bel: Host morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1] claimed to be morzine.restart.bel Subject: Re: problem building virtualbox-ose-kmod To: Mark Millard , monochrome@twcny.rr.com, Current FreeBSD References: From: Henri Hennebert Message-ID: <218de9a3-9cd6-b133-09d9-7919efa592a8@restart.be> Date: Tue, 26 Jan 2021 09:19:23 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DQ05Q4zrSz4vlQ X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[restart.be:s=tignes]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:37.187.123.11/32]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[37.187.123.11:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[restart.be:+]; DMARC_POLICY_ALLOW(-0.50)[restart.be,reject]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.com,twcny.rr.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[37.187.123.11:from]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 08:19:39 -0000 On 1/26/21 9:13 AM, Mark Millard via freebsd-current wrote: > monochrome monochrome at twcny.rr.com wrote on > Tue Jan 26 06:34:23 UTC 2021 : > >> . . . for quite a while now, maybe over a month . . . > >> --- memobj-r0drv-freebsd.o --- >> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.44/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c:887:80: >> error: too few arguments to function call, expected 6, have 5 >> int krc = vm_map_protect(pVmMap, AddrStart, AddrEnd, >> ProtectionFlags, FALSE); >> ~~~~~~~~~~~~~~ >> ^ >> /usr/src/sys/vm/vm_map.h:517:5: note: 'vm_map_protect' declared here >> int vm_map_protect(vm_map_t map, vm_offset_t start, vm_offset_t end, >> ^ >> 1 error generated. >> *** [memobj-r0drv-freebsd.o] Error code 1 > > > The change from 5 parameters to 6 parameters is recent: main's 0659df6faddf > as of 2021-01-12 23:35:22 +0000 (commit). Its one line description is: > > QUOTE > vm_map_protect: allow to set prot and max_prot in one go > END QUOTE > > It added a "int flags" parameter. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252952 is about: > > vm_map_protect manual page requires an update after 0659df6faddf . . . > > (So if there was a problem about a month ago, there may be another > problem as well as the above that was something else, the above just > happens first now.) > > Looks like emulators/virtualbox-ose-kmod needs to track the kernel > change(s). > See solution in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252675 Henri