This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/18699] [4.0 Regression] SIGSEGV in GC_local_gcj_malloc
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 29 Nov 2004 20:17:32 -0000
- Subject: [Bug libgcj/18699] [4.0 Regression] SIGSEGV in GC_local_gcj_malloc
- References: <20041128041457.18699.ovidr@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tromey at gcc dot gnu dot org 2004-11-29 20:17 -------
If the GC headers that we include rely on the defines in
the GC's config.h, then that would explain the problem.
We don't actually need PACKAGE_NAME and friends, I think.
One fix would be to simply undef them in boehm-gc.h before
including gc_config.h.
BTW, one reason to prefer using results of the GC's configure,
rather than hard-coding stuff in libgcj, is that it lets people
play with changing the GC; then they don't need parallel changes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18699