On 17.11.2010 17:00, Ian Lance Taylor wrote: > Christophe Lyon <christophe.lyon@xxxxxx> writes: > >> I have just faced a problem where a C++ program (which I get in binary >> form - I can't recompile) crashes when it uses libstdc++.so.6 from >> GCC-4.5.1, while it works when using libstdc++.so.6 from GCC-4.4.5. >> >> I am using an x86 machine. >> >> Are there any known incompatibilities between these two libraries? >> As the major revision hasn't changed I didn't expect any behaviour change. > > > There are no intentional incompatibilities between these libraries. If > you build a program with gcc 4.4.5, it should run correctly when using > the libstdc++ from gcc 4.5.1. Of course there may be a bug. It's hard > to say anything else without more information. > Thanks for your answer, at least I have the confirmation that, as I thought, it should work. I have tried using strace to figure out what is going on, but it was of little help. Both traces are identical until one decides to segfault. As I don't have access to the source code of the failing program, does anyone have a suggestion on how to narrow down the problem? Many thanks, Christophe.