From owner-freebsd-stable@FreeBSD.ORG Mon Aug 26 20:16:24 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8DC04800; Mon, 26 Aug 2013 20:16:24 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 64D2D2D30; Mon, 26 Aug 2013 20:16:24 +0000 (UTC) Received: from glenbarber.us (unknown [IPv6:2001:470:8:1205:701e:d184:9d94:ba66]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id A1E562F24; Mon, 26 Aug 2013 20:16:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us A1E562F24 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Mon, 26 Aug 2013 16:16:20 -0400 From: Glen Barber To: Dave Hayes Subject: Re: 9-STABLE, clang, and virtualbox Message-ID: <20130826201620.GF49310@glenbarber.us> References: <521BB402.4000605@jetcafe.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0qt3EE9wi45a2ZFX" Content-Disposition: inline In-Reply-To: <521BB402.4000605@jetcafe.org> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 20:16:24 -0000 --0qt3EE9wi45a2ZFX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 26, 2013 at 01:01:06PM -0700, Dave Hayes wrote: > I've been trying to get emulators/virtualbox-ose-kmod to compile > from ports on a clang built 9-STABLE: >=20 > # uname -v > FreeBSD 9.1-STABLE #0 r251391M: Tue Jun 4 09:47:42 PDT 2013 > root@fb9build.jetcafe.org:/usr/obj/usr/src.amd64/sys/GENERIC amd64 > # cc -v > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 > Target: x86_64-unknown-freebsd9.1 > Thread model: posix >=20 > After some work I can get it to compile, but then I get this: >=20 > # kldload /boot/modules/vboxdrv.ko > kldload: can't load /boot/modules/vboxdrv.ko: Exec format error > # dmesg | tail -2 > KLD vboxdrv.ko: depends on kernel - not available or version mismatch > linker_load_file: Unsupported file type > # kldxref -d /boot/modules/vboxdrv.ko > ... > /boot/modules/vboxdrv.ko > depends on kernel.901505 (901505,999999) > module vboxdrv > interface vboxdrv.1 > # kldxref -d /boot/kernel | grep -C 3 /boot/kernel/kernel > depends on kernel.901504 (901504,999999) > module ppi_ppbus > depends on ppbus.1 (1,1) > /boot/kernel/kernel > depends on kernel.901504 (901504,999999) > module xpt > depends on cam.1 (1,1) >=20 > What's going on here and how can I debug this one? It seems that the > module vboxdrv.ko has the correct versions. >=20 > Thanks in advance for any assistance anyone can provide. :) What is the svn revision of your /usr/src/ checkout? Glen --0qt3EE9wi45a2ZFX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBCAAGBQJSG7eUAAoJEFJPDDeguUajSnMH/RgZ0QWxAwEPrrZ1kyAB+YVU eeWvwQWAgkXQ11JAtJMGO1Dh3HnPycJF8gtvLr4OplgmOycS6dSILEi/yCKHJSLE aDj/TGT+GxzfeKMUvSLMh3VxD85Cj/Fy/k0EaBMfC2kWTvpmbML5FGr85gJXa8aF 4fUfFJxQ1E1FeM2qCHOkYdw3ptOKvjIr92HUVBghmdy4TpbaYeMN6RPdEDw6R0af cF18KcpOaHfXAKBuLsiFMAzkA/ilcw28rKO52huvLeNuFNQG+K18FI0Z/AygX/Ba GoElkjlHbFYumr1e2t2g4K7kuobc89976f4cJUAuZx9WtWA6OBi7mCd2mP4CEW0= =ryAV -----END PGP SIGNATURE----- --0qt3EE9wi45a2ZFX--