Red Hat Bugzilla – Bug 499724
incompatibility between compat-gcc-34 and compat-libstdc++-33
Last modified: 2009-05-13 09:17:19 EDT
Description of problem:
When compiling a program using gcc34, errors of this kind appear at the end :
/usr/lib64/libtag.so: undefined reference to `std::basic_ostream<char,
std::char_traits<char>>& std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*,
It seems to be an incompatibility between the compilator given by
"compat-gcc-34" and the libraries given by "compat-libstdc++-33"
Version-Release number of selected component (if applicable):
Try to compile and link a program with gcc34
Steps to Reproduce:
*** Bug 500032 has been marked as a duplicate of this bug. ***
gcc34 doesn't ever use compat-libstdc++-33, that makes no sense at all.
From the above I'm just guessing you are linking against C++ libraries that were compiled/linked with g++ rather than g++34, in that case obviously the link phase has to be done using g++ rather than g++34, because you can't limit to the subset of libstdc++ exported functions that were provided by 3.4.x.
*** Bug 500427 has been marked as a duplicate of this bug. ***