Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 07:22:10 +0100
From:      =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at>
To:        ohartman@zedat.fu-berlin.de
Cc:        freebsd-ports@freebsd.org
Subject:   Re: emulators/virtualbox-ose-kmod: always use compiler "cc" which is on my basesystem CLANG 3.2 (FreeBSD 10.0)
Message-ID:  <CAE-m3X3oiEq2w_P%2Bx_a%2BevAdiBCg5nc46nc6hvNdmKqyFsr%2Bpw@mail.gmail.com>
In-Reply-To: <50E04C5C.2030209@zedat.fu-berlin.de>
References:  <50E04C5C.2030209@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 30.12.2012 15:15 schrieb "O. Hartmann" <ohartman@zedat.fu-berlin.de>:
>
> Port emulators/virtualbox-ose-kmod is known not to compile with CLANG
> 3.1/3.2. Therefor, it should be compiled with gcc.
>
> Either setting USE_GCC=4.6+ or USE_GCC=any in the port's makefile or by
> setting a global file with the directive
>
> # emulators/virtualbox-ose
> .if ${.CURDIR:M*/emulators/virtualbox-ose*}
> USE_GCC=                4.6+
> .endif
>
>
> do not work! Compiling the port is always nailed down to use "cc" which
> is CLANG 3.2 by default.

Vbox from ports can only be compiled with base GCC 4.2 so USE_GCC=any
should be right but I've never tested it. You could also try the new vbox
from github which includes a patch to build correctly with GCC 4.6.

http://github.com/decke/freebsd-vbox



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X3oiEq2w_P%2Bx_a%2BevAdiBCg5nc46nc6hvNdmKqyFsr%2Bpw>