Bug 499724

Summary: incompatibility between compat-gcc-34 and compat-libstdc++-33
Product: [Fedora] Fedora Reporter: kakashizilla
Component: compat-gcc-34Assignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: franta, jakub, jlaska
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-11 14:04:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description kakashizilla 2009-05-07 19:32:37 UTC
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*, 
  long)@GLIBCXX_3.4.9'
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):


How reproducible:
Try to compile and link a program with gcc34

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Chris Lumens 2009-05-11 13:52:33 UTC
*** Bug 500032 has been marked as a duplicate of this bug. ***

Comment 2 Jakub Jelinek 2009-05-11 14:04:56 UTC
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.

Comment 3 Chris Lumens 2009-05-13 13:17:19 UTC
*** Bug 500427 has been marked as a duplicate of this bug. ***