------- Comment #5 from yuri at tsoft dot com 2010-04-25 01:17 ------- Sorry, my bad.
It really was picking up the default libstdc++.so from the OS installation. I used -R/path/to/4.5.0/libstdc++.so to fix this library path. But it turns out that -L/path/to/4.5.0/libstdc++.so is also required in addition to this, otherwise the default libstdc++.so is looked up by linker. Maybe this is a bug in linker, don't know. But those new symbols revealed the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43882