Many Failures In libjava Testsuite!

Ranjit Mathew rmathew@gmail.com
Mon Nov 29 11:29:00 GMT 2004


Ranjit Mathew wrote:
> Hi,
> 
>   Today (2004-11-29, IST) I am suddenly seeing a lot
> of FAILs in the libjava testsuite (78) and all of the
> ones I checked fail in the same manner:

[...]

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 99466160 (LWP 11767)]
> GC_local_gcj_malloc (bytes=24, ptr_to_struct_containing_descr=0x13bc3e8)
>     at /home/ranmath/src/gcc/gcc-20041129/boehm-gc/pthread_support.c:364
> 364             ptr_t my_entry = *my_fl;

Looking at the code thereabouts, I need to clarify that
my libc does seem to have TLS:
--------------------------- 8< ---------------------------
~/src/gcc/build/i686-pc-linux-gnu/libjava/testsuite > /lib/libc.so.6
--version
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2.3 20030502 (Red Hat Linux 3.2.3-42).
Compiled on a Linux 2.4.20 system on 2004-08-30.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        The C stubs add-on version 2.1.2.
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Glibc-2.0 compatibility add-on by Cristian Gafton
        libthread_db work sponsored by Alpha Processor Inc
Thread-local storage support included.
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
--------------------------- 8< ---------------------------

and my $BUILD/$TARGET/boehm-gc/include/gc_config.h file
has:
--------------------------- 8< ---------------------------
~/src/gcc/build/i686-pc-linux-gnu/boehm-gc/include > cat gc_config.h
/* include/gc_config.h.  Generated by configure.  */
/* gc_config.h. This autoconf header contains macro definitions that are
used by GC clients, such as libjava.

This file is not generated by autoheader. We only want to define what we
really need in order to avoid namespace pollution. */

#define THREAD_LOCAL_ALLOC 1
--------------------------- 8< ---------------------------

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/



More information about the Java mailing list