This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GC_descr_obj_sz miscompilation (was RE: GC_enable_incremental())
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: "Boehm, Hans" <hans dot boehm at hp dot com>, "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>, "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
- Date: Fri, 10 Sep 2004 12:45:27 -0400
- Subject: Re: GC_descr_obj_sz miscompilation (was RE: GC_enable_incremental())
- References: <B27561804CF1BE4F8943BB2CB29E18EA062D00@hplextmp.hpl.hp.com> <414142C4.9090906@gmail.com>
Ranjit Mathew wrote:
Boehm, Hans wrote:
1) The multithreaded GC doesn't run under gdb 6.1. I suspect
some signals are being misdirected, or the like. (I mention
this here only because it might frustrate others, too.)
You might have better luck with GDB 6.2/6.2.1. From
the NEWS file for 6.2:
--------------------------- 8< ---------------------------
* Fix for ``many threads''
I still have problems with heavily threaded Java programs freezing under
gdb 6.2 (and current CVS). A workaround is to set
LD_ASSUME_KERNEL=2.4.19 to force the use of linuxthreads, rather than NPTL.
Regards
Bryce