------- Comment #3 from ro at techfak dot uni-bielefeld dot de 2007-06-25 17:38 ------- Subject: Re: Linking 64-bit libgcj.so fails on Solaris 10/x86: non-PIC code despite -fPIC
hjl at lucon dot org writes: > ------- Comment #2 from hjl at lucon dot org 2007-06-22 18:26 ------- > On Linux, I got > > 0000000002e1b960 1 OBJECT LOCAL HIDDEN 25 > gnu::gcj::runtime::FinalizerThread::finalizer_ready This is 221554: 0000000003024d80 1 OBJECT GLOBAL DEFAULT 256 gnu::gcj::runtime::FinalizerThread::finalizer_ready on Solaris 10. > It looks like assembler/linker on Solaris don't have proper visibility > support. The assembler (gas 2.15 bundled with Solaris) does, but since I'm using the native linker, gcc/configure.ac disables hidden support. It should work in Solaris 10, though. Due to PR libgcj/32462 (which happens with GNU ld, too), I haven't tried gas and gld yet. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32465