Boost logo

Boost :

Subject: Re: [boost] [1.44] Beta 1 available
From: Roland Bock (rbock_at_[hidden])
Date: 2010-08-08 11:00:24


Roland Bock wrote:
> Roland Bock wrote:
>> Beman Dawes wrote:
>>> Boost release 1.43.0 beta 1 is now available from SourceForge
>>>
>>> See http://sourceforge.net/projects/boost/files/
>>>
>>> There are two new libraries (Meta State Machine and Polygon) in this
>>> release, and lots of fixes and improvements to existing libraries.
>>>
>>> For details of what's in the release, see
>>> http://beta.boost.org/users/news/version_1_44_0. Note that the links
>>> to files on this web page are for the final release - use the
>>> SourceForge link above to get the beta files.
>>>
>>> Please download the beta, give it a try, and report any problems you
>>> encounter.
>>>
>>> Thanks,
>>>
>>> -- The Boost Release Team
>>>
>>>
>> System:
>> =======
>> Ubuntu 8.4 (64 bit)
>> gcc 4.5.1
>>
>> Built with:
>> ===========
>> export EXPAT_LIBPATH=$MY_ROOT/binaries/expat/2.0.1/lib
>> export EXPAT_INCLUDE=$MY_ROOT/binaries/expat/2.0.1/include
>> ./bootstrap.sh --with-icu=$MY_ROOT/binaries/icu/4.2
>> mkdir build
>> ./bjam -q --build-dir=build --prefix=$MY_ROOT/binaries/boost/1.44
>> link=shared runtime-link=shared install
>>
>> Result:
>> =======
>> errors: 0
>> warnings: 104
>>
>>
>> Problems:
>> ========
>> I get runtime errors simply from linking against
>> libboost_filesystem.so.1.44.0. Here is a stacktrace:
> I built debug version of boost and tried again. Sadly enough, the
> stack trace is nearly the same:
>
> #0 0x00007f5b72f61095 in raise () from /lib/libc.so.6
> #1 0x00007f5b72f62af0 in abort () from /lib/libc.so.6
> #2 0x00007f5b737ddacd in __gnu_cxx::__verbose_terminate_handler ()
> at ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
> #3 0x00007f5b737dbce6 in __cxxabiv1::__terminate (handler=<value
> optimized out>)
> at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:39
> #4 0x00007f5b737dbd13 in std::terminate ()
> at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:49
> #5 0x00007f5b737dbe1e in __cxa_throw (obj=<value optimized out>,
> tinfo=<value optimized out>,
> dest=<value optimized out>) at
> ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83
> #6 0x00007f5b73789bab in std::__throw_runtime_error (__s=<value
> optimized out>)
> at ../../../../libstdc++-v3/src/functexcept.cc:82
> #7 0x00007f5b737d9cac in std::locale::facet::_S_create_c_locale
> (__cloc=<value optimized out>,
> __s=<value optimized out>) at c++locale.cc:218
> #8 0x0000000000000006 in ?? ()
> #9 0x00007f5b7378e08c in _Impl (this=0x601100, __s=0x6010e8
> "en_US.UTF-8",
> __refs=<value optimized out>) at
> ../../../../libstdc++-v3/src/localename.cc:182
> #10 0x00007f5b7378ec24 in locale (this=0x7f5b73e67eb0, __s=<value
> optimized out>)
> at ../../../../libstdc++-v3/src/localename.cc:135
> #11 0x00007ffffbec0340 in ?? ()
> #12 0x00007f5b73a0af88 in
> __gnu_debug::_Error_formatter::_Parameter::_M_print_field(__gnu_debug::_Error_formatter
> const*, char const*) const::__constness_names () from
> /usr/local/lib/libstdc++.so.6
> #13 0x00007f5b73e67eb0 in
> boost::filesystem3::path::wchar_t_codecvt_facet()::facet ()
> from
> /home/rbock/metafeed/sources/trunk/binaries/boost/1.44/lib/libboost_filesystem.so.1.44.0
>
> #14 0x0000000000000000 in ?? ()
>
> Personally, I'd consider this a show stopper.
>
> source code: int main() {}
> compiled with: g++ test.cpp -l boost_filesystem -l boost_system
> -L$BINARIES/1.44/lib
>
> Just to make sure that gcc-4.5.1 is not to blame here, I tried the
> same with boost-1.41. No problem.
>
> Please let me know if I can help solving the problem (I am not
> knowledgeable about locales and facets, though). I'm sure I can find
> some time tomorrow or on Sunday
>
> Regards,
>
> Roland
Today, I tried using gcc-4.2.4. That problem does not show.

So maybe the problem is related to gcc-4.5.1 after all. Might even be
related to my having two compilers on one machine. I'll try to find out
more...

Regards,

Roland


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk