public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/41333]  New: Link error on Solaris 10 / GNU 3.4.2
@ 2009-09-11  6:00 vijay dot x dot jain at jpmchase dot com
  2009-09-11  6:29 ` [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2 ebotcazou at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-11  6:00 UTC (permalink / raw)
  To: gcc-bugs

I have compiled GCC 4.3.2 on solaris 10 box. Post compilation of the compiler
we are building our components. We have not rebuilt third party libraries as to
our understanding .so / binaries built on solaris 8 are compatible on solaris
10

Following is the link error

/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_streambuf<char, std::char_traits<char>
>::imbue(std::locale const&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::cin@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_ios<char, std::char_traits<char> >::widen(char)
const@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `__cxa_free_exception@CXXABI_1.3'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::sentry::sentry(std::basic_ostream<char, std::char_traits<char>
>&)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__cxa_guard_acquire@CXXABI_1.3'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`VTT for std::basic_ofstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_streambuf<char, std::char_traits<char>
>::sync()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `__cxa_end_catch@CXXABI_1.3'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >&
std::operator<< <std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::cerr@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator delete(void*)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_filebuf<char, std::char_traits<char> >::close()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ifstream<char, std::char_traits<char>
>::basic_ifstream(char const*, std::_Ios_Openmode)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `vtable for std::exception@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::ios_base::~ios_base()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::ios_base::Init::Init()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::ios_base::Init::~Init()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(short)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `__cxa_begin_catch@CXXABI_1.3'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(std::basic_ostream<char, std::char_traits<char> >&
(*)(std::basic_ostream<char, std::char_traits<char> >&))@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__gxx_personality_v0@CXXABI_1.3'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >::tellp()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(float&)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_streambuf<char, std::char_traits<char> >::seekoff(long
long, std::_Ios_Seekdir, std::_Ios_Openmode)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char> >::read(char*,
int)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char> >::get(char*,
int)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char,
std::char_traits<char> >*)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::ios_base::_M_grow_words(int, bool)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(int)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_streambuf<char, std::char_traits<char>
>::uflow()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__cxa_allocate_exception@CXXABI_1.3'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_streambuf<char, std::char_traits<char>
>::pbackfail(int)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::peek()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::put(char)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::putback(char)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator delete[](void*)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator delete(void*, std::nothrow_t const&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `__cxa_guard_abort@CXXABI_1.3'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(double)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator new[](unsigned int, std::nothrow_t const&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(double&)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `__cxa_rethrow@CXXABI_1.3'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ofstream<char, std::char_traits<char>
>::close()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::locale::~locale()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >&
std::operator<< <char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, std::_Setfill<char>)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator new(unsigned int)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >&
std::operator<< <char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, std::_Setw)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::set_new_handler(void (*)())@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(unsigned int)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_streambuf<char, std::char_traits<char>
>::showmanyc()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::bad_alloc::~bad_alloc()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_ios<char, std::char_traits<char>
>::clear(std::_Ios_Iostate)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&,
char const*)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ifstream<char, std::char_traits<char>
>::close()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator delete[](void*, std::nothrow_t const&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::terminate()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__cxa_pure_virtual@CXXABI_1.3'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_filebuf<char, std::char_traits<char> >::open(char const*,
std::_Ios_Openmode)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::__basic_file<char>::~__basic_file()@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char> >& std::ws<char,
std::char_traits<char> >(std::basic_istream<char, std::char_traits<char>
>&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::get(char&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(std::ios_base& (*)(std::ios_base&))@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >::write(char
const*, int)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::nothrow@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(float)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ifstream<char, std::char_traits<char>
>::basic_ifstream()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ofstream<char, std::char_traits<char>
>::basic_ofstream(char const*, std::_Ios_Openmode)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `typeinfo for std::basic_streambuf<char, std::char_traits<char>
>@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::ios_base::xalloc()@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(unsigned short)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ios<char, std::char_traits<char> >::good()
const@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >::flush()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ifstream<char, std::char_traits<char> >::open(char
const*, std::_Ios_Openmode)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator new(unsigned int, std::nothrow_t const&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ifstream<char, std::char_traits<char>
>::~basic_ifstream()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::cout@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__cxa_bad_cast@CXXABI_1.3'
/vobs/odyssey/system/mimepp-1.3.1/rel/libmimepp_core1311.so: undefined
reference to `std::basic_ios<char, std::char_traits<char> >::operator void*()
const@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_streambuf<char, std::char_traits<char>
>::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(long&)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `typeinfo for std::basic_ios<char, std::char_traits<char>
>@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(std::basic_istream<char, std::char_traits<char> >&
(*)(std::basic_istream<char, std::char_traits<char> >&))@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for std::bad_alloc@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(unsigned int&)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(unsigned long)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char> >&
std::operator>><char, std::char_traits<char> >(std::basic_istream<char,
std::char_traits<char> >&, char&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(int&)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__dynamic_cast@CXXABI_1.3'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(short&)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for std::basic_ios<char, std::char_traits<char> >@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::locale::locale()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::basic_filebuf<char, std::char_traits<char>
>::basic_filebuf()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ofstream<char, std::char_traits<char> >::open(char
const*, std::_Ios_Openmode)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for std::basic_filebuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for std::basic_ofstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char> >::get(char*,
int, char)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(unsigned short&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ofstream<char, std::char_traits<char>
>::basic_ofstream()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::set_terminate(void (*)())@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >&
std::flush<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__cxa_throw@CXXABI_1.3'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::uncaught_exception()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::ignore()@GLIBCXX_3.4.5'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `vtable for std::basic_istream<char, std::char_traits<char>
>@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::get()@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >&
std::endl<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&)@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`typeinfo for std::bad_alloc@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `vtable for std::basic_ostream<char, std::char_traits<char>
>@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ios<char, std::char_traits<char> >::operator!()
const@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`std::ios_base::ios_base()@GLIBCXX_3.4'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`__cxa_guard_release@CXXABI_1.3'
/vobs/odyssey/system/ace5.5.1/install/lib/libACE.so: undefined reference to
`operator new[](unsigned int)@GLIBCXX_3.4'
/vobs/odyssey/system/rogue7.0.3/sol2/lib/librwtool_mt7032.so: undefined
reference to `std::basic_istream<char, std::char_traits<char>
>::operator>>(unsigned long&)@GLIBCXX_3.4'
/vobs/odyssey/system/persist3.656/dyn_pslibs/libPersist36561.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(long)@GLIBCXX_3.4'


I can see some reference on net regarding the file
/home/odyssey/f065093/gcc/gcc-4.3.2/libstdc++-v3/config/abi/post/sparc-linux-gnu/baseline_symbols.txt
palying role in provide such compatibility. I can see relevant mangled name in
these file. 

For instance FUNC:_ZNSt13basic_istreamIwSt11char_traitsIwEE4peekEv@@GLIBCXX_3.4
is in file baseline_symbols.txt
but still getting error for std::basic_istream<char, std::char_traits<char>
>::peek()@GLIBCXX_3.4' as undefine 

Could you please help us with this error?
U std::istream::peek()@@GLIBCXX_3.4


-- 
           Summary: Link error on Solaris 10 / GNU 3.4.2
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vijay dot x dot jain at jpmchase dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
@ 2009-09-11  6:29 ` ebotcazou at gcc dot gnu dot org
  2009-09-11  6:32 ` vijay dot x dot jain at jpmchase dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-09-11  6:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2009-09-11 06:29 -------
> Could you please help us with this error?
> U std::istream::peek()@@GLIBCXX_3.4

Does this work on Solaris 8?  Does this work if you rebuild the libraries?


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
            Summary|Link error on Solaris 10 /  |Link error on Solaris 10 /
                   |GNU 3.4.2                   |GNU 4.3.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
  2009-09-11  6:29 ` [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2 ebotcazou at gcc dot gnu dot org
@ 2009-09-11  6:32 ` vijay dot x dot jain at jpmchase dot com
  2009-09-11  6:37 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-11  6:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from vijay dot x dot jain at jpmchase dot com  2009-09-11 06:31 -------
Yes our build works on solaris 8. Just that our solaris 8 support is coming to
an end and hence we are migrating to solaris 10.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
  2009-09-11  6:29 ` [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2 ebotcazou at gcc dot gnu dot org
  2009-09-11  6:32 ` vijay dot x dot jain at jpmchase dot com
@ 2009-09-11  6:37 ` ebotcazou at gcc dot gnu dot org
  2009-09-11  6:41 ` vijay dot x dot jain at jpmchase dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-09-11  6:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ebotcazou at gcc dot gnu dot org  2009-09-11 06:37 -------
> Yes our build works on solaris 8.

If the exact same operation works on Solaris 8 but not on Solaris 10, you may
have run into a limitation of GNU ld on Solaris 10.  The workaround is probably
to build a GCC configured --with-gnu-as --without-gnu-ld and use it instead.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (2 preceding siblings ...)
  2009-09-11  6:37 ` ebotcazou at gcc dot gnu dot org
@ 2009-09-11  6:41 ` vijay dot x dot jain at jpmchase dot com
  2009-09-11  9:36 ` redi at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-11  6:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from vijay dot x dot jain at jpmchase dot com  2009-09-11 06:41 -------
On solaris 8 box we are using gnu ld 
 ../configure --prefix=/3rdparty/fsf/gcc/4.1.0
--with-as=/3rdparty/fsf/binutils/2.16/bin/as
--with-ld=/3rdparty/fsf/binutils/2.16/bin/ld --with-gnu-as --with-gnu-ld
--disable-nls --enable-languages=c,c++


This is from solaris 8


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (3 preceding siblings ...)
  2009-09-11  6:41 ` vijay dot x dot jain at jpmchase dot com
@ 2009-09-11  9:36 ` redi at gcc dot gnu dot org
  2009-09-11 14:20 ` vijay dot x dot jain at jpmchase dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: redi at gcc dot gnu dot org @ 2009-09-11  9:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from redi at gcc dot gnu dot org  2009-09-11 09:35 -------
Does the GCC you built for Solaris 10 have symbol versioning enabled?  You can
check this by looking in the libstdc++-v3/config.log or by running: 

nm /path/to/gcc/lib/libstdc++.so | fgrep @GLIBCXX

If that produces no output, then symbol versioning is not enabled.  The libs
built on Solaris 8 are trying to find versioned symbols.  If that is the case
you might have been bitten by Bug 38923 and you will need to rebuild the
Solaris 10 compiler with /usr/xpg4/bin at the start of your PATH


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (4 preceding siblings ...)
  2009-09-11  9:36 ` redi at gcc dot gnu dot org
@ 2009-09-11 14:20 ` vijay dot x dot jain at jpmchase dot com
  2009-09-11 15:21 ` redi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-11 14:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from vijay dot x dot jain at jpmchase dot com  2009-09-11 14:19 -------
As suggested i had put /usr/xpg4/bin in PATH in precedence.
from config.log
lt_cv_path_SED=/usr/xpg4/bin/sed
SED='/usr/xpg4/bin/sed'

BUt still versioning is not used
a_dodycc@upests-dn24d:.libs:[53] !nm
nm libstdc++.so | fgrep GLIBCXX
a_dodycc@upests-dn24d:.libs:[54] pwd


Also I see following in config.log
 #define PACKAGE_VERSION "version-unused"
is this indicator for versioning not used ?

HOw can I make sure that version will be used before I start compiling.


Additional Info from config.log
configure:114744: /home/odyssey/a_dodycc/gcc/gccobjdir/./gcc/xgcc
-B/home/odyssey/a_dodycc/gcc/gccobjdir/./gcc/ -B/home/odyss
ey/a_dodycc/gccinstall/sparc-sun-solaris2.10/bin/
-B/home/odyssey/a_dodycc/gccinstall/sparc-sun-solaris2.10/lib/ -isystem /ho
me/odyssey/a_dodycc/gccinstall/sparc-sun-solaris2.10/include -isystem
/home/odyssey/a_dodycc/gccinstall/sparc-sun-solaris2.10
/sys-include -o conftest  -lgcc_s   conftest.c -lm  >&5
configure:114750: $? = 0
configure:114754: test -z
                         || test ! -s conftest.err
configure:114757: $? = 0
configure:114760: test -s conftest
configure:114763: $? = 0
configure:114839: result: yes
configure:114866: WARNING: === Linker version 1800 is too old for
configure:114868: WARNING: === full symbol versioning support in this release
of GCC.
configure:114870: WARNING: === You would need to upgrade your binutils to
version
configure:114872: WARNING: === 21400 or later and rebuild GCC.
configure:114874: WARNING: === Symbol versioning will be disabled.
configure:114925: versioning on shared library symbols is no
configure:114932: checking for size_t as unsigned int
configure:114952: /home/odyssey/a_dodycc/gcc/gccobjdir/./gcc/xgcc
-B/home/odyssey/a_dodycc/gcc/gccobjdir/./gcc/ -B/home/odyss
ey/a_dodycc/gccinstall/sparc-sun-solaris2.10/bin/
-B/home/odyssey/a_dodycc/gccinstall/sparc-sun-solaris2.10/lib/ -isystem /ho
me/odyssey/a_dodycc/gccinstall/sparc-sun-solaris2.10/include -isystem
/home/odyssey/a_dodycc/gccinstall/sparc-sun-solaris2.10
/sys-include -c -Werror  conftest.c >&5


My configure options are as follows

/home/odyssey/a_dodycc/gcc/gcc-4.3.2/configure 
--prefix=/home/odyssey/a_dodycc/gccinstall
--with-as=/3rdparty/fsf/binutils/2.18/bin/as 
--with-ld=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/ld 
--with-gnu-as --with-gnu-ld --disable-nls --enable-languages=c,c++
--with-gmp=/home/odyssey/f065093/gmp/gmp-4.3.1/install
--with-mpfr=/home/odyssey/f065093/mpfr/mpfr-2.4.1/install 
LD=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/ld 
AR=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/ar
NM=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/nm 
RANLIB=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/ranlib
STRIP=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/strip
OBJCOPY=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/objcopy
OBJDUMP=/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/objdump CC=gcc
cc=gcc

I am not sure how is ld version mapped to 1800

/home/odyssey/a_dodycc/gcc/gccobjdir>/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/ld
-v
GNU ld (GNU Binutils)2.18

What do  I do to use ld 21400? HOw can i get this?



As suggested I am using 3.4.6 as base version from www.sunfreeware.com to build
gcc 4.3.2
Following are the configure options of the gcc version 3.4.6

Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6

Please suggest. We really appreciate you help


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (5 preceding siblings ...)
  2009-09-11 14:20 ` vijay dot x dot jain at jpmchase dot com
@ 2009-09-11 15:21 ` redi at gcc dot gnu dot org
  2009-09-15  4:18 ` vijay dot x dot jain at jpmchase dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: redi at gcc dot gnu dot org @ 2009-09-11 15:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from redi at gcc dot gnu dot org  2009-09-11 15:20 -------
(In reply to comment #6)
> configure:114866: WARNING: === Linker version 1800 is too old for
> configure:114868: WARNING: === full symbol versioning support in this release
> of GCC.
> configure:114870: WARNING: === You would need to upgrade your binutils to
> version
> configure:114872: WARNING: === 21400 or later and rebuild GCC.
> configure:114874: WARNING: === Symbol versioning will be disabled.
> configure:114925: versioning on shared library symbols is no

This is the line that matters. This tells you symbol versioning will NOT be
used. This is the same error as I reported in Bug 38923, which means that
/usr/bin/xpg4/sed is NOT being used.

> I am not sure how is ld version mapped to 1800

Read Bug 38923!  I didn't point it out just for my own amusement.


> /home/odyssey/a_dodycc/gcc/gccobjdir>/home/odyssey/f065093/binuitls/binutils-2.18/install/bin/ld
> -v
> GNU ld (GNU Binutils)2.18
> 
> What do  I do to use ld 21400? HOw can i get this?

21400 refers to binutils 2.14, but since you are trying to use 2.18 and it is
identifying it as 1800 that means the sed script is not working. See bug 38923

Either you didn't change your path, or you didn't rebuild properly (remove
everything in objdir and start clean.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (6 preceding siblings ...)
  2009-09-11 15:21 ` redi at gcc dot gnu dot org
@ 2009-09-15  4:18 ` vijay dot x dot jain at jpmchase dot com
  2009-09-15  4:21 ` vijay dot x dot jain at jpmchase dot com
  2009-10-05 11:30 ` redi at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-15  4:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from vijay dot x dot jain at jpmchase dot com  2009-09-15 04:18 -------
I have got the issue. The problem is not sed but rather the pattern being
searched from ld --version
My ld --version returns 
GNU ld (GNU Binutils)2.18

Where the pattern looked by the search pattern is 
GNU (go) ld (version)2.18

Please note that the LD version is 2.18 downloaded from GNU site itself.

I modidified the command
ld --version| head -1| sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*)
\)\{0,1\}\([0-9.][0-9.]*\).*/\3/'



to 
ld --version| head -1| cut -f2 -d')' 

Then the results for 
nawk -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'
were as expected.
 ld --version| head -1| cut -f2 -d')' | nawk -F. '{ if (NF<3) $3=0; print
($1*100+$2)*100+$3 }'
21800

and then gcc the build went through sucessfully.

Using this gcc, I have been sucessful in building various component of our
application. Few components of our application still remaining to build.

But I think there is a potential bug with GCC compilation, the way it uses
pattern to determine ld version to enable versioning with the compiler. Either
the ld code should be modified to give version in consistent format or the
compiler compilation script should be modified to accomodate all possible
formats of the out of ld --version.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (7 preceding siblings ...)
  2009-09-15  4:18 ` vijay dot x dot jain at jpmchase dot com
@ 2009-09-15  4:21 ` vijay dot x dot jain at jpmchase dot com
  2009-10-05 11:30 ` redi at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-15  4:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from vijay dot x dot jain at jpmchase dot com  2009-09-15 04:21 -------
Also I would like your sincere effort to resolve the problem. Your product
rocks!.
We are yet to test our components. Hope there would be no further runtime
issues. 
Thanking you from bottom of the heart. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2
  2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (8 preceding siblings ...)
  2009-09-15  4:21 ` vijay dot x dot jain at jpmchase dot com
@ 2009-10-05 11:30 ` redi at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: redi at gcc dot gnu dot org @ 2009-10-05 11:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from redi at gcc dot gnu dot org  2009-10-05 11:30 -------
(In reply to comment #8)
> I have got the issue. The problem is not sed but rather the pattern being
> searched from ld --version
> My ld --version returns 
> GNU ld (GNU Binutils)2.18
> 
> Where the pattern looked by the search pattern is 
> GNU (go) ld (version)2.18

No it isn't.

> But I think there is a potential bug with GCC compilation, the way it uses
> pattern to determine ld version to enable versioning with the compiler. Either

Yes, that bug is bug 38923. Marking this as a dup.

> the ld code should be modified to give version in consistent format or the

Not likely to happen. It wouldn't help for existing versions of ld that have
already been released.

> compiler compilation script should be modified to accomodate all possible
> formats of the out of ld --version.

That's what it tries to do. It just doesn't always work on Solaris. See bug
38923.


*** This bug has been marked as a duplicate of 38923 ***


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41333


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-10-05 11:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-11  6:00 [Bug c++/41333] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
2009-09-11  6:29 ` [Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2 ebotcazou at gcc dot gnu dot org
2009-09-11  6:32 ` vijay dot x dot jain at jpmchase dot com
2009-09-11  6:37 ` ebotcazou at gcc dot gnu dot org
2009-09-11  6:41 ` vijay dot x dot jain at jpmchase dot com
2009-09-11  9:36 ` redi at gcc dot gnu dot org
2009-09-11 14:20 ` vijay dot x dot jain at jpmchase dot com
2009-09-11 15:21 ` redi at gcc dot gnu dot org
2009-09-15  4:18 ` vijay dot x dot jain at jpmchase dot com
2009-09-15  4:21 ` vijay dot x dot jain at jpmchase dot com
2009-10-05 11:30 ` redi at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).