------- Comment #16 from hjl at lucon dot org 2006-02-06 19:03 ------- Please read the summary line: "Wrong libgcc_s.so.1 is used by lt-gij". Ld.so will search DT_RPATH first for any shared libraries. If you have DT_RPATH entries pointing to installed paths to libraries/executables in the build tree, when you run such an executable in the build tree, the shared libraries in installed paths will be used, if they exist. That is the newly built shared libraries in the build tree may never be used. Sometimes it is fatal if the shared library in the installed path isn't 100% compatible with the newly built one.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17311