------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-04-30 20:46 ------- Andrew is right, this error usually means that a shared library contains code that has not been compiled with -fPIC. The Solaris 64-bit runtime linker doesn't seem to be able to cope with this (unlike the 32-bit one).
Does it change anything if you build libq.so with -mimpure-text? -- What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu dot | |org Severity|critical |normal Component|c++ |target GCC build triplet| |sparc64-sun-solaris2.* GCC host triplet| |sparc64-sun-solaris2.* GCC target triplet| |sparc64-sun-solaris2.* Priority|P3 |P2 Summary|gcc 4.0 fails to statically |Runtime error with C++ |link on Solaris SPARC 64 bit|shared library and -- | |disable-shared http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21277