Fri May 30 13:40:24 2014: Request 95417 was acted upon. Transaction: Correspondence added by angan....@intel.com Queue: PAR-Packer Subject: RE: [rt.cpan.org #95417] Perl pp error: Seeking some info Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: angan....@intel.com Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=95417 >
For e.g. attached is the file containing grep of all *intel* strings out of my pp compiled binary. I want to know if there are any dependencies on these paths. For e.g., whether the binary/compiled/packed script will break on some non-Intel environment. And if not, why does it break and give segmentation fault when I search-and-replace all "/usr/intel" within it to "/usr/test" and rerun the script in Intel environment (during my testing)? - Angan -----Original Message----- From: Das, Angan Sent: Friday, May 30, 2014 9:41 AM To: 'bug-par-pac...@rt.cpan.org' Subject: RE: [rt.cpan.org #95417] Perl pp error: Seeking some info Is there any way to pack all the modules/packages also in the compiled script? For e.g., remove all /usr/bin/ kind of dependencies b'cos I see them as strings inside the compiled binary. And when I remove those paths (since it needs to be shipped to an external customer) thru hacky edits, I see a segmentation fault during my run. - Angan -----Original Message----- From: Roderich Schupp via RT [mailto:bug-par-pac...@rt.cpan.org] Sent: Wednesday, May 07, 2014 1:24 PM To: Das, Angan Subject: [rt.cpan.org #95417] Perl pp error: Seeking some info <URL: https://rt.cpan.org/Ticket/Display.html?id=95417 > On 2014-05-07 11:41:43, angan....@intel.com wrote: > > /usr/intel/pkgs/perl/5.14.1/bin/perl -V ... > %ENV: > PERL5LIB="/p/foundry/eda/em64t_SLES10/oascript/v1.0- > 2011.10.19/perl5:/p/foundry/env/lib/perl/1.11/em64t_SLES10/lib:/p/foundry/env/lib/perl/1.11/em64t_SLES10/lib/site_perl:/p/foundry/env/proj_utils/lib/perl" Dunno what's in these trees. Just to rule out any interference, can you please $ unset PERL5LIB # rebuild and check the "hello world" example $ pp -o hello.exe -e 'print "hello world\n"' $ ./hello.exe If this still fails, your installation of PAR::Packer is broken. > Could you give a pointer to the temp file/directory created? The per-user, per-packed-executable temp directory is ${TMPDIR-/tmp}/par-<USER>/<SHA1> Cheers, Roderich
/usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64:/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/CORE:/usr/intel/pkgs/perl/5.14.1/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64:/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/CORE:/usr/intel/pkgs/perl/5.14.1/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/perl/5.14.1/lib64/site_perl/x86_64-linux /usr/intel/pkgs/perl/5.14.1/lib64/site_perl /usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux /usr/intel/pkgs/perl/5.14.1/lib64/5.14.1 /usr/intel/pkgs/perl/5.14.1/lib64/module/default /usr/intel/bin/tcsh #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/Carp.pm" b#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/Carp/Heavy.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/Compress/Zlib.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/Exporter.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/Exporter/Heavy.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/File/Basename.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/File/Copy.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/File/Find.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/File/GlobMapper.pm" M#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/File/Temp.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/FileHandle.pm" O#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Compress/Adapter/Deflate.pm" QW#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Compress/Base.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Compress/Base/Common.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Compress/Gzip.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Compress/Gzip/Constants.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Compress/RawDeflate.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Compress/Zlib/Extra.pm" ##line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Uncompress/Adapter/Inflate.pm" <#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Uncompress/Base.pm" 7#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Uncompress/Gunzip.pm" "&#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/IO/Uncompress/RawInflate.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/PerlIO.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/SelectSaver.pm" {#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/Symbol.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/Time/Local.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/UNIVERSAL.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/XSLoader.pm" \#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/base.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/bytes.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/constant.pm" i#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/feature.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/integer.pm" O#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/overload.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/strict.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/utf8.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/vars.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/warnings.pm" 3#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/warnings/register.pm" 1#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/Config.pm" archlibexp => '/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux', cc => '/usr/intel/pkgs/gcc/4.5.2/bin/gcc', privlibexp => '/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1', scriptdir => '/usr/intel/pkgs/perl/5.14.1/bin', sitearchexp => '/usr/intel/pkgs/perl/5.14.1/lib64/site_perl/x86_64-linux', sitelibexp => '/usr/intel/pkgs/perl/5.14.1/lib64/site_perl', ## Configured by : usrintel archlib='/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux' archlibexp='/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux' bin='/usr/intel/pkgs/perl/5.14.1/bin' binexp='/usr/intel/pkgs/perl/5.14.1/bin' cc='/usr/intel/pkgs/gcc/4.5.2/bin/gcc' ccdlflags='-Wl,-E -Wl,-rpath,/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/CORE' ccflags='-O2 -fPIC -I/usr/intel/pkgs/perl/5.14.1/include -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64 -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' cf_by='usrintel' cf_email='usrin...@plxc8979.pdx.intel.com' config_arg13='-Dcc=/usr/intel/pkgs/gcc/4.5.2/bin/gcc' config_arg14='-Dccflags= -O2 -fPIC -I/usr/intel/pkgs/perl/5.14.1/include -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64' config_arg15='-Dldflags= -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64' config_arg3='-Dprefix=/usr/intel/pkgs/perl/5.14.1' config_arg4='-Dprivlib=/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1' config_arg5='-Dsitelib=/usr/intel/pkgs/perl/5.14.1/lib64/site_perl' config_arg6='-Dotherlibdirs=/usr/intel/pkgs/perl/5.14.1/lib64/module/default' config_arg8='-Dfull_csh=/usr/intel/bin/tcsh' config_arg9='-Dfull_sed=/usr/intel/bin/gsed' config_args='-ds -e -Dprefix=/usr/intel/pkgs/perl/5.14.1 -Dprivlib=/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1 -Dsitelib=/usr/intel/pkgs/perl/5.14.1/lib64/site_perl -Dotherlibdirs=/usr/intel/pkgs/perl/5.14.1/lib64/module/default -Dlibs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -Dfull_csh=/usr/intel/bin/tcsh -Dfull_sed=/usr/intel/bin/gsed -Dlocincpth=/include /include -Dloclibpth= -Duseshrplib -Dcc=/usr/intel/pkgs/gcc/4.5.2/bin/gcc -Dccflags= -O2 -fPIC -I/usr/intel/pkgs/perl/5.14.1/include -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64 -Dldflags= -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64' cppflags='-O2 -fPIC -I/usr/intel/pkgs/perl/5.14.1/include -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64 -fno-strict-aliasing -pipe -fstack-protector' cpprun='/usr/intel/pkgs/gcc/4.5.2/bin/gcc -E' cppstdin='/usr/intel/pkgs/gcc/4.5.2/bin/gcc -E' full_csh='/usr/intel/bin/tcsh' initialinstalllocation='/usr/intel/pkgs/perl/5.14.1/bin' installarchlib='/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux' installbin='/usr/intel/pkgs/perl/5.14.1/bin' installman1dir='/usr/intel/pkgs/perl/5.14.1/man/man1' installman3dir='/usr/intel/pkgs/perl/5.14.1/man/man3' installprefix='/usr/intel/pkgs/perl/5.14.1' installprefixexp='/usr/intel/pkgs/perl/5.14.1' installprivlib='/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1' installscript='/usr/intel/pkgs/perl/5.14.1/bin' installsitearch='/usr/intel/pkgs/perl/5.14.1/lib64/site_perl/x86_64-linux' installsitebin='/usr/intel/pkgs/perl/5.14.1/bin' installsitelib='/usr/intel/pkgs/perl/5.14.1/lib64/site_perl' installsiteman1dir='/usr/intel/pkgs/perl/5.14.1/man/man1' installsiteman3dir='/usr/intel/pkgs/perl/5.14.1/man/man3' installsitescript='/usr/intel/pkgs/perl/5.14.1/bin' ld='/usr/intel/pkgs/gcc/4.5.2/bin/gcc' lddlflags='-shared -O2 -L/usr/intel/pkgs/perl/5.14.1/lib64 -fstack-protector' ldflags=' -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64 -fstack-protector' man1dir='/usr/intel/pkgs/perl/5.14.1/man/man1' man1direxp='/usr/intel/pkgs/perl/5.14.1/man/man1' man3dir='/usr/intel/pkgs/perl/5.14.1/man/man3' man3direxp='/usr/intel/pkgs/perl/5.14.1/man/man3' mydomain='.pdx.intel.com' otherlibdirs='/usr/intel/pkgs/perl/5.14.1/lib64/module/default' pager='/usr/intel/bin/less -R' perl5='/usr/intel/bin/perl' perladmin='usrin...@plxc8979.pdx.intel.com' perlpath='/usr/intel/pkgs/perl/5.14.1/bin/perl' prefix='/usr/intel/pkgs/perl/5.14.1' prefixexp='/usr/intel/pkgs/perl/5.14.1' privlib='/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1' privlibexp='/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1' scriptdir='/usr/intel/pkgs/perl/5.14.1/bin' scriptdirexp='/usr/intel/pkgs/perl/5.14.1/bin' sitearch='/usr/intel/pkgs/perl/5.14.1/lib64/site_perl/x86_64-linux' sitearchexp='/usr/intel/pkgs/perl/5.14.1/lib64/site_perl/x86_64-linux' sitebin='/usr/intel/pkgs/perl/5.14.1/bin' sitebinexp='/usr/intel/pkgs/perl/5.14.1/bin' sitelib='/usr/intel/pkgs/perl/5.14.1/lib64/site_perl' sitelib_stem='/usr/intel/pkgs/perl/5.14.1/lib64/site_perl' sitelibexp='/usr/intel/pkgs/perl/5.14.1/lib64/site_perl' siteman1dir='/usr/intel/pkgs/perl/5.14.1/man/man1' siteman1direxp='/usr/intel/pkgs/perl/5.14.1/man/man1' siteman3dir='/usr/intel/pkgs/perl/5.14.1/man/man3' siteman3direxp='/usr/intel/pkgs/perl/5.14.1/man/man3' siteprefix='/usr/intel/pkgs/perl/5.14.1' siteprefixexp='/usr/intel/pkgs/perl/5.14.1' sitescript='/usr/intel/pkgs/perl/5.14.1/bin' sitescriptexp='/usr/intel/pkgs/perl/5.14.1/bin' startperl='#!/usr/intel/pkgs/perl/5.14.1/bin/perl' yacc='/usr/intel/bin/byacc' ccflags_nolargefiles='-O2 -fPIC -I/usr/intel/pkgs/perl/5.14.1/include -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64 -fno-strict-aliasing -pipe -fstack-protector ' ldflags_nolargefiles=' -L/usr/intel/pkgs/perl/5.14.1/lib64 -Wl,-rpath=/usr/intel/pkgs/perl/5.14.1/lib64 -fstack-protector' Cc#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/Cwd.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/DynaLoader.pm" C#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/Errno.pm" G#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/Fcntl.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/File/Glob.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/File/Spec.pm" {#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/File/Spec/Unix.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/IO.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/IO/File.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/IO/Handle.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/IO/Seekable.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/List/Util.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/PerlIO/scalar.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/Scalar/Util.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/Tie/Hash/NamedCapture.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/attributes.pm" ?#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/5.14.1/x86_64-linux/lib.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR/Dist.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR/Filter.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR/Filter/PatchContent.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR/Filter/PodStrip.pm" ,#line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR/Heavy.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR/SetupProgname.pm" #line 1 "/usr/intel/pkgs/perl/5.14.1/lib64/module/default/PAR/SetupTemp.pm" /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/gcc/4.7.2/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64 /usr/intel/pkgs/gcc/4.5.2/lib:/usr/intel/pkgs/gcc/4.5.2/lib64