On Thu Nov 18 04:38:06 2010, RSCHUPP wrote:
Show quoted text> So we've to find out what caused the discrepancy libperl.so.5.8
> vs libperl.so.5.8.8 (and perhaps improve PAR::Packer's build process
> to avoid that). Can you please post the output of
>
> perl -V
[coctic@t60-2 ~]$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8 patch 33449)
configuration:
Platform:
osname=linux, osvers=2.6.18-ovz-smp-alt24,
archname=x86_64-linux-thread-multi
uname='linux apiary.rio.altlinux.org 2.6.18-ovz-smp-alt24 #1 smp tue
may 6 19:11:08 msd 2008 x86_64 gnulinux '
config_args='-de -rs -Darchname=x86_64-linux -Dd_dosuid -Ud_csh
-Dlibswanted=dl m c crypt db ndbm gdbm -Duseshrplib
-Dlibperl=libperl.so.5.8 -Dcc=gcc -Doptimize=-pipe -Wall -O2
-D_GNU_SOURCE -Dcccdlflags=-fPIC -DPIC -Dccdlflags=-rdynamic -Wl,-O1
-Dlddlflags=-shared -Wl,-O1 -Dldflags=-Wl,-O1 -Dprefix=/usr
-Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/x86_64-linux
-Dvendorprefix=/usr -Dvendorlib=/usr/lib/perl5/vendor_perl
-Dvendorarch=/usr/lib/perl5/vendor_perl/x86_64-linux
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
-Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux
-Dsiteman1dir=/usr/local/man/man1 -Dsite_man3dir=/usr/local/man/man3
-Dman1ext=1 -Dman3ext=3pm -Dcf_by=ALT Linux Team -Dcf_email=Alexey
Tourbin <at@altlinux.ru> -Dmyhostname=localhost
-Dperladmin=root@localhost -Dmyuname=Linux 2.6.18-ovz-smp-alt24 x86_64
-Dnewmyuname=Linux 2.6.18-ovz-smp-alt24 x86_64
-Dinc_version_list=5.8.7/x86_64-linux 5.8.6/x86_64-linux
5.8.5/x86_64-linux 5.8.4/x86_64-linux 5.8.3/x86_64-linux
5.8.2/x86_64-linux 5.8.1/x86_64-linux 5.8.0/x86_64-linux 5.8.7 5.8.6
5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Dpager=/usr/bin/less
-isR -Di_shadow -Di_syslog -Dusethreads -Duseithreads -Duselargefiles
-Di_db -Di_gdbm -Di_ndbm -Di_sdbm -Ui_odbm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-pipe -Wall -O2 -D_GNU_SOURCE',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.1.2 20070626 (ALT Linux, build
4.1.2-alt2)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
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='gcc', ldflags ='-Wl,-O1 -L/usr/local/lib64 -L/usr/local/lib'
libpth=/usr/local/lib64 /usr/local/lib /lib64 /usr/lib64 /lib /usr/lib
libs=-ldl -lm -lpthread -lc -lcrypt -ldb -lgdbm
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib64/libc-2.5.1.so, so=so, useshrplib=true,
libperl=libperl.so.5.8
gnulibc_version='2.5.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-O1'
cccdlflags='-fPIC -DPIC', lddlflags='-shared -Wl,-O1
-L/usr/local/lib64 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
THREADS_HAVE_PIDS USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_REENTRANT_API
Locally applied patches:
MAINT33449
ALT Linux patches
Built under linux
Compiled at Sep 7 2008 16:38:34
%ENV:
PERL5LIB="/home/coctic/perl/lib/perl5/site_perl/:/home/coctic/perl/lib/perl5/site_perl/5.8.8/:/home/coctic/modules/lib/perl5/:/home/coctic/modules/lib/perl5/x86_64-linux-thread-multi/"
@INC:
/home/coctic/perl/lib/perl5/site_perl//5.8.8
/home/coctic/perl/lib/perl5/site_perl/
/home/coctic/perl/lib/perl5/site_perl/5.8.8/
/home/coctic/modules/lib/perl5//x86_64-linux-thread-multi
/home/coctic/modules/lib/perl5/
/home/coctic/modules/lib/perl5/x86_64-linux-thread-multi/
/etc/perl5
/usr/lib/perl5/x86_64-linux
/usr/lib/perl5
/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/x86_64-linux
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl
.
Show quoted text> (on the machine where you built PAR::Packer)?
> IIRC I've seen similar before - are you running CentOS?
It is not CentOS, it is AltLinux, special version for high performance
clusters. I am not sure if it has connections with CentOS.
Show quoted text> Note: Your workaround confirms that the problem is indeed caused by
> the "wrong" libperl.so, but it won't work in general as the
> cache area is specific to the user and also specific to
> the packed executable (the long checksum in the cache area name
> is approximately the SHA1 of the executable itself).
I understand it, and I would definitely prefer the bug to be fixed
somehow, and I am ready to do my best for it.