From owner-freebsd-emulation@FreeBSD.ORG Tue Jun 22 22:48:56 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C76781065674 for ; Tue, 22 Jun 2010 22:48:56 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1A48FC16 for ; Tue, 22 Jun 2010 22:48:55 +0000 (UTC) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 57964BF41D for ; Wed, 23 Jun 2010 00:29:30 +0200 (CEST) Received: by gyh20 with SMTP id 20so4302655gyh.13 for ; Tue, 22 Jun 2010 15:29:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.236.65 with SMTP id kj1mr3745353qcb.37.1277245768496; Tue, 22 Jun 2010 15:29:28 -0700 (PDT) Received: by 10.229.215.196 with HTTP; Tue, 22 Jun 2010 15:29:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Jun 2010 00:29:28 +0200 Message-ID: From: Alexander Best To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: r208751 broke virtualbox-ose port X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 22:48:57 -0000 sorry for the noise guys. just noticed michael butler reported the same issue two weeks beforehand already. alex On Wed, Jun 23, 2010 at 12:26 AM, Alexander Best wrote: > hi there, > > did anybody else running HEAD notice that commit r208751 broke the > virtualbox-ose port? > > > kBuild: Compiling VBoxOGLhostcrstate - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c > kBuild: Compiling HGSMIGuestR0Lib - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp > In file included from > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp:20: > /sys/sys/libkern.h:95: error: previous declaration of 'void* > memchr(const void*, int, size_t)' with 'C++' linkage > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/include/iprt/string.h:63: > error: conflicts with new declaration with 'C' linkage > kmk[2]: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o] > Error 1 > The failing command: > @c++ -c -O2 -fno-exceptions -fno-rtti -Wall -Wextra > -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs > -fdiagnostics-show-option -Wpointer-arith -Winline -O2 > -fno-format-extensions -fno-strict-aliasing -fno-common > -finline-limit=8000 -fno-stack-protector -O2 -mtune=generic > -fno-omit-frame-pointer -nostdinc -m64 --param inline-unit-growth=100 > --param large-function-growth=1000 -fno-omit-frame-pointer > -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx > -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef -I/sys > -I/sys/contrib/altq -I/sys/../include -I/usr/include > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/include > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/out/freebsd.amd64/release > -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING > -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" > -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" > -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" > -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" > -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -D_KERNEL > -DKLD_MODULE -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 > -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o.dep > -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o > -Wp,-MP -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp > kmk[2]: *** Waiting for unfinished jobs.... > kmk[2]: Leaving directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE' > kmk[2]: Entering directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE' > kmk[2]: *** Exiting with status 2 > kmk[1]: *** [pass_libraries_this] Error 2 > kmk[1]: Leaving directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE' > kmk: *** [pass_libraries_order] Error 2 > *** Error code 2 > > Stop in /usr/ports/emulators/virtualbox-ose. > *** Error code 1 > > Stop in /usr/ports/emulators/virtualbox-ose. > > > since memchr() is now provided by libkern.h maybe removing the > prototype from emulators/virtualbox-ose/work/VirtualBox-3.2.4_OSE/include/iprt/string.h > might solve the issue? > > cheers. > > -- > Alexander Best > -- Alexander Best