Tue Mar 08 20:35:08 2011: Request 55660 was acted upon.
Transaction: Correspondence added by Oesor
       Queue: Win32-API
     Subject: [PATCH] Partial win64 support for Win32::API
   Broken in: (no value)
    Severity: (no value)
       Owner: COSIMO
  Requestors: r...@cpan.org, sbenn...@accelrys.com, steven.ba...@amd.com
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=55660 >


On Tue Mar 08 20:33:47 2011, Oesor wrote:
> On Wed Mar 02 21:13:14 2011, COSIMO wrote:
> > On Wed Mar 02 17:44:18 2011, dandv wrote:
> >
> > > Any chance to push v0.60? I'm trying to install Padre, which
> depends
> > on Win32::API
> > > I seem to have the same error with "operands invalid for 'push'"
> (log
> > attached).
> >
> > Hi there,
> >
> > does the current github version work for you?
> >
> >   http://github.com/cosimo/perl5-win32-api/
> >
> > That would be pushed as 0.60, but several problems have been
> reported
> > already, last one by Jan Dubois. You can read about it in this same
> > ticket history.
> 
> I've pulled the latest ver. It builds, but perl crashes running tests:
> 
> C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-api-
> 6ec0306>dmake
> Skip blib\lib\Win32/API/Type.pm (unchanged)
> Skip blib\lib\Win32/API/Test.pm (unchanged)
> Skip blib\lib\Win32/API/Struct.pm (unchanged)
> Skip blib\lib\Win32/API.pm (unchanged)
> gcc -c          -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64
> -DCONSERVATIVE
> -DUSE_SITECUSTOMIZE -DPERL_I
> MPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
> -mms-bitfields
> -DPERL_MSVCRT_READFIX -s -O2
>           -DVERSION=\"0.60_64\"         -DXS_VERSION=\"0.60_64\"
> "-IC:\strawberry\perl\lib\CORE"
> API.c
> as  call_asm_x64_gnu.s -o call_asm_x64_gnu.o
> Running Mkbootstrap for Win32::API ()
> C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
> API.bs
> dlltool --def API.def --output-exp dll.exp
> g++ -o blib\arch\auto\Win32\API\API.dll -Wl,--base-file -Wl,dll.base
> -mdll -s -L"C:\strawberry\perl\
> lib\CORE" -L"C:\strawberry\c\lib" API.o call_asm_x64_gnu.o
> -Wl,--image-base,0x253c0000  C:\strawberr
> y\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32
> -lwinspool -lcomdlg32 -ladvapi32
>  -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
> -lversion -lodbc32 -lodbccp32
>  -lcomctl32 dll.exp
> dlltool --def API.def --base-file dll.base --output-exp dll.exp
> g++ -o blib\arch\auto\Win32\API\API.dll -mdll -s
> -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\
> lib" API.o call_asm_x64_gnu.o -Wl,--image-base,0x253c0000
> C:\strawberry\perl\lib\CORE\libperl512.a
> -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
> -ladvapi32
> -lshell32 -lole32 -loleaut32
>  -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32
> -lodbccp32
> -lcomctl32 dll.exp
> C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755
> blib\arch\auto\Win32\API\API.d
> ll
> C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- API.bs
> blib\arch\auto\Win32\API\API.b
> s
> C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
> blib\arch\auto\Win32\API\API.b
> s
> 
> C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-api-
> 6ec0306>dmake
> test
> C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib\lib', 'blib\ar
> ch')" t/*.t
> t/00_API.t .......... 1/25 # API test dll found at (API_test64.dll)
> Argument "japh" isn't numeric in pack at
> C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-
> api-6ec0306\blib\lib/Win32/API/Type.pm line 211.
> t/00_API.t .......... ok
> t/01_Struct.t ....... 1/7 # $^E=
> t/01_Struct.t ....... ok
> t/02_GetProcess.t ... 1/3 # $result=5080
> # $$=5080
> t/02_GetProcess.t ... ok
> t/03_undef.t ........ # Win32::API 0.60_64
> t/03_undef.t ........ 1/3 # Import: The handle is invalid
> 
> 
> Faulting application name: perl.exe, version: 0.0.0.0, time stamp:
> 0x4c5228ad
> Faulting module name: API.dll, version: 0.0.0.0, time stamp:
> 0x4d76d74e
> Exception code: 0xc0000005
> Fault offset: 0x0000000000002f06
> Faulting process id: 0x10dc
> Faulting application start time: 0x01cbddf90c7dbc0e
> Faulting application path: C:\STRAWB~1\perl\bin\perl.exe
> Faulting module path:
> C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-api-
> 6ec0306\blib\arch\auto\Win32\API\API.dll
> Report Id: 4b551f57-49ec-11e0-9979-005056c00008
> 
> 

oh, heh, this is mentioned above as well.


Reply via email to