Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [boost]filesystem/v2 failure breaking Darwin testing
From: Beman Dawes (bdawes_at_[hidden])
Date: 2010-06-21 15:47:32


On Sat, Jun 19, 2010 at 4:32 PM, Belcourt, Kenneth <kbelco_at_[hidden]> wrote:
>
> On Jun 18, 2010, at 10:47 AM, Beman Dawes wrote:
>
>> Noel writes,
>>
>>> Been on travel for a couple of days.  I see that gcc-3.4.6 and Sun are
>>> still
>>> broken.  What can I do to help get these testers running again?
>>
>> I need to see the specific error messages from both.
>
> gcc.compile.c++
> /tmp/kbelco/boost/boost/bin.v2/libs/filesystem/build/gcc-3.4.6/release/link-static/v3/src/path.o
>
> "/sierra/Sntools/extras/compilers/gcc-3.4.6/bin/g++"  -ftemplate-depth-128
> -O3 -finline-functions -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1
> -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG  -I"/tmp/kbelco/boost/boost" -c -o
> "/tmp/kbelco/boost/boost/bin.v2/libs/filesystem/build/gcc-3.4.6/release/link-static/v3/src/path.o"
> "/tmp/kbelco/boost/boost/libs/filesystem/v3/src/path.cpp"
>
> /tmp/kbelco/boost/boost/boost/filesystem/v3/path.hpp: In constructor
> `boost::filesystem3::path::path(const Source&) [with Source =
> char[2]]':/tmp/kbelco/boost/boost/libs/filesystem/v3/src/path.cpp:87:
> instantiated from
> here/tmp/kbelco/boost/boost/boost/filesystem/v3/path.hpp:161: error: call of
> overloaded `dispatch(const char[2], std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >&, const std::codecvt<wchar_t,
> char, mbstate_t>&)' is
> ambiguous...

This looks like the overload resolution problem that is also affecting
IBM's compiler.

I think enable_if can be used to work around the problem, but it is
hard to do that remotely. I'd like to get 3.4.6 running on my Linux
virtual machine.

I downloaded gcc 3.4.6, but it isn't building for me. Does anyone know
how to build gcc on Linux?

I tried:

    mkdir bld-dir
    cd bld-dir
    ../src-dir/configure
    make

The configure seemed to work, but after about 5 minutes of compiling,
the make failed. Any ideas?

--Beman


Boost-testing list run by mbergal at meta-comm.com