develooper Front page | perl.perl5.porters | Postings from December 2013

[perl #120835] IO::Socket getsockopt subroutine on AIX

Thread Previous
From:
yaberger @ ca . ibm . com
Date:
December 20, 2013 18:57
Subject:
[perl #120835] IO::Socket getsockopt subroutine on AIX
Message ID:
rt-4.0.18-20732-1387565121-26.120835-75-0@perl.org
# New Ticket Created by  yaberger@ca.ibm.com 
# Please include the string:  [perl #120835]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=120835 >



This is a bug report for perl from yaberger@ca.ibm.com,
generated with the help of perlbug 1.39 running under perl 5.18.1.


-----------------------------------------------------------------
[Please describe your issue here]
Hi,

I've compiled my own Perl 5.18.1 on AIX 7.1 TL2 SP3 with IBM XL C/C++ v12.1.0.5
I've installed a few additional modules and one of them failed a test.
I've reported the error encountered: https://groups.google.com/forum/#!topic/mojolicious/T34XZX72LaA
After a few tests, we've been able to target the issue in the getsockopt() subroutine of IO::Socket. It seems that this subroutine does not meet the condition to unpack on AIX while it should do it.
I've opened a ticket against IO::Socket: https://rt.cpan.org/Public/Bug/Display.html?id=91183
However, it seems that IO::Socket is now considered as part of Perl5 core and therefore this is why I'm opening this ticket today.


Best regards,

Yannick Bergeron
Advisory IT Specialist


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=low
    module=IO::Socket
---
Site configuration information for perl 5.18.1:

Configured by yaberge3 at Thu Dec  5 07:20:48 EST 2013.

Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
   
  Platform:
    osname=aix, osvers=7.1.0.0, archname=aix-thread-multi
    uname='aix aix71tst 1 7 00c0eca24c00 '
    config_args='-desr -Dprefix=/usr/local/perl-5.18.1 -Uman1direxp -Uman3direxp -Doptimize=-O2 -Duselongdoubles -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc -q32', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES',
    optimize='-O2',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT'
    ccversion='12.1.0.5', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -brtl -bdynamic -b32 -bmaxdata:0x80000000'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc
    libc=, so=a, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:/usr/local/perl-5.18.1/lib/5.18.1/aix-thread-multi/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -G -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lpthreads -lc -lm'

Locally applied patches:
    

---
@INC for perl 5.18.1:
    /usr/local/perl-5.18.1/lib/site_perl/5.18.1/aix-thread-multi
    /usr/local/perl-5.18.1/lib/site_perl/5.18.1
    /usr/local/perl-5.18.1/lib/5.18.1/aix-thread-multi
    /usr/local/perl-5.18.1/lib/5.18.1
    .

---
Environment for perl 5.18.1:
    HOME=/home/root/
    LANG=en_US
    LANGUAGE (unset)
    LC__FASTMSG=true
    LD_LIBRARY_PATH (unset)
    LIBPATH (unset)
    LOGDIR (unset)
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java7/jre/bin:/sbin:/home/root/:/usr/local/bin:/usr/sbin/acct:/opt/IBM/ITM/bin
    PERL_BADLANG (unset)
    SHELL=/usr/bin/ksh


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About