develooper Front page | perl.perl5.porters | Postings from July 2003

help with PADSTALE

Jim Cromie
July 17, 2003 17:00
help with PADSTALE
Message ID:
hi folks,

Ive worked up a pair of patches to   B::Generate and optimizer
to get them to work on 5.8.1-rc2.

They work for me on linux 2.4.20-18.7, in 5/6 combinations:
(as tested using regress, on 2 different linux boxes)

5.8.0  threaded, unthreaded   (regression test)
5.8.1   threaded, unthreaded   (progress test)
5.9.0  threaded -

but not on 5.9.0 unthreaded -

optimizer.xs: In function `c_extend_peep':
optimizer.xs:457: `SVs_PADSTALE' undeclared (first use in this function)
optimizer.xs:457: (Each undeclared identifier is reported only once
optimizer.xs:457: for each function it appears in.)
make: *** [optimizer.o] Error 1
Writing Makefile for optimizer

`SVs_PADSTALE' is from sv.h:164

   164  #define SVs_PADSTALE    0x00000100      /* lexical has gone out 
of scope */
   165  #define SVs_PADTMP      0x00000200      /* in use as tmp */
   166  #define SVs_PADMY       0x00000400      /* in use a "my" variable */

I cant see any ifdefs that would make it multi-thread dependent.

Would somebody be so kind as to corroborate my results / correct the 
patches ? Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About