tech-pkg archive

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

Re: pkgsrc frozen for 2017Q2



Joerg Sonnenberger <joerg%bec.de@localhost> writes:

> On Wed, Jun 28, 2017 at 08:12:04PM -0400, Greg Troxel wrote:

>> 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.

While again agreeing on the ABI issue, I see in mk/compiler.mk that
USE_LANGUAGES is documented to select an appropriate compiler, which is
the only reasonable expectation.

So it's a bug that if the compiler being used is not adequate, an error
isn't thrown early on along the lines of "chosen version of gcc X does
not supported required language c++11" and the build not even attempted.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index