Boost logo

Boost :

Subject: Re: [boost] [1.44] Beta 1 available
From: Roland Bock (rbock_at_[hidden])
Date: 2010-08-06 15:20:53


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
>
> #0 0x00007f8b85793095 in raise () from /lib/libc.so.6
> #1 0x00007f8b85794af0 in abort () from /lib/libc.so.6
> #2 0x00007f8b8600facd in __gnu_cxx::__verbose_terminate_handler () at
> ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
> #3 0x00007f8b8600dce6 in __cxxabiv1::__terminate (handler=<value
> optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:39
> #4 0x00007f8b8600dd13 in std::terminate () at
> ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:49
> #5 0x00007f8b8600de1e in __cxa_throw (obj=<value optimized out>,
> tinfo=<value optimized out>, dest=<value optimized out>) at
> ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83
> #6 0x00007f8b85fbbbab in std::__throw_runtime_error (__s=<value
> optimized out>) at ../../../../libstdc++-v3/src/functexcept.cc:82
> #7 0x00007f8b8600bcac 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 0x00007f8b85fc008c in _Impl (this=0x62b100, __s=0x62b0e8
> "en_US.UTF-8", __refs=<value optimized out>) at
> ../../../../libstdc++-v3/src/localename.cc:182
> #10 0x00007f8b85fc0c24 in locale (this=0x7f8b88848938, __s=<value
> optimized out>) at ../../../../libstdc++-v3/src/localename.cc:135
> #11 0x00007fff8fa347a0 in ?? ()
> #12 0x00007f8b8623cf88 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 0x00007f8b88848938 in guard variable for (anonymous
> namespace)::path_locale()::loc ()
> from
> /home/rbock/metafeed/sources/trunk/binaries/boost/1.44/lib/libboost_filesystem.so.1.44.0
>
> #14 0x0000000000000000 in ?? ()
>
> export LANG=C removes the exception, but that's not a very good
> solution, of course...
>
>
> I also encountered some new (compared to 1.41) warnings when I built
> some of my own code:
>
> Algorithm:
> ------------------
> Calls like
> boost::local_time::local_date_time localTime(date, timeOfDay,
> timeZone_, boost::local_time::local_date_time::NOT_DATE_TIME_ON_ERROR)
> lead to
> boost/algorithm/string/detail/find_format_store.hpp:74:18: warning:
> unused parameter ‘Input’
>
> Since that should be trivial to be fixed, I'd be grateful, if the
> warning could be removed in the release version :-)
>
> Archive/Serialization:
> ----------------------------
> boost/archive/basic_archive.hpp:57:33: warning: type qualifiers
> ignored on function return type
> boost/archive/basic_archive.hpp:93:33: warning: type qualifiers
> ignored on function return type
> boost/archive/basic_archive.hpp:130:27: warning: type qualifiers
> ignored on function return type
> boost/archive/basic_archive.hpp:164:38: warning: type qualifiers
> ignored on function return type
> boost/serialization/collection_size_type.hpp:40:33: warning: type
> qualifiers ignored on function return type
>
> Again, these are trivial to be fixed by removing the obsolete const
> qualifier. Please, with sugar on top :-)
>
> Regards,
>
> Roland
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


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