Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2013 20:25:57 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181971: emulators/virtualbox-ose-kmod: alloc-r0drv-freebsd.c:83:76: error: too few arguments to function call, expected 10, have 9; cbAllocated, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0); 
Message-ID:  <201309092025.r89KPvYm005181@oldred.freebsd.org>
Resent-Message-ID: <201309092030.r89KU1mB071267@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181971
>Category:       ports
>Synopsis:       emulators/virtualbox-ose-kmod: alloc-r0drv-freebsd.c:83:76: error: too few arguments to function call, expected 10, have 9; cbAllocated, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0);
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 09 20:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
FreeBSD 10.0-CURRENT #1 r255398: Sun Sep  8 20:44:27 CEST 2013 amd64

CLANG only, GNU gcc stuff completely vanisged from base.
>Description:

[...]
cc  -O2 -pipe -O3 -march=native -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -w -DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -O3 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -Iinclude -I. -Ir0drv -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -c /usr/obj/usr/src/sys/THOR/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.amd64/
 release/bin/src/vboxdrv/r0drv/freebsd/alloc-r0drv-freebsd.c
/usr/obj/usr/src/sys/THOR/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/alloc-r0drv-freebsd.c:83:76: error: too few arguments to function call, expected 10, have 9
                             cbAllocated, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0);
                                                                           ^
@/vm/vm_map.h:368:1: note: 'vm_map_find' declared here
int vm_map_find(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t *, vm_size_t,
^
1 error generated.
*** Error code 1

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309092025.r89KPvYm005181>