[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/boost-libs issue in pkg/42746
On Wed, Mar 30, 2011 at 03:19:21PM +0200, Adam Ciarciński wrote:
> >>>> diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
> >>>> +BJAM_ARGS+= cxxflags=-std=gnu++0x
> >>> I have done some more testing on brand new installations of DragonFly-2.9
> >>> with gcc-4.4.5.
> >>> On both i386 and amd64, your patch is needed to build boost-libs.
> >> I have added the above to boost-jam/bjam.mk.
> >> Please, update and confirm it fixes the problem.
> > I confirm it. Your commit fixes boost-libs w/gcc-4.4 on both i386 and amd64.
> I've heard it breaks building with gcc-4.1.x. How about
> BJAM_ARGS+= cxxflags=-fno-strict-aliasing
That won't fly: the issue with gcc-4.4 has nothing to do with aliasing
I just ran a test anyway and I get the same results as in the original bug
'clear_mode' is not a class or namespace
and yet the -std=gnu++0x option breaks the build for gcc-4.1:
cc1plus: error: unrecognized command line option "-std=c++0x"
We should conditionalize the BJAM_ARGS+= line depending on the version of gcc.
Sadly, I've no idea how to do that.
Main Index |
Thread Index |