Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [EXTERNAL] Sandia-cray-gcc-4.6 appears to be gcc 4.3.4
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2013-01-07 12:57:24

On Jan 7, 2013, at 10:45 AM, Daniel James wrote:

> On 7 January 2013 17:37, Belcourt, Kenneth <kbelco_at_[hidden]> wrote:
>> On Jan 7, 2013, at 10:07 AM, Daniel James wrote:
>>> I'm just compiling the list of testers, and I noticed that the gcc
>>> version in the config results for Sandia-cray-gcc-4.6 lists the
>>> version number as 'C++ version 4.3.4 [gcc-4_3-branch revision
>>> 152973]'. Config info is at:
>> Strange, the actual version is:
>> #define __VERSION__ "4.7.2 20120920 (Cray Inc.)"
>> I've updated the tester to reflect this updated version. Why does Boost.config find the wrong gcc, or perhaps a better question is how is it finding gcc?
> It's just running "g++", you can see the compile and link commands in
> the config output.

Hmm, when I run tests I load a new development environment module so somehow config is probably picking up the g++ in /usr/bin. Yup, here's the old version:

gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)

So guess we need to look at how config shells out the g++ command, it seems to be ignoring the environment used by the builds which do use the correct g++ from the environment.

-- Noel

Boost-testing list run by mbergal at