All libjava execution tests fail on IRIX 6 like this:

% LD_LIBRARYN32_PATH=../../../gcc:../.libs ./PR9577
3709255:./PR9577: rld: Error: unresolvable symbol in ../.libs/libgcj.so.7: 
pthread_kill
3709255:./PR9577: rld: Error: unresolvable symbol in ../.libs/libgcj.so.7: 
pthread_sigmask
3709255:./PR9577: rld: Fatal Error: this executable has unresolvable symbols

Those two functions are only present in libpthread, but the IRIX 6
configuration still uses THREADS=single.

There seem to be two references to those function:

* pthread_kill used in java/lang/natPosixProcess.cc
  (java::lang::ConcreteProcess$ProcessManager::signalReaper)

* pthread_sigmask used in java/lang/natPosixProcess.cc
  (java::lang::ConcreteProcess$ProcessManager::waitForSignal)

Environment:
System: IRIX sculptor 6.5 10060437 IP32


        
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc 
--with-local-prefix=/vol/gcc --disable-nls --with-gnu-as 
--with-as=/vol/gcc/lib/gas-2.15 --enable-libgcj --disable-multilib 
--with-gmp-dir=/vol/gnu/obj/gmp-4.1.3 --with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3 
--enable-languages=c,c++,f95,java,objc,ada --disable-libmudflap

How-To-Repeat:
Bootstrap as described above and run test libjava testsuite.

-- 
           Summary: All libjava execution tests fail on IRIX 6
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21935

Reply via email to