From owner-freebsd-ports@FreeBSD.ORG Fri Sep 20 12:12:05 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3EA6E205 for ; Fri, 20 Sep 2013 12:12:05 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-ea0-f173.google.com (mail-ea0-f173.google.com [209.85.215.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC1222311 for ; Fri, 20 Sep 2013 12:12:04 +0000 (UTC) Received: by mail-ea0-f173.google.com with SMTP id g10so214556eak.32 for ; Fri, 20 Sep 2013 05:11:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UXMwh6VdG6t++HT7f3u2Vc2vMxeneMQE6lDe7xjg+DI=; b=Ka1qImSTIsAQEtJmLaXHqHLC4yU4UkxbIrH3ty1CEI+/DVcONpjucKmZediBD/CHyr JPj4dH3U++paiYUz9BuxWuUTV/yRK8u9RXWOrZ3SAyq02NB3X1xiqNPfj5XWHVLajaTb EUw/9xzZGD2oa7bFwyJpeY/IQHaPD5s63UwYblLruyuUbg1Xvj2fWFfbwsx7+Rhf8z7V I7FT2EkdKpSutxCqwpWnzRm1XVUlVlxCy8LIwRvZ1RCW/V+gLrrsDEmVTc225QsrkdTb M8+DBkLJHA+ES63x6m4mLnIw9/nW0uZnG96OH9HfKI4Tj5kR/14r2wFD3ZSBg+UkcMI/ 3PrQ== X-Gm-Message-State: ALoCoQknriArzuHleUT0D++q8UHR4sDCxhAHTmYDkWNGsLcsqKu31+VFDPdBjh0yoiCIrcj0xdwk MIME-Version: 1.0 X-Received: by 10.15.98.194 with SMTP id bj42mr10461848eeb.12.1379679117381; Fri, 20 Sep 2013 05:11:57 -0700 (PDT) Received: by 10.14.37.6 with HTTP; Fri, 20 Sep 2013 05:11:57 -0700 (PDT) In-Reply-To: <523BB1FA.3050106@ttmath.org> References: <523BB1FA.3050106@ttmath.org> Date: Fri, 20 Sep 2013 14:11:57 +0200 Message-ID: Subject: Re: [PATCH] emulators/virtualbox-ose-kmod in 10-current From: Olivier Smedts To: Tomasz Sowa Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2013 12:12:05 -0000 Hello, 2013/9/20 Tomasz Sowa > Hi > > Virtualbox-4.2.18 kernel module doesn't want to compile on 10-current: > > /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 > > > There was a change in vm_map_find() in revision r255426 (one parameter > has been added), patch: > http://www.ttmath.org/tmp/virtualbox-4_2_18.patch > > applying: > # cd /usr/ports/emulators/virtualbox-ose-kmod > # make extract > # fetch http://www.ttmath.org/tmp/virtualbox-4_2_18.patch > # patch < virtualbox-4_2_18.patch > # make all install clean There is already a PR : www.freebsd.org/cgi/query-pr.cgi?pr=ports/181971 With one of thoses patchs the port compiles fine but I still have core dumps at start under 10-ALPHA2. Maybe because of libstdc++ switch to libc++ ? vboxdrv: fAsync=0 offMin=0x219 offMax=0x4470 pid 1143 (VBoxSVC), uid 0: exited on signal 6 (core dumped) VBoxManage: error: Failed to create the VirtualBox object! VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available) VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start. Is it working from fresh start for you ? Are you using WITH_GNUCXX= in src.conf or make.conf ? Cheers -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."