From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 13 06:19:34 2014 Return-Path: Delivered-To: freebsd-emulation@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 ESMTPS id B13F2F62 for ; Mon, 13 Jan 2014 06:19:34 +0000 (UTC) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B9D316EA for ; Mon, 13 Jan 2014 06:19:34 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wn1so5253932obc.41 for ; Sun, 12 Jan 2014 22:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rrQnerggiHqcIxeWDLG4vcj1obVOuwDIGUCBQPuj03k=; b=BrpGldgYHUkNaizdcBgJcGKZqx5A6imbeXis6h5NeO6T1SCtALYrmwI6JaIKu709/H jnleGzODeGxnxSPmaT2yqH3Au/0hC3rrDrQJbEFMvuycXcsFU31qQvSdl7rVPkI8o8Yg YJt1Be+0nK5QTvufMyhKT4ZTB3KWnLitRRUIo= 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=rrQnerggiHqcIxeWDLG4vcj1obVOuwDIGUCBQPuj03k=; b=CjW3cBl9r5MhMq7HWzKwJ8HZy4XHTsVQ5YtD5nsEQ2lY0Gfe2DwOq4An9mnsmL+amp L+HNh45bfneCcvlVU5X9/x7zX6UQK/KGX5MLXHZajsfr/z5i+b7fVx++5svOEmm+BaAG K76B2YaMcXQySMObCrrf9SK/zgeEuJGzL5nGZ5KbmK/qJnvDV8e/iWRBhpUABk4j0B+5 n4srnhzD5xZOoWNqa72l22plqbP34mqqh8g6BQLi41HAj4kYmGqGa6fvvTlbOwZvACx2 SyqJuCSg4NSBf8nTQwjZ6NfzFEHj1bOZLxhshdi8o0ysZN3XacHlg8tCUd2Y0YFVx58y kZjA== X-Gm-Message-State: ALoCoQmPfChUNL/hXLXjpSbjy7oB3GduS+ymjEJc5Q4lqYsoeTuSkhfnhxYSMTn7OgI7SA0X/U9B MIME-Version: 1.0 X-Received: by 10.60.136.132 with SMTP id qa4mr216529oeb.68.1389593972971; Sun, 12 Jan 2014 22:19:32 -0800 (PST) Received: by 10.76.154.2 with HTTP; Sun, 12 Jan 2014 22:19:32 -0800 (PST) X-Originating-IP: [188.45.51.167] Received: by 10.76.154.2 with HTTP; Sun, 12 Jan 2014 22:19:32 -0800 (PST) In-Reply-To: References: Date: Mon, 13 Jan 2014 07:19:32 +0100 Message-ID: Subject: Re: VirtualBox 4.3.6 + FreeBSD 10 + clang, [SUCCESS] From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: "Miguel C." Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-emulation@freebsd.org" , ports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 13 Jan 2014 06:19:34 -0000 This is all after the error. Please also paste the actual error. My first guess would be that it is a parallel build error because jkim was playing around with it in his tree. You could try to just call make again and if it resumes without error I'm right. Am 13.01.2014 02:36 schrieb "Miguel Clara" : > > I tried this approach and still get errors: > ******************** > kmk: *** [/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o] > Error 254 > The failing command: > @clang++ -c -O2 -g -pipe -pedantic -Wshadow -Wshadow -Wall -Wextra > -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs > -fdiagnostics-show-option -Wno-unused-parameter -Wno-long-long > -Wno-long-long -Wno-delete-non-virtual-dtor -Wno-variadic-macros > -Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar > -fexceptions -frtti -O2 -mtune=generic -fno-omit-frame-pointer > -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden > -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -g -pipe > -pedantic -Wshadow -Wshadow -Wall -Wextra > -Wno-missing-field-initializers -Wno-trigraphs > -fdiagnostics-show-option -Wno-unused-parameter -Wno-long-long > -Wno-long-long -Wno-delete-non-virtual-dtor -Wno-variadic-macros > -Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar > -fexceptions -frtti -O2 -mtune=generic -fno-omit-frame-pointer > -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden > -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m64 > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Main/include > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/Main/ > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxAPIWrap > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Main > -I/usr/include -I/usr/X11R6/include -I/usr/local/include > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd > -I/usr/local/include/libpng > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/include > -I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release > -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER > -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ > -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\" -DIN_RING3 > -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DVBOX_MAIN_SETTINGS_ADDONS > -DIN_VMM_STATIC -DVBOX_WITH_GENERIC_SESSION_WATCHER > -DVBOX_WITH_RAW_MODE -DVBOX_WITH_RAW_RING1 -DVBOX_WITH_NETFLT > -DVBOX_WITH_CROGL -DVBOX_WITH_GUEST_PROPS -DVBOX_WITH_GUEST_CONTROL > -DVBOX_WITH_USB_CARDREADER -DVBOX_WITH_HOSTNETIF_API > -DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_WITH_VBOXSDL -DVBOX_WITH_HEADLESS > -DVBOX_WITH_QTGUI -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA -DVBOX_WITH_PULSE > -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_AHCI > -DVBOX_WITH_LSILOGIC -DVBOX_WITH_RESOURCE_USAGE_API > -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_EXTPACK -DVBOX_WITH_VUSB > -DVBOX_WITH_S3 -DVBOX_WITH_PCI_PASSTHROUGH -DVBOX_WITH_NAT_SERVICE > -DVBOX_WITH_USB -DVBOX_WITH_EHCI -DVBOX_WITH_NEW_USB_CODE_ON_DARWIN > -DVBOX_WITH_HOSTNETIF_API -DVBOX_USE_LIBHAL > -Wp,-MD,/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o.dep > -Wp,-MT,/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o > -Wp,-MP -o /tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o > /tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Main/src-server/ApplianceImpl.cpp > kmk: *** Waiting for unfinished jobs.... > 4 warnings generated. > 4 warnings generated. > 7 warnings generated. > kmk: *** Exiting with status 2 > *** Error code 2 > > > FreeBSD-10 RC5 > > On Sat, Jan 11, 2014 at 2:49 AM, Craig Rodrigues wrote: > > Hi, > > > > I had problems with the virtualbox-ose-4.22 port > > under FreeBSD 10.0-RC5, where VirtualBox would occasionally > > crash. > > It looks like the mix of QT C++ libraries compiled with clang, > > vs. the virtualbox-ose port compiled with g++46 was not a good mix > > > > > > After reading this post: > > http://lists.freebsd.org/pipermail/freebsd-emulation/2013-December/011171.html > > > > I obtained Jung-uk Kim's port Makefiles for VirtualBox and > > I managed to compile a build of VirtualBox 4.3.6 on my system which is not > > crashing. > > > > This is what I did: > > > > (1) Delete the virtualbox-ose port from my system: > > > > pkg delete virtualbox-ose > > pkg delete virtualbox-ose-kmod > > > > (2) Delete the gsoap port from my system > > > > pkg delete gsoap > > > > (3) Make sure that a valid FreeBSD src tree exists under /usr/src, > > otherwise > > the build will fail. > > > > (4) Check out jkim's tree from redports: > > > > mkdir -p /tmp/xy > > cd /tmp/xy > > svn co https://svn.redports.org/jkim > > > > (5) Build and install gsoap from jkim's port (you need to do this because > > the version of gsoap in the ports tree will result in failed compilation): > > > > cd /tmp/xy/jkim/devel/gsoap > > make > > make install > > > > (6) Build and install virtualbox-ose and virtualbox-ose-kmod ports. > > > > cd /tmp/xy/jkim/emulators/virtualbox-ose > > make > > make install > > cd /tmp/xy/jkim/emulators/virtualbox-ose-kmod > > make > > make install > > > > > > After doing this, I got a build of VirtualBox that: > > -> built against clang, does not depend on g++ libraries > > -> no need to unset QT_PLUGIN_PATH > > -> works and doesn't crash :) > > > > Thank you for doing this Jung-uk, it was quite a lot of work > > to port VirtualBox to clang! > > > > -- > > Craig