Renaming /mingw/lib/gcc/mingw32/4.6.1/libstdc++.dll.a to something else fixes the problem for me! guess that forces linking to the libstdc++.a. I don't know what happens to the compiler settings leading to this problem though.
anyway, after two days frustration, it's finally been solved!