tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc frozen for 2017Q2



On Wed, Jun 28, 2017 at 08:12:04PM -0400, Greg Troxel wrote:
> 
> Jason Bacon <bacon4000%gmail.com@localhost> writes:
> 
> > devel/googletest is failing on CentOS 6 with
> >
> >   cc1plus: error: unrecognized command line option "-std=c++11"
> >
> >   *** Error code 1
> >
> > despite the presence of
> >
> >     USE_LANGUAGES=c++11
> >
> > Running
> >
> >     bmake GCC_REQD=4.8
> >
> > works around the issue.
> 
> That sounds like a framework bug.  USE_LANGUAGES=c++11 is supposed to
> ensure that the complier used is capable of c++11.

No, it doesn't. That wouldn't work as it results in random mixing of GCC
versions used with different ABIs. You have to preselect a version that
supports all the C++ ABIs you need.

Joerg


Home | Main Index | Thread Index | Old Index