[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GarbageCollector problem
Marco Oetken <Marco.Oetken@informatik.uni-oldenburg.de> writes:
> Hallo!
>
> The garbagecollector doesn't work on my system.
> While compiling there are warnings, that a function
> returns a reference to local variable. I don't know
> if this is a real problem.
This is caused by a trick of gc to estimate where the C compiler's
run-time system places the stack.
> oo2c always stops with
> a segmentation fault and gdb says that it occurs
> within GC_collect. Has anyone had a similar problem
> and knows a solution?
>
> Im using MkLinux (based on RedHat5.0) on a PPC603e
> StarMax. oo2c 1.4. The gc is 4.13alpha1, I haven't
> found a point in the readme for the latest version
> that obviously corrects my problem. Instead alpha1
> corrected a problem with RedHat.
It's quite possible that gc does not support this unusual processor/OS
combination. It does support the Linux libcs and I believe it also
knows about PPC processors. The combination of these two is probably
not anticipated. Maybe HJ Boehm can tell you what is necessary for
this.
If everything fails, oo2c can be built without gc. See the chapter
about installation in the reference manual for details, and a
discussion of the disadvantages involved.
-- mva