Subject: | attrs.t fails on solaris |
Hello,
I having trouble to make Sys::SigAction work on my solaris box, could it be that I am missing something ?
Thanks,
SunOS Horizon 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-60
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos horizon 5.8 generic_108528-17 sun4u sparc sunw,ultra-60 '
config_args='-d -Dcc=gcc -Dprefix=/opt/perl-5.6.1 -Dinstallprefix=/opt/perl-5.6.1 -Dotherlibdirs=/usr/local/lib/perl-5.6.1/sun4-solaris:/usr/local/lib/perl-5.6.1 -Uinstallusrbinperl -Uuselargefiles -Ubincompat5005
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
optimize='-O',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.0.3', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E'
cccdlflags='-fPIC', lddlflags=' -W,l-E -G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
Built under solaris
Compiled at Feb 19 2003 17:26:13
%ENV:
PERL5LIB=""
@INC:
/opt/perl-5.6.1/lib/5.6.1/sun4-solaris
/opt/perl-5.6.1/lib/5.6.1
/opt/perl-5.6.1/lib/site_perl/5.6.1/sun4-solaris
/opt/perl-5.6.1/lib/site_perl/5.6.1
/opt/perl-5.6.1/lib/site_perl
/usr/local/lib/perl-5.6.1/sun4-solaris
/usr/local/lib/perl-5.6.1
Test Results:
ok 1 - use Sys::SigAction;
ok 2 - sigHUP called
not ok 3 - sigINT called
# Failed test (t/attrs.t at line 38)
not ok 4 - sig mask delayed USR1
# Failed test (t/attrs.t at line 41)
not ok 5 - sigUSR called
# Failed test (t/attrs.t at line 44)
not ok 6 - sig mask delayed INT and USR1
# Failed test (t/attrs.t at line 33)
ok 7 - sigHUP_2 called
ok 8 - sigINT_2 called
ok 9 - no mask/safe=0 INT_2 called before exit of HUP_2
# Looks like you failed 4 tests of 9.