Strange typelib/boost linking error on Ubuntu 12.04

Another platform, another problem:

A bootstrap of these same master branches on Ubuntu 12.04 fails with
this mysterious error when linking typelib (never saw such an error
before):

Linking CXX shared library libtypeLib.so
cd /home/kaltan/vbox/hudson/jobs/bootstrap-toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master/orocos-toolchain/typelib/build/typelib
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/typeLib.dir/link.txt
--verbose=no
`.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED2Ev'
referenced in section
`.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED1Ev[non-virtual
thunk to boost::exception_detail::error_info_injector<boost::bad_lexical_cast>::~error_info_injector()]'
of CMakeFiles/typeLib.dir/importer.o: defined in discarded section
`.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED5Ev]'
of CMakeFiles/typeLib.dir/importer.o
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED2Ev'
referenced in section
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED1Ev[non-virtual
thunk to boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector >::~clone_impl()]' of CMakeFiles/typeLib.dir/importer.o: defined in
discarded section
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED5Ev]'
of CMakeFiles/typeLib.dir/importer.o
collect2: ld returned 1 exit status
make[2]: *** [typelib/libtypeLib.so.1.1] Error 1

I'm having libboost-dev 1.48.0.2

Someone seen this before ?

Peter

[Rock-dev] Strange typelib/boost linking error on Ubuntu 12.04

On 11/28/2012 10:37 PM, Peter Soetens wrote:
> Another platform, another problem:
>
> A bootstrap of these same master branches on Ubuntu 12.04 fails with
> this mysterious error when linking typelib (never saw such an error
> before):
>
> Linking CXX shared library libtypeLib.so
> cd /home/kaltan/vbox/hudson/jobs/bootstrap-toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master/orocos-toolchain/typelib/build/typelib
> && /usr/bin/cmake -E cmake_link_script CMakeFiles/typeLib.dir/link.txt
> --verbose=no
> `.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED2Ev'
> referenced in section
> `.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED1Ev[non-virtual
> thunk to boost::exception_detail::error_info_injector<boost::bad_lexical_cast>::~error_info_injector()]'
> of CMakeFiles/typeLib.dir/importer.o: defined in discarded section
> `.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED5Ev]'
> of CMakeFiles/typeLib.dir/importer.o
> `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED2Ev'
> referenced in section
> `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED1Ev[non-virtual
> thunk to boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector >> ::~clone_impl()]' of CMakeFiles/typeLib.dir/importer.o: defined in
> discarded section
> `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEED5Ev]'
> of CMakeFiles/typeLib.dir/importer.o
> collect2: ld returned 1 exit status
> make[2]: *** [typelib/libtypeLib.so.1.1] Error 1
>
> I'm having libboost-dev 1.48.0.2
>
> Someone seen this before ?
No. The VMs are still busy building ... VirtualBox is so damn slow. But
at least, all that stuff builds fine on our build server (12.04, no 12.10)