This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Many Failures In libjava Testsuite!
- From: "Boehm, Hans" <hans dot boehm at hp dot com>
- To: "Ranjit Mathew" <rmathew at gmail dot com>, <java at gcc dot gnu dot org>
- Date: Mon, 29 Nov 2004 10:23:08 -0800
- Subject: RE: Many Failures In libjava Testsuite!
I didn't think the collector was built with -DUSE_COMPILER_TLS?
It probably should be. But for now, tls support probably doesn't matter;
the collector uses its own implementation by default.
I added to the bug report. I suspect the problem is with the collector's
interception of pthread_create calls, or lack thereof.
Hans
> -----Original Message-----
> From: java-owner@gcc.gnu.org
> [mailto:java-owner@gcc.gnu.org]On Behalf Of
> Ranjit Mathew
> Sent: Monday, November 29, 2004 1:38 AM
> To: java@gcc.gnu.org
> Subject: Re: Many Failures In libjava Testsuite!
>
>
> 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/
>
>