Hi Ralf, > Thanks for the report and the small example to reproduce it. Please > post the libtool link command that fails and all its output. I attached the output of `make all' - there's not much before the failing libtool command.
> FWIW I can't reproduce the failure yet, but there are several things in > the setup that may cause this (one of them being Libtool version used). > Which libstdc++ version(s) are you linking against? That's interesting. What else can I try / post to isolate this? I tried the latest version of libtool and could reproduce it - that's why I posted this here =). The libstdc++ version is from a vanilla gcc 4.1.2, libstdc++.so.6.0.8 . Cheers, Christian -- Christian Keil /"\ Institute for Reliable Computing \ / ASCII Ribbon Campaign Hamburg University of Technology X against HTML email & vCards mail:[EMAIL PROTECTED] / \
make all-am make[1]: Entering directory `/usr/local/keil/tmp/dlpreopen/c++static' if /bin/sh ./libtool --tag=CXX --mode=compile /home/keil/psi/gcc/4.1.2/inst/bin/g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT run.lo -MD -MP -MF ".deps/run.Tpo" -c -o run.lo run.cpp; \ then mv -f ".deps/run.Tpo" ".deps/run.Plo"; else rm -f ".deps/run.Tpo"; exit 1; fi /home/keil/psi/gcc/4.1.2/inst/bin/g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT run.lo -MD -MP -MF .deps/run.Tpo -c run.cpp -o run.o /bin/sh ./libtool --tag=CXX --mode=link /home/keil/psi/gcc/4.1.2/inst/bin/g++ -g -O2 -L/home/keil/psi/gcc/4.1.2/inst/lib -o run.la -rpath /home/keil/psi/lib -module run.lo mkdir .libs ar cru .libs/run.a run.o ranlib .libs/run.a creating run.la (cd .libs && rm -f run.la && ln -s ../run.la run.la) if /home/keil/psi/gcc/4.1.2/inst/bin/g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT dlpreopen-dlpreopen.o -MD -MP -MF ".deps/dlpreopen-dlpreopen.Tpo" -c -o dlpreopen-dlpreopen.o `test -f 'dlpreopen.cpp' || echo './'`dlpreopen.cpp; \ then mv -f ".deps/dlpreopen-dlpreopen.Tpo" ".deps/dlpreopen-dlpreopen.Po"; else rm -f ".deps/dlpreopen-dlpreopen.Tpo"; exit 1; fi /bin/sh ./libtool --tag=CXX --mode=link /home/keil/psi/gcc/4.1.2/inst/bin/g++ -g -O2 -L/home/keil/psi/gcc/4.1.2/inst/lib -o dlpreopen dlpreopen-dlpreopen.o -lltdl -dlopen run.la rm -f .libs/dlpreopen.nm .libs/dlpreopen.nmS .libs/dlpreopen.nmT creating .libs/dlpreopenS.c extracting global C symbols from `./.libs/run.a' extracting global C symbols from `/home/keil/psi/gcc/4.1.2/inst//lib/libstdc++.a' (cd .libs && /home/keil/psi/gcc/4.1.2/inst/bin/gcc -g -O2 -c -fno-builtin "dlpreopenS.c") rm -f .libs/dlpreopenS.c .libs/dlpreopen.nm .libs/dlpreopen.nmS .libs/dlpreopen.nmT /home/keil/psi/gcc/4.1.2/inst/bin/g++ -g -O2 -o dlpreopen dlpreopen-dlpreopen.o .libs/dlpreopenS.o -L/home/keil/psi/gcc/4.1.2/inst/lib -L/home/keil/psi/gcc/4.1.2/build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/keil/psi/gcc/4.1.2/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/keil/psi/gcc/4.1.2/build/./gcc ./.libs/run.a /home/keil/psi/gcc/4.1.2/inst//lib/libstdc++.so -L/home/keil/psi/lib -lm -lc -lgcc_s /usr/lib/libltdl.so -ldl -Wl,--rpath -Wl,/home/keil/psi/gcc/4.1.2/inst//lib -Wl,--rpath -Wl,/home/keil/psi/gcc/4.1.2/inst//lib .libs/dlpreopenS.o:(.rodata+0x2c): undefined reference to `__gnu_cxx::__pool_alloc_base::_S_end_free' .libs/dlpreopenS.o:(.rodata+0x3c): undefined reference to `__gnu_cxx::__pool_alloc_base::_S_free_list' .libs/dlpreopenS.o:(.rodata+0x44): undefined reference to `__gnu_cxx::__pool_alloc_base::_S_heap_size' .libs/dlpreopenS.o:(.rodata+0x4c): undefined reference to `__gnu_cxx::__pool_alloc_base::_S_start_free' .libs/dlpreopenS.o:(.rodata+0x5c): undefined reference to `__gnu_cxx::__pool_alloc_base::_M_allocate_chunk(unsigned int, int&)' .libs/dlpreopenS.o:(.rodata+0x2c4): undefined reference to `__gnu_debug::_S_debug_messages' .libs/dlpreopenS.o:(.rodata+0x3d4): undefined reference to `__gnu_internal::messages_c' .libs/dlpreopenS.o:(.rodata+0x3dc): undefined reference to `__gnu_internal::messages_w' .libs/dlpreopenS.o:(.rodata+0x3e4): undefined reference to `__gnu_internal::numpunct_c' .libs/dlpreopenS.o:(.rodata+0x3ec): undefined reference to `__gnu_internal::numpunct_w' .libs/dlpreopenS.o:(.rodata+0x3f4): undefined reference to `__gnu_internal::time_get_c' .libs/dlpreopenS.o:(.rodata+0x3fc): undefined reference to `__gnu_internal::time_get_w' .libs/dlpreopenS.o:(.rodata+0x404): undefined reference to `__gnu_internal::time_put_c' .libs/dlpreopenS.o:(.rodata+0x40c): undefined reference to `__gnu_internal::time_put_w' .libs/dlpreopenS.o:(.rodata+0x414): undefined reference to `__gnu_internal::money_get_c' .libs/dlpreopenS.o:(.rodata+0x41c): undefined reference to `__gnu_internal::money_get_w' .libs/dlpreopenS.o:(.rodata+0x424): undefined reference to `__gnu_internal::money_put_c' .libs/dlpreopenS.o:(.rodata+0x42c): undefined reference to `__gnu_internal::money_put_w' .libs/dlpreopenS.o:(.rodata+0x434): undefined reference to `__gnu_internal::timepunct_c' .libs/dlpreopenS.o:(.rodata+0x43c): undefined reference to `__gnu_internal::timepunct_w' .libs/dlpreopenS.o:(.rodata+0x444): undefined reference to `__gnu_internal::c_locale_impl' .libs/dlpreopenS.o:(.rodata+0x44c): undefined reference to `__gnu_internal::moneypunct_cf' .libs/dlpreopenS.o:(.rodata+0x454): undefined reference to `__gnu_internal::moneypunct_ct' .libs/dlpreopenS.o:(.rodata+0x45c): undefined reference to `__gnu_internal::moneypunct_wf' .libs/dlpreopenS.o:(.rodata+0x464): undefined reference to `__gnu_internal::moneypunct_wt' .libs/dlpreopenS.o:(.rodata+0x46c): undefined reference to `__gnu_internal::numpunct_cache_c' .libs/dlpreopenS.o:(.rodata+0x474): undefined reference to `__gnu_internal::numpunct_cache_w' .libs/dlpreopenS.o:(.rodata+0x47c): undefined reference to `__gnu_internal::timepunct_cache_c' .libs/dlpreopenS.o:(.rodata+0x484): undefined reference to `__gnu_internal::timepunct_cache_w' .libs/dlpreopenS.o:(.rodata+0x48c): undefined reference to `__gnu_internal::moneypunct_cache_cf' .libs/dlpreopenS.o:(.rodata+0x494): undefined reference to `__gnu_internal::moneypunct_cache_ct' .libs/dlpreopenS.o:(.rodata+0x49c): undefined reference to `__gnu_internal::moneypunct_cache_wf' .libs/dlpreopenS.o:(.rodata+0x4a4): undefined reference to `__gnu_internal::moneypunct_cache_wt' .libs/dlpreopenS.o:(.rodata+0x4ac): undefined reference to `__gnu_internal::name_c' .libs/dlpreopenS.o:(.rodata+0x4b4): undefined reference to `__gnu_internal::ctype_c' .libs/dlpreopenS.o:(.rodata+0x4bc): undefined reference to `__gnu_internal::ctype_w' .libs/dlpreopenS.o:(.rodata+0x4c4): undefined reference to `__gnu_internal::c_locale' .libs/dlpreopenS.o:(.rodata+0x4cc): undefined reference to `__gnu_internal::name_vec' .libs/dlpreopenS.o:(.rodata+0x4d4): undefined reference to `__gnu_internal::cache_vec' .libs/dlpreopenS.o:(.rodata+0x4dc): undefined reference to `__gnu_internal::codecvt_c' .libs/dlpreopenS.o:(.rodata+0x4e4): undefined reference to `__gnu_internal::codecvt_w' .libs/dlpreopenS.o:(.rodata+0x4ec): undefined reference to `__gnu_internal::collate_c' .libs/dlpreopenS.o:(.rodata+0x4f4): undefined reference to `__gnu_internal::collate_w' .libs/dlpreopenS.o:(.rodata+0x4fc): undefined reference to `__gnu_internal::facet_vec' .libs/dlpreopenS.o:(.rodata+0x504): undefined reference to `__gnu_internal::num_get_c' .libs/dlpreopenS.o:(.rodata+0x50c): undefined reference to `__gnu_internal::num_get_w' .libs/dlpreopenS.o:(.rodata+0x514): undefined reference to `__gnu_internal::num_put_c' .libs/dlpreopenS.o:(.rodata+0x51c): undefined reference to `__gnu_internal::num_put_w' .libs/dlpreopenS.o:(.rodata+0x524): undefined reference to `__gnu_internal::buf_cin_sync' .libs/dlpreopenS.o:(.rodata+0x52c): undefined reference to `__gnu_internal::buf_cerr_sync' .libs/dlpreopenS.o:(.rodata+0x534): undefined reference to `__gnu_internal::buf_cout_sync' .libs/dlpreopenS.o:(.rodata+0x53c): undefined reference to `__gnu_internal::buf_wcin_sync' .libs/dlpreopenS.o:(.rodata+0x544): undefined reference to `__gnu_internal::buf_wcerr_sync' .libs/dlpreopenS.o:(.rodata+0x54c): undefined reference to `__gnu_internal::buf_wcout_sync' .libs/dlpreopenS.o:(.rodata+0x554): undefined reference to `__gnu_internal::buf_cin' .libs/dlpreopenS.o:(.rodata+0x55c): undefined reference to `__gnu_internal::buf_cerr' .libs/dlpreopenS.o:(.rodata+0x564): undefined reference to `__gnu_internal::buf_cout' .libs/dlpreopenS.o:(.rodata+0x56c): undefined reference to `__gnu_internal::buf_wcin' .libs/dlpreopenS.o:(.rodata+0x574): undefined reference to `__gnu_internal::buf_wcerr' .libs/dlpreopenS.o:(.rodata+0x57c): undefined reference to `__gnu_internal::buf_wcout' .libs/dlpreopenS.o:(.rodata+0x64c): undefined reference to `std::ios_base::Init::_S_refcount' .libs/dlpreopenS.o:(.rodata+0x654): undefined reference to `std::ios_base::Init::_S_synced_with_stdio' .libs/dlpreopenS.o:(.rodata+0x1374): undefined reference to `std::locale::_S_classic' .libs/dlpreopenS.o:(.rodata+0x1384): undefined reference to `std::locale::id::_S_refcount' .libs/dlpreopenS.o:(.rodata+0x13ec): undefined reference to `std::locale::facet::_S_c_locale' .libs/dlpreopenS.o:(.rodata+0x1404): undefined reference to `std::locale::facet::_S_initialize_once()' .libs/dlpreopenS.o:(.rodata+0x140c): undefined reference to `std::locale::facet::_S_once' .libs/dlpreopenS.o:(.rodata+0x1414): undefined reference to `std::locale::facet::_S_c_name' .libs/dlpreopenS.o:(.rodata+0x1434): undefined reference to `std::locale::_S_once' .libs/dlpreopenS.o:(.rodata+0x145c): undefined reference to `std::locale::_S_global' .libs/dlpreopenS.o:(.rodata+0x149c): undefined reference to `std::locale::_S_initialize()' .libs/dlpreopenS.o:(.rodata+0x14a4): undefined reference to `std::locale::_S_initialize_once()' .libs/dlpreopenS.o:(.rodata+0x14ac): undefined reference to `std::locale::_Impl::_S_id_time' .libs/dlpreopenS.o:(.rodata+0x14b4): undefined reference to `std::locale::_Impl::_S_id_ctype' .libs/dlpreopenS.o:(.rodata+0x14bc): undefined reference to `std::locale::_Impl::_S_id_collate' .libs/dlpreopenS.o:(.rodata+0x14c4): undefined reference to `std::locale::_Impl::_S_id_numeric' .libs/dlpreopenS.o:(.rodata+0x14cc): undefined reference to `std::locale::_Impl::_S_id_messages' .libs/dlpreopenS.o:(.rodata+0x14d4): undefined reference to `std::locale::_Impl::_S_id_monetary' .libs/dlpreopenS.o:(.rodata+0x14dc): undefined reference to `std::locale::_Impl::_S_facet_categories' .libs/dlpreopenS.o:(.rodata+0x1924): undefined reference to `std::__gslice_to_index(unsigned int, std::valarray<unsigned int> const&, std::valarray<unsigned int> const&, std::valarray<unsigned int>&)' .libs/dlpreopenS.o:(.rodata+0x1b84): undefined reference to `std::locale::_S_categories' .libs/dlpreopenS.o:(.rodata+0x1c14): undefined reference to `__cxxabiv1::__terminate_handler' .libs/dlpreopenS.o:(.rodata+0x1c1c): undefined reference to `__cxxabiv1::__terminate(void (*)())' .libs/dlpreopenS.o:(.rodata+0x1c24): undefined reference to `__cxxabiv1::__unexpected(void (*)())' .libs/dlpreopenS.o:(.rodata+0x1c4c): undefined reference to `__cxxabiv1::__unexpected_handler' .libs/dlpreopenS.o:(.rodata+0x1cdc): undefined reference to `__new_handler' .libs/dlpreopenS.o:(.rodata+0x1e1c): undefined reference to `__gnu_cxx::recursive_init::~recursive_init()' .libs/dlpreopenS.o:(.rodata+0x1e24): undefined reference to `__gnu_cxx::recursive_init::~recursive_init()' .libs/dlpreopenS.o:(.rodata+0x1e2c): undefined reference to `__gnu_cxx::recursive_init::~recursive_init()' .libs/dlpreopenS.o:(.rodata+0x1e9c): undefined reference to `__gnu_internal::get_global()' .libs/dlpreopenS.o:(.rodata+0x1f9c): undefined reference to `__cxa_call_terminate' collect2: ld returned 1 exit status rm -f .libs/dlpreopenS.o make[1]: *** [dlpreopen] Fehler 1 make[1]: Leaving directory `/usr/local/keil/tmp/dlpreopen/c++static' make: *** [all] Fehler 2
_______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool