Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 84949
Status: open
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: andrew.pennebaker [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll
When I try to install PAR::Packer, it crashes with a popup: par.exe - Entry Point Not Found The procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll. OK Trace: $ cpan install PAR::Packer ... Running make test C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B -Oparldyn.exe system(par.exe -IC:\strawberry\cpan\build\PAR-Packer-1.014-qkGdAe\blib\arch -IC:\strawberry\cpan\build\PAR-Packer-1.014-qkGdAe\blib\lib -IC:/strawberry/perl/site/lib -IC:/strawberry/perl/vendor/lib -IC:/strawberry/perl/lib -I. -q -B -Oparldyn.exe) failed: dmake: Error code 255, while making 'parldyn.exe' dmake.exe: Error code 255, while making 'subdirs' RSCHUPP/PAR-Packer-1.014.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports RSCHUPP/PAR-Packer-1.014.tar.gz Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'R/RS/RSCHUPP/PAR-Packer-1.014.tar.gz'. Screenshot: http://i.imgur.com/YNyQPb4.png System: $ specs perl os Specs: specs 0.4 https://github.com/mcandre/specs#readme cpan --version c:\strawberry\perl\bin/cpan version 1.5902 calling Getopt::Std::getopts (version 1.07 [paranoid]), running under Perl version 5.16.2. [Now continuing due to backward compatibility and excessive paranoia. See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.] Nothing to install! perl --version This is perl 5, version 16, subversion 2 (v5.16.2) built for MSWin32-x86-multi-thread Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. systeminfo | findstr /B /C:"OS Name" /C:"OS Version" OS Name: Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 3 Build 2600
Subject: Re: [rt.cpan.org #84949] procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll --> Ref #[1M3qM8D3j408Z2f]
Date: 30 Apr 2013 19:52:05 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: password [...] support.juno.com
Hello, Thank you for contacting Juno. This is an automated response sent to email messages suspected to be spam by our spam filters. This process will help us filter spam messages and respond to genuine customer concerns quickly. We apologize if your email is mistakenly identified as spam. Please reply to this message and one of our support agents will get back to you. Sincerely, Juno Customer Care
Subject: Re: [rt.cpan.org #84949] procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll --> Ref #[1M3qM8D3j408Z2f]
Date: Tue, 30 Apr 2013 17:16:19 -0400
To: bug-PAR-Packer [...] rt.cpan.org
From: Andrew Pennebaker <andrew.pennebaker [...] gmail.com>
Sorry if my ticket looks like spam. I assure you it is not. On Apr 30, 2013 3:52 PM, "password via RT" <bug-PAR-Packer@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84949 > > > Hello, > > Thank you for contacting Juno. > > This is an automated response sent to email messages suspected to be spam > by our spam filters. This process will help us filter spam messages and > respond to genuine customer concerns quickly. > > We apologize if your email is mistakenly identified as spam. Please reply > to this message and one of our support agents will get back to you. > > Sincerely, > > Juno Customer Care > > >
On 2013-04-30 15:51:12, mcandre wrote: Show quoted text
> Trace: > > $ cpan install PAR::Packer > ... > Running make test > C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B > -Oparldyn.exe
... You elided the part that might actually have told me what's going on :( Please post the COMPLETE log of "cpan install PAR::Packer". BTW please disregard the spam from password@support.juno.com (and don't reply to it) - it does NOT originate from rt.cpan.org, but probably from someone subscribed to the mailing list. Cheers, Roderich
Subject: Re: [rt.cpan.org #84949] procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll --> Ref #[1M3rV8F7xT4u12f]
Date: 1 May 2013 19:58:09 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: password [...] support.juno.com
Hello, Thank you for contacting Juno. This is an automated response sent to email messages suspected to be spam by our spam filters. This process will help us filter spam messages and respond to genuine customer concerns quickly. We apologize if your email is mistakenly identified as spam. Please reply to this message and one of our support agents will get back to you. Sincerely, Juno Customer Care
From: andrew.pennebaker [...] gmail.com
Sure thing. The complete log is as follows: apenneba@NIC-WKS01 ~/Desktop $ cpan install PAR::Packer CPAN: CPAN::SQLite loaded ok (v0.202) CPAN: LWP::UserAgent loaded ok (v6.04) CPAN: Time::HiRes loaded ok (v1.9725) Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz CPAN: YAML::XS loaded ok (v0.38) Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Database was generated on Tue, 30 Apr 2013 11:58:00 GMT Updating database file ... Done!Running install for module 'PAR::Packer' Running make for R/RS/RSCHUPP/PAR-Packer-1.014.tar.gz CPAN: Digest::SHA loaded ok (v5.73) CPAN: Compress::Zlib loaded ok (v2.055) Checksum for C:\strawberry\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.014.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.76) CPAN.pm: Building R/RS/RSCHUPP/PAR-Packer-1.014.tar.gz Checking if your kit is complete... Looks good Prototype mismatch: sub main::prompt: none vs ($;$) at c:/strawberry/perl/lib/ExtUtils/MakeMaker.pm line 219. Writing Makefile for par.exe Writing MYMETA.yml and MYMETA.json Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm cp lib/pp.pm blib\lib\pp.pm cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm C:\strawberry\perl\bin\perl.exe par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c C:\strawberry\perl\bin\perl.exe sha1.c.PL gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -I"C:\strawberry\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 main.c main.c: In function 'main': main.c:121:23: warning: assignment discards qualifiers from pointer target type rem windres -i winres\pp.rc -o ppresource.coff --input-format=rc --output-format=coff --target=pe-i386 g++ main.o ppresource.coff -s -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" C:\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\i686-w64-mingw32\lib\libmoldname.a C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry\c\i686-w64-mingw32\lib\libuser32.a C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a C:\strawberry\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry\c\i686-w64-mingw32\lib\libcomdlg32.a C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry\c\i686-w64-mingw32\lib\libole32.a C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\i686-w64-mingw32\lib\libnetapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a C:\strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry\c\i686-w64-mingw32\lib\libmpr.a C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry\c\i686-w64-mingw32\lib\libversion.a C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-mingw32\lib\libcomctl32.a -o par.exe rem C:\strawberry\perl\bin\perl.exe encode_append.pl Dynamic.in par.exe Dynamic.pm C:\strawberry\perl\bin\perl.exe file2c.pl -c 30000 par.exe C:\strawberry\perl\bin\perl516.dll C:\strawberry\perl\bin\libgcc_s_sjlj-1.dll C:\strawberry\perl\bin\libstdc++-6.dll Show quoted text
> boot_embedded_files.c
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -I"C:\strawberry\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 boot.c g++ boot.o -static-libgcc -s -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" C:\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\i686-w64-mingw32\lib\libmoldname.a C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry\c\i686-w64-mingw32\lib\libuser32.a C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a C:\strawberry\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry\c\i686-w64-mingw32\lib\libcomdlg32.a C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry\c\i686-w64-mingw32\lib\libole32.a C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\i686-w64-mingw32\lib\libnetapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a C:\strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry\c\i686-w64-mingw32\lib\libmpr.a C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry\c\i686-w64-mingw32\lib\libversion.a C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-mingw32\lib\libcomctl32.a ppresource.coff -o boot.exe rem C:\strawberry\perl\bin\perl.exe encode_append.pl Static.in boot.exe Static.pm cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm cp Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B -Oparldyn.exe C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- parldyn.exe ..\blib\script\parldyn.exe rem ..\blib\script\parldyn.exe Cannot chmod 755 ..\blib\script\parldyn.exe:No such file or directory at C:/strawberry/perl/lib/ExtUtils/Command.pm line 274. C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl boot.exe -q -B -Oparl.exe C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- parl.exe ..\blib\script\parl.exe rem ..\blib\script\parl.exe Cannot chmod 755 ..\blib\script\parl.exe:No such file or directory at C:/strawberry/perl/lib/ExtUtils/Command.pm line 274. C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp -- script/tkpp blib\script\tkpp pl2bat.bat blib\script\tkpp C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp -- script/pp blib\script\pp pl2bat.bat blib\script\pp C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp -- script/par.pl blib\script\par.pl pl2bat.bat blib\script\par.pl RSCHUPP/PAR-Packer-1.014.tar.gz C:\strawberry\c\bin\dmake.exe -- OK Running make test C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B -Oparldyn.exe system(par.exe -IC:\strawberry\cpan\build\PAR-Packer-1.014-5SzIgJ\blib\arch -IC:\strawberry\cpan\build\PAR-Packer-1.014-5SzIgJ\blib\lib -IC:/strawberry/perl/site/lib -IC:/strawberry/perl/vendor/lib -IC:/strawberry/perl/lib -I. -q -B -Oparldyn.exe) failed: dmake: Error code 255, while making 'parldyn.exe' dmake.exe: Error code 255, while making 'subdirs' RSCHUPP/PAR-Packer-1.014.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports RSCHUPP/PAR-Packer-1.014.tar.gz Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'PAR::Packer'. apenneba@NIC-WKS01 ~/Desktop $
Subject: Re: [rt.cpan.org #84949] procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll --> Ref #[1M3rW5S4Zw00L2f]
Date: 2 May 2013 15:45:12 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: password [...] support.juno.com
Hello, Thank you for contacting Juno. This is an automated response sent to email messages suspected to be spam by our spam filters. This process will help us filter spam messages and respond to genuine customer concerns quickly. We apologize if your email is mistakenly identified as spam. Please reply to this message and one of our support agents will get back to you. Sincerely, Juno Customer Care
On 2013-05-02 11:43:41, mcandre wrote: Show quoted text
> Sure thing. The complete log is as follows:
I think the problem is the following line: Show quoted text
> g++ main.o ppresource.coff -s -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" C:\strawberry\perl\lib\CORE\libperl516.a ...
IMHO this should read ...\libperl516.lib, i.e. suffix ".lib" instead of ".a". I'll try to investigate over the weekend. Cheers, Roderich
Subject: Re: [rt.cpan.org #84949] procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll --> Ref #[1M3rX51wR95KW2f]
Date: 3 May 2013 08:36:40 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: password [...] support.juno.com
Hello, Thank you for contacting Juno. This is an automated response sent to email messages suspected to be spam by our spam filters. This process will help us filter spam messages and respond to genuine customer concerns quickly. We apologize if your email is mistakenly identified as spam. Please reply to this message and one of our support agents will get back to you. Sincerely, Juno Customer Care
Am 2013-05-03 04:35:37, RSCHUPP schrieb: Show quoted text
> I think the problem is the following line:
Nope, wrong suspect. I just tried building PAR::Packer with a clean install of Strawberrry 5.16.3.1 and can't reproduce your problem. Show quoted text
> The procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll.
That is very strange. According too "objdump -ax" my c:/strawberry/perl/bin/libstdc++-6.dll defines this symbol. Please check whether you have several (and different) libstdc++-6.dll's installed on your machine. Cheers, Roderich
Subject: Re: [rt.cpan.org #84949] procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll --> Ref #[1M3rY9X8xQ0232f]
Date: 4 May 2013 14:09:06 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: password [...] support.juno.com
Hello, Thank you for contacting Juno. This is an automated response sent to email messages suspected to be spam by our spam filters. This process will help us filter spam messages and respond to genuine customer concerns quickly. We apologize if your email is mistakenly identified as spam. Please reply to this message and one of our support agents will get back to you. Sincerely, Juno Customer Care
From: andrew.pennebaker [...] gmail.com
Correct, I have several such DLLs on my system. (I use a lot of programming language environments.) $ find /c/ -name libstdc++-6.dll 2>/dev/null /c/DevKit/mingw/bin/libstdc++-6.dll /c/Program Files/GIMP 2/bin/libstdc++-6.dll /c/Program Files/Haskell Platform/2012.4.0.0/mingw/bin/libstdc++-6.dll /c/strawberry/c/bin/libstdc++-6.dll /c/strawberry/perl/bin/libstdc++-6.dll /c/vagrant/vagrant/embedded/mingw/bin/libstdc++-6.dll Haskell Platform appears to be the only one with a different name for this. I'll get in touch with Haskell Cafe and see if they can update this, or at least make it interfere less with other systems. $ find /c/ -name libstdc++-6.dll 2>/dev/null /c/DevKit/mingw/bin/libstdc++-6.dll /c/Program Files/GIMP 2/bin/libstdc++-6.dll /c/Program Files/Haskell Platform/2012.4.0.0/mingw/bin/libstdc++-6.dll /c/strawberry/c/bin/libstdc++-6.dll /c/strawberry/perl/bin/libstdc++-6.dll /c/vagrant/vagrant/embedded/mingw/bin/libstdc++-6.dll $ objdump -ax /c/DevKit/mingw/bin/libstdc++-6.dll | ack gxx_personality [3896] __gxx_personality_sj0 $ objdump -ax /c/Program\ Files/GIMP\ 2/bin/libstdc++-6.dll | ack gxx_personality [3499] __gxx_personality_sj0 $ objdump -ax /c/Program\ Files/Haskell\ Platform/2012.4.0.0/mingw/bin/libstdc++-6.dll | ack gxx_personality [3401] __gxx_personality_v0 $ objdump -ax /c/strawberry/c/bin/libstdc++-6.dll | ack gxx_personality [3510] __gxx_personality_sj0 $ objdump -ax /c/strawberry/perl/bin/libstdc++-6.dll | ack gxx_personality [3510] __gxx_personality_sj0 $ objdump -ax /c/vagrant/vagrant/embedded/mingw/bin/libstdc++-6.dll | ack gxx_personality [3896] __gxx_personality_sj0
Subject: Re: [rt.cpan.org #84949] procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll --> Ref #[1M3rb7I7Ps2St2f]
Date: 7 May 2013 18:17:30 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: password [...] support.juno.com
Hello, Thank you for contacting Juno. This is an automated response sent to email messages suspected to be spam by our spam filters. This process will help us filter spam messages and respond to genuine customer concerns quickly. We apologize if your email is mistakenly identified as spam. Please reply to this message and one of our support agents will get back to you. Sincerely, Juno Customer Care
On 2013-05-07 14:15:59, mcandre wrote: Show quoted text
> Correct, I have several such DLLs on my system. (I use a lot of > programming language environments.)
Show quoted text
> Haskell Platform appears to be the only one with a different name for > this. I'll get in touch with Haskell Cafe and see if they can update > this, or at least make it interfere less with other systems.
libstdc++-6.dll is "packed" into every packed executable (because it's needed by perl516.dll). The line C:\strawberry\perl\bin\perl.exe file2c.pl -c 30000 \ par.exe C:\strawberry\perl\bin\perl516.dll \ C:\strawberry\perl\bin\libgcc_s_sjlj-1.dll \ C:\strawberry\perl\bin\libstdc++-6.dll > boot_embedded_files.c from your log shows that the correct version of libstdc++-6.dll is embedded into boot.exe. But during C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl \ par.exe -q -B -Oparldyn.exe it looks like the version from Haskell Platform is used. It might have been found earlier in PATH - there's no problem with this when running perl.exe, because Windows probably tries the libstdc++-6.dll from the directory containing perl.exe first, but that doesn't help par.exe. Actually, I think this line already fails in the "make" phase, but this error goes unnoticed (dmake problem?), though the output (parldyn.exe) isn't generated. That's why this line is run again for "make test". Cheers, Roderich