On Fri, 27 Apr 2007 11:19:59 -0700
Andy Dougherty (via RT) <[EMAIL PROTECTED]> wrote:
> "src/gc/dod.c", line 462: undefined symbol:
> PObj_bufstart_external_FLAG

I hunted for this a bit lastnight, so I'm posting my progress.

The source lines in question are:

461         /* the real external flag */
462>>       if (PObj_bufstart_external_TEST(b))    <<
463             PObj_external_SET(b);

After some preprocessor nonsense, line 462 becomes:

            if ((((b)->obj.flags) & PObj_bufstart_external_FLAG))


PObj_bufstart_external_FLAG used to be defined in
include/parrot/pobj.h, but it was removed in svn r10582:

r10582 | leo | 2005-12-19 08:19:22 -0800 (Mon, 19 Dec 2005) | 9 lines

Buffer allocation - Buffer flags

* removed unused Buffer flags (bufstart_external, immobile)
* create new PObj_is_COWable_FLAG for future generalization of COWed
buffers
* use managed memory in PIO_reads

Please 'make clean' due to changed Buffer flags


Strange that r10582 removed the flag itself, but not the accessors
(PObj_bufstart_external_TEST and PObj_bufstart_external_SET).

Reply via email to