Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 07:23:05 -0700
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        Nathan Whitehorn <nwhitehorn@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Boost 1.55.0 (Was: Re: PowerPC Packages)
Message-ID:  <20140625072305.45baf39b@zhabar.att.net>
In-Reply-To: <20140625073340.GA57075@FreeBSD.org>
References:  <539DC0C5.60603@freebsd.org> <20140623131222.GA26450@FreeBSD.org> <20140625073340.GA57075@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Jun 2014 07:33:40 +0000
Alexey Dokuchaev <danfe@FreeBSD.org> wrote:

> On Mon, Jun 23, 2014 at 01:12:22PM +0000, Alexey Dokuchaev wrote:
> > On Sun, Jun 15, 2014 at 08:50:29AM -0700, Nathan Whitehorn wrote:
> > > depend upon failed. The largest issues are Boost and QT4 webkit.
> > > Boost has failed because it seems to unconditionally prefer clang
> > > to gcc when both are present. On PowerPC, both are installed but
> > > GCC remains the default due to some remaining issues with clang.
> > > Boost ignores the default, runs into the issues, and fails. Maybe
> > > it should be forced to use whatever "cc" is?
> > 
> > Since recently (after update to 1.55.0) boost started to require
> > c++11-lang; I will take a look, maybe it's a bit too much.
> 
> If one feels adventurous, they can try to change USES from
> compiler:c++11-lang to simply `compiler' (equiv. to compiler:env) in
> boost-all/compiled.mk and try to build (it will then use gcc4.2 on
> 8.x/i386 and -current/powerpc).
> 
> The bad news: it won't build as it is right now, due to `result_of'
> related errors in Boost.Log.  We're not alone, it was reported
> upstream before:
> 
>     https://svn.boost.org/trac/boost/ticket/8769
> 
> As a possible workaround (also used for X_BUILD_FOR cross-build
> case), one can try to build it --without-log (and perhaps
> --without-coroutine).
> 
> One thing bugs me about it: per
> https://svn.boost.org/trac/boost/ticket/8769, version 1.52.0 should
> also have problems with gcc4.2, but it builds fine...
> 
> ./danfe

As I mentioned earlier, you can set "FAVORITE_COMPILER=gcc" in
make.conf, and it'll build with gcc47.

- Justin



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