Wed Jul 13 06:15:08 2011: Request 69357 was acted upon.
Transaction: Correspondence added by [email protected]
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #69357] bug-PAR-Packer
Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=69357 >
El 12/07/2011 15:43, Roderich Schupp via RT escribió:
> <URL: https://rt.cpan.org/Ticket/Display.html?id=69357>
>
> On 2011-07-08 07:30:46, [email protected] wrote:
>> g++ main.o my_par_pl.o win32.coff ...
>> win32.coff: file not recognized: File format not recognized
> Known problem on 64-bit Windows - win32.coff is a 32-bit object.
> I don't have access to a 64-bit Windows box, but I have received
> reports that a 64-bit version of this file may not be necessary at all.
> Please try the following:
>
> - unpack a PAR::Packer tarball
> - change line 107 of myldr/Makefile.PL from
>
> $res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : '';
>
> to
>
> $res = '';
>
> - build and test as usual
>
> perl Makefile.PL
> dmake
> dmake test
>
> If the test succeeds (or there are only a few failures)
> install and try to pack a minimal script
>
> dmake install
> pp -o hello.exe -e "print qq[hello world\n]"
>
> I'm interested in the output of
>
> objdump -h hello.exe
>
> in particular if it lists a resource section (".rsrc")
> (objdump.exe is in E:\prog\strawberry\c\bin).
> Also attach the output of "dmake test" if there were any failures.
>
> Cheers, Roderich
>
>
Thank you.
hello.exe: file format pei-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00004ca0 0000000000401000 0000000000401000 00000400 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000180 0000000000406000 0000000000406000 00005200 2**4
CONTENTS, ALLOC, LOAD, DATA
2 .rdata 00169cc0 0000000000407000 0000000000407000 00005400 2**5
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .bss 000089f0 0000000000571000 0000000000571000 00000000 2**5
ALLOC
4 .idata 00000c98 000000000057a000 000000000057a000 0016f200 2**2
CONTENTS, ALLOC, LOAD, DATA
5 .CRT 00000068 000000000057b000 000000000057b000 00170000 2**3
CONTENTS, ALLOC, LOAD, DATA
6 .tls 00000048 000000000057c000 000000000057c000 00170200 2**5
CONTENTS, ALLOC, LOAD, DATA
g:\par_packer\PAR-Packer-1.009>dmake test
E:\prog\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harnes
s(0, 'inc', 'blib\lib', 'blib\arch')" t/00-pod.t t/10-parl-generation.t t/20-pp.
t t/30-current_exec.t t/40-packer_cd_option.t t/90-rt59710.t
t/00-pod.t ............... skipped: Set environment variable PERL_TEST_POD=1 to
test POD
t/10-parl-generation.t ... ok
t/20-pp.t ................ ok
t/30-current_exec.t ...... # Please wait
t/30-current_exec.t ...... ok
t/40-packer_cd_option.t .. ok
t/90-rt59710.t ........... ok
All tests successful.
Files=6, Tests=74, 846 wallclock secs ( 0.05 usr + 0.01 sys = 0.06 CPU)
Result: PASS