------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-05-02 07:57 ------- > readelf -r libq.so | grep R_SPARC_WDISP30 gives the following:
OK, the fundamental problem is that you're trying to build shared libraries with a compiler configured with --disable-shared. That's not really intended (and might cause problems for exception propagation in C++). The fix is indeed to recompile every GCC library with -fPIC. Try to configure at toplevel --with-pic, but I'm not sure the option is valid there. Otherwise you'll need to specifically configure libstdc++-v3 --with-pic. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21277