Event module has problems under HPUX perl 5.8.0, cc compiler
[email protected] ("Rick Ressegger") Tue, 20 May 2003 20:30:03 -0400
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am porting an application to HPUX 11.11 and have been mostly successful in
getting perl 5.8.0 to compile.
Under 5.6.1 pre-compiled version from HP, I was able to get Event to work after
patching var.c.
Under this port I have more errors in the test, none apparent in the compile.
Typical test output:
make test
rm -f blib/arch/auto/Event/Event.sl
LD_RUN_PATH="" /usr/bin/ld -b
+vnocompatwarnings -L/usr/local/lib -L/lib/pa20_64 Event.o -o
blib/arch/auto/Event/Event.sl
chmod 755 blib/arch/auto/Event/Event.sl
cp Event.bs blib/arch/auto/Event/Event.bs
chmod 644 blib/arch/auto/Event/Event.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/attach_to.......ok
t/bored...........ok
t/callback........FAILED tests 5-6
Failed 2/6 tests, 66.67% okay
t/data............ok
t/delete..........ok
t/eval............Event: loop without active watchers at t/eval.t line 27
# Test 1 got: <UNDEF> (t/eval.t at line 27)
# Expected: 'ok'
t/eval............FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/fifo............ok
t/group...........ok
t/hook............ok
t/hup.............ok
t/idle............ok
t/idle2...........ok
t/io..............ok
t/leak............ok
t/leak2...........ok
t/loop............ok
t/now.............ok
t/reenter.........# Test 2 got: '95' (t/reenter.t at line 22)
# Expected: '0'
t/reenter.........dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/signal..........ok
t/timeout_cb......ok
t/timer...........ok
t/unconfigured....ok
t/var.............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
-
t/callback.t 6 2 33.33% 5-6
t/eval.t 7 7 100.00% 1-7
t/reenter.t 0 138 7 6 85.71% 2-7
Failed 3/23 test scripts, 86.96% okay. 15/115 subtests failed, 86.96% okay.
*** Error exit code 2
============
perl -V config:
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0-LP64
uname='hp-ux rp0101 b.11.11 u 9000800 2747647539 unlimited-user license '
config_args=''
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64
+z -I/usr/local/include -D_LARGEFILE_SOURCE',
optimize='+O2 +Onolimit',
cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwa
rnings +DD64 +z -I/usr/local/include -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
+DD64
+z -I/usr/local/include -D_LARGEFILE_SOURCE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwa
rnings +DD64 +z -I/usr/local/include -D_LARGEFILE_SOURCE'
ccversion='B.11.11.04', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' +DD64 -L/usr/local/lib -L/lib/pa20_64'
libpth=/usr/local/lib /lib/pa20_64 /lib /usr/lib /usr/ccs/lib
libs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lc -lsec
perllibs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lc -lsec
libc=/lib/pa20_64/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef,
ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+z', lddlflags='-b
+vnocompatwarnings -L/usr/local/lib -L/lib/pa20_64'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
Built under hpux
Compiled at May 15 2003 21:22:53
@INC:
/opt/perl/lib/5.8.0/PA-RISC2.0-LP64
/opt/perl/lib/5.8.0
/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0-LP64
/opt/perl/lib/site_perl/5.8.0
/opt/perl/lib/site_perl
.
==================
Any ideas? I've looked through the archive for similar, but struck out.
Rick Ressegger
User Technology Associates, INC.