develooper Front page | perl.perl5.porters | Postings from October 2018

Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
October 9, 2018 12:22
Subject:
Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX
Message ID:
20181009142147.7d34414d@pc09.procura.nl
On Tue, 9 Oct 2018 13:06:00 +0100, Dave Mitchell <davem@iabyn.com>
wrote:

> perl -Dst -le '@a = qw(/foo/bar); for (reverse @a) { print }'

Just for reference ...

AIX 5.3.0.0/TL12-05  IBM,9115-505 PowerPC_POWER5/1898(2)  3920 Mb
This is perl 5, version 14, subversion 2 (v5.14.2) built for aix-64all
-V output at the bottom

$ perl -Dst -le '@a = qw(/foo/bar); for (reverse @a) { print }'

EXECUTING...

    =>
(-e:0)  enter
    =>
(-e:0)  nextstate
    =>
(-e:1)  pushmark
    =>  *
(-e:1)  const(PV("/foo/bar"\0))
    =>  *  PV("/foo/bar"\0)
(-e:1)  pushmark
    =>  *  PV("/foo/bar"\0)  *
(-e:1)  gv(main::a)
    =>  *  PV("/foo/bar"\0)  *  GV()
(-e:1)  rv2av
    =>  *  PV("/foo/bar"\0)  *  AV()
(-e:1)  aassign
    =>
(-e:1)  nextstate
    =>
(-e:1)  pushmark
    =>  *
(-e:1)  gv(main::a)
    =>  *  GV()
(-e:1)  rv2av
    =>  *  AV()
(-e:1)  gv(main::_)
    =>  *  AV()  GV()
(-e:1)  enteriter
    =>
(-e:1)  iter
    =>  SV_YES
(-e:1)  and
    =>
(-e:1)  nextstate
    =>  SV_YES
(-e:1)  pushmark
    =>  SV_YES  *
(-e:1)  gvsv(main::_)
    =>  SV_YES  *  PV("/foo/bar"\0)
(-e:1)  print
/foo/bar
    =>  SV_YES  SV_YES
(-e:1)  unstack
    =>  SV_YES
(-e:1)  iter
    =>  SV_YES  SV_NO
(-e:1)  and
    =>  SV_YES  SV_NO
(-e:1)  leaveloop
    =>  PVNV(""\0)
(-e:1)  leave


Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

  Platform:
    osname=aix, osvers=5.3.0.0, archname=aix-64all
    uname='aix i3 3 5 0004898ad300 '
    config_args='-Dusedevel -Duse64bitall -Uversiononly -Dinc_version_list=none -des'
    hint=recommended, useposix=true, d_sigaction=define
    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='xlc -q64', ccflags ='-q64 -DDEBUGGING -qlanglvl=extended -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -qlanglvl=extended -I/pro/local/include -q64 -DUSE_64_BIT_ALL -q64',
    optimize='-O',
    cppflags='-DDEBUGGING -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -I/pro/local/include'
    ccversion='11.1.0.8', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-L/usr/local/ppc64/lib64 -b64 -q64 -L/pro/local/lib -brtl -bdynamic -b64'
    libpth=/usr/local/ppc64/lib64 /lib /usr/lib /usr/ccs/lib /usr/local/lib /usr/lib64
    libs=-lbind -lnsl -ldbm -ldb -ldl -lld -lm -lcrypt -lc
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:/pro/lib/perl5/5.14.2/aix-64all/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-b64  -bhalt:4 -G -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc -lm -L/usr/local/ppc64/lib64 -L/pro/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
                        USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
                        USE_PERL_ATOF
  Built under aix
  Compiled at May 11 2012 16:36:53
  @INC:
    /pro/lib/perl5/site_perl/5.14.2/aix-64all
    /pro/lib/perl5/site_perl/5.14.2
    /pro/lib/perl5/5.14.2/aix-64all
    /pro/lib/perl5/5.14.2
    .

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.29   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


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