------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-17 
19:05 -------
(In reply to comment #4)
> If you have C++ code that uses std::sqrt(float) and build a dynamically linked
> executable on AIX 5.1, then bring it over to AIX 5.2, it won't run, because
> sqrtf() is now in libm, but not in libstdc++.  This doesn't seem to be a 
> problem
> on other platforms (for example, a program compiled on Solaris 8, against
> sqrtf() in libstdc++, runs fine on Solaris 10, with sqrtf() in libm), but on 
> AIX
> the dynamic loader looks for a symbol only in a specific library.  I am 
> guessing
> it's a difference between COFF and ELF?

That is not a bug, you cannot do that as libstdc++ is not forward compatiable, 
this is also happens on 
Darwin (Mac OS X).

-- 


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

Reply via email to