Went ahead and coded the most effective way of 'explicitly' identifying the context (mainly to support use_threads) for the xs Stash code after Stas Beckman's response from my previous patch.
Perl flags for build :
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.10-smp, archname=i686-linux-thread
uname='linux app-server 2.4.10-smp #1 smp tue dec 11 09:35:51 cst 2001
i686 unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=define useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags
='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -I/usr/local/includ
e -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -march=i686',
cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -I/usr/loca
l/include'
ccversion='', gccversion='2.95.3 20010315 (SuSE)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-L/usr/local/lib -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/local/lib
libs=-lbind -lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lbind -lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic',
lddlflags='-shared -L/usr/local/lib -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_THREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Dec 15 2001 11:06:44
@INC:
/usr/local/lib/perl5/5.6.1/i686-linux-thread
/usr/local/lib/perl5/5.6.1
/usr/local/lib/site_perl/i686-linux-thread
/usr/local/lib/site_perl
/usr/local/lib/site_perl
.
stash.patch
Description: Binary data
