Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 17:21:13 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Dave Hayes <dave@jetcafe.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: 9-STABLE, clang, and virtualbox
Message-ID:  <20130826212113.GG49310@glenbarber.us>
In-Reply-To: <521BC5B7.4020007@jetcafe.org>
References:  <521BB402.4000605@jetcafe.org> <20130826201620.GF49310@glenbarber.us> <521BC5B7.4020007@jetcafe.org>

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

--2oox5VnwalALFvA7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 26, 2013 at 02:16:39PM -0700, Dave Hayes wrote:
> On 08/26/13 13:16, Glen Barber wrote:
> >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:
> >>
> >>  # 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
> >>
> >>After some work I can get it to compile, but then I get this:
> >>
> >>  # 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)
> >>
> >>What's going on here and how can I debug this one? It seems that the
> >>module vboxdrv.ko has the correct versions.
> >>
> >>Thanks in advance for any assistance anyone can provide. :)
> >
> >What is the svn revision of your /usr/src/ checkout?
>=20
> 251391. See the uname above. :)

That does not mean your current checkout matches that revision.

Glen


--2oox5VnwalALFvA7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBCAAGBQJSG8bJAAoJEFJPDDeguUajCbkIAIBoguNTOzcg1tmkPK0OqAs8
p4J58aUYay2DCIsy/A4TKkvYQOdLA0Snh/vkbR3h+xKcUafacB+CMk3P2fG9GKLm
1yy4UX97TddNQqVLFAjFww/Um/MfOAuXidSxXiRad4U0SiiX1NfPp3is5IGzvIWz
ZWHpdCYIPjYNoUjZO4JVBkxSjVKx2Sy5yZfz5IQ/FBSZQoEQ6rd5uBGWfnGrFvcc
fo0UmOzY1+I3roQxJYCY1jDuhjV1j8qwasy6tEA3HQx6IVBKo0v08/H+7TwoEOW7
DOHELNIX6Qb4GKXEWWsKTc4J+TEiLjVeaezpn9B83vsnaYWZJLcQuVEzQEEwoVQ=
=OzFf
-----END PGP SIGNATURE-----

--2oox5VnwalALFvA7--



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