This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: boehm-gc: Length of .comm "_C" [[ problem found, how do I fix it? ]]
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 12 Dec 2001 18:12:49 +1300
- Subject: Re: boehm-gc: Length of .comm "_C" [[ problem found, how do I fix it? ]]
- References: <Pine.LNX.4.10.10112112255290.14937-100000@mars.deadcafe.org> <86zo4p132x.fsf@megacz.com>
Adam Megacz wrote:
>I did a gcc -E, grabbed the output, and then just started deleting
>stuff off the end until it compiled (binary search). The critical line
>is:
>
> GC_API CRITICAL_SECTION GC_allocate_ml;
>
Are you build the collector statically?
From the GC docs:
"Clients may need to define GC_NOT_DLL before including gc.h, if the
collector was built as a static library (as it normally is in the
absence of thread support)."
regards
Bryce.