> We have tried building Perl versions 5.004_04 and 5.005_03 on AIX 4.3.
>The builds all look successful and many perl scripts run, but some
>don't. The symptoms I am running into are:
>1) Perl core dumps on compile only
>2) Different shell environments cause Perl to dump core
>3) Running the program with she-bang to perl binary dumps core, but
>running same binary on command line program runs fine (ie. "perl myprog"
>works)
>4) Compile only will core dump, but running it is fine.
[snip]
That's odd ... we're all full up with Perl here, and it all runs super
smoothly. Plus which I've never seen a Perl core dump that I didn't cause
directly myself.
[cut and pasted with lines wrapped by me so our news server won't *]
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
Platform:
osname=aix, osvers=4.3.0.0, archname=aix
uname='aix unpkhswm04 3 4 000148764600 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 \
-I/usr/local/include'
ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 \
-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp \
-bE:$(BASEEXT).exp -b noentry -lc -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under aix
Compiled at Dec 17 1998 15:27:06
/usr/local/lib/perl5/5.00502/aix
/usr/local/lib/perl5/5.00502
/usr/local/lib/perl5/site_perl/5.005/aix
/usr/local/lib/perl5/site_perl/5.005
.
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=aix, osvers=4.1.4.0, archname=aix-thread
uname='aix anpkhsw1 1 4 00500352c400 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=define useperlio=undef d_sfio=undef
Compiler:
cc='cc_r', optimize='-O', gccversion=
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 \
-DNEED_PTHREAD_INIT -I/usr/local/include'
ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 \
-DNEED_PTHREAD_INIT -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-ldbm -lld -lm -lc_r -lc -lbsd -lPW
libc=, so=a, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp \
-bE:$(BASEEXT).exp -b noentry -lpthreads -lc_r -lc -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under aix
Compiled at Apr 15 1999 18:37:37
/usr/local/lib/perl5/5.00503/aix-thread
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/aix-thread
/usr/local/lib/perl5/site_perl/5.005
.
I could do the same on about fifty other hosts, but you'd get the same
results (more or less). These were built with "Configure -des" and "make"
so there isn't any magic in the build process.
--
Mitchell Morris
See, when the GOVERNMENT spends money, it creates jobs; whereas when the money
is left in the hands of TAXPAYERS, God only knows what they do with it. Bake
it into pies, probably. Anything to avoid creating jobs.
-- Dave Barry