During compilation of gcc-4.1.2 with currently hard masked binutils any g++ application during startup will show warning like this: sim: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: no version information available (required by /usr/kde/3.5/lib/libkdesu.so.4) The problem is that in newer binutils changed the output of ld --version and that is why changes required to properly determine ld version: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01486.html I've reproduced this problem with binutils 2.17.50.0.14 and 2.17.50.0.15 but may be problem was introduced earlier.
Created attachment 117162 [details, diff] Patch to fix the problem.
Created attachment 117165 [details, diff] Patch for configure script to avoid autoconf run. This patch is not required as this change could be redone with autodconf run. But to test changes locally I use this patch to avoid autoconf run in libstdc++ subdirectory.
added to 4.1.2 and 4.1.2-r1, thanks for the info/patch