Skip Menu |

This queue is for tickets about the Set-Object CPAN distribution.

Report information
The Basics
Id: 84506
Status: rejected
Priority: 0/
Queue: Set-Object

People
Owner: RURBAN [...] cpan.org
Requestors: flazar [...] coverity.com
Cc:
AdminCc:

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



Subject: Set-Object-1.30 Make fails on win7/perl64 visual studio 2010
Date: Mon, 8 Apr 2013 20:25:00 +0000
To: "bug-Set-Object [...] rt.cpan.org" <bug-Set-Object [...] rt.cpan.org>
From: Ferenc Lazar <flazar [...] coverity.com>
Looks like compilation and linking set up for 32 bit, while the target is 64 bit I was trying to run the osmaprender orp.pl. Thank you, Best Regards, Ferenc Lazar | Technical Support Coverity | 185 Berry Street | Suite 6500, Lobby 3 | San Francisco, CA 94107 Office: 415.694.5301 | flazar@coverity.com<mailto:lmann@coverity.com> The Leader in Development Testing C:\Users\flazar>perl -v This is perl, v5.8.9 built for MSWin32-x64-multi-thread (with 9 registered patches, see perl -V for more detail) Copyright 1987-2008, Larry Wall Binary build 825 [288577] provided by ActiveState http://www.ActiveState.com Built Dec 14 2008 13:01:33 C:\Users\flazar>cpan Set::Object Going to read C:\Perl64\cpan\Metadata Database was generated on Mon, 08 Apr 2013 10:41:02 GMT Running install for module 'Set::Object' Running make for R/RU/RURBAN/Set-Object-1.30.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/R/RU/RURBAN/Set-Object-1.30.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/R/RU/RURBAN/CHECKSUMS Checksum for C:\Perl64\cpan\sources\authors\id\R\RU\RURBAN\Set-Object-1.30.tar.gz ok Set-Object-1.30/ Set-Object-1.30/t/ Set-Object-1.30/t/object/ Set-Object-1.30/t/object/flags.t Set-Object-1.30/t/object/SetSubClass.pm Set-Object-1.30/t/object/storable.t Set-Object-1.30/t/object/clear.t Set-Object-1.30/t/object/weakref.t Set-Object-1.30/t/object/difference.t Set-Object-1.30/t/object/Saint.pm Set-Object-1.30/t/object/refcount.t Set-Object-1.30/t/object/includes.t Set-Object-1.30/t/object/union.t Set-Object-1.30/t/object/members.t Set-Object-1.30/t/object/insert.t Set-Object-1.30/t/object/set_subclass.t Set-Object-1.30/t/object/Person.pm Set-Object-1.30/t/object/equal.t Set-Object-1.30/t/object/remove.t Set-Object-1.30/t/object/symmetric_difference.t Set-Object-1.30/t/object/subsuper.t Set-Object-1.30/t/object/abuse.t Set-Object-1.30/t/object/intersection.t Set-Object-1.30/t/object/properties.t Set-Object-1.30/t/misc/ Set-Object-1.30/t/misc/pod.t Set-Object-1.30/t/misc/undef.t Set-Object-1.30/t/misc/more_leaks.t Set-Object-1.30/t/misc/pod_coverage.t Set-Object-1.30/t/misc/segfault.t Set-Object-1.30/t/misc/leaks.t Set-Object-1.30/t/misc/threads.t Set-Object-1.30/t/scalar/ Set-Object-1.30/t/scalar/has.t Set-Object-1.30/t/scalar/unique.t Set-Object-1.30/t/scalar/misc.t Set-Object-1.30/t/scalar/set_set.t Set-Object-1.30/t/scalar/difference.t Set-Object-1.30/t/scalar/clear.t Set-Object-1.30/t/scalar/union.t Set-Object-1.30/t/scalar/member.t Set-Object-1.30/t/scalar/boolean.t Set-Object-1.30/t/scalar/basic.t Set-Object-1.30/t/scalar/intersection.t Set-Object-1.30/t/scalar/each.t Set-Object-1.30/t/scalar/symmdiff.t Set-Object-1.30/t/scalar/storable.t Set-Object-1.30/t/scalar/compare.t Set-Object-1.30/t/scalar/basic_overload.t Set-Object-1.30/t/scalar/custom_display.t Set-Object-1.30/t/ingy/ Set-Object-1.30/t/ingy/arrayref.t Set-Object-1.30/MANIFEST Set-Object-1.30/typemap Set-Object-1.30/Changes.pod Set-Object-1.30/Object.xs Set-Object-1.30/lib/ Set-Object-1.30/lib/Set/ Set-Object-1.30/lib/Set/Object.pm Set-Object-1.30/lib/Set/Object/ Set-Object-1.30/lib/Set/Object/Weak.pm Set-Object-1.30/ppport.h Set-Object-1.30/Makefile.PL Set-Object-1.30/README Set-Object-1.30/META.yml Set-Object-1.30/META.json Set-Object-1.30/SIGNATURE CPAN.pm: Going to build R/RU/RURBAN/Set-Object-1.30.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Set::Object Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/Set/Object.pm blib\lib\Set\Object.pm AutoSplitting blib\lib\Set\Object.pm (blib\lib\auto\Set\Object) cp Changes.pod blib\lib\Set\Changes.pod cp lib/Set/Object/Weak.pm blib\lib\Set\Object\Weak.pm C:\Perl64\bin\perl.exe C:\Perl64\lib\ExtUtils\xsubpp -typemap C:\Perl64\lib\ExtUtils\typemap -typemap typemap Object.xs > Object.xsc && C:\Perl64\bin\perl.exe -MExtUtils::Command - e mv Object.xsc Object.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -Wp64 -fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVL IB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -Ox -GL -Wp64 -fp:precise -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" "-IC:\P erl64\lib\CORE" Object.c cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release Object.c C:\Perl64\lib\CORE\sys/socket.h(32) : warning C4005: 'ENOTSOCK' : macro redefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(120) : see previous definition of 'ENOTSOCK' Object.xs(147) : warning C4267: 'function' : conversion from 'size_t' to 'I32', possible loss of data Object.xs(148) : warning C4267: 'function' : conversion from 'size_t' to 'I32', possible loss of data Object.xs(186) : warning C4267: 'function' : conversion from 'size_t' to 'I32', possible loss of data Object.xs(204) : warning C4267: 'function' : conversion from 'size_t' to 'I32', possible loss of data Object.xs(230) : warning C4244: '=' : conversion from 'UV' to 'I32', possible loss of data Object.xs(279) : warning C4244: 'initializing' : conversion from 'UV' to 'I32', possible loss of data Object.xs(294) : warning C4244: '=' : conversion from '__w64 int' to 'I32', possible loss of data Object.xs(380) : warning C4244: 'initializing' : conversion from '__int64' to 'I32', possible loss of data Object.xs(454) : warning C4244: 'initializing' : conversion from '__int64' to 'I32', possible loss of data Object.xs(512) : warning C4244: '=' : conversion from '__int64' to 'I32', possible loss of data Object.xs(489) : warning C4101: 'l' : unreferenced local variable Object.xs(566) : warning C4244: '=' : conversion from 'UV' to 'I32', possible loss of data Object.xs(685) : warning C4101: 'bucket' : unreferenced local variable Object.xs(684) : warning C4101: 'el_iter' : unreferenced local variable Object.xs(683) : warning C4101: 'index' : unreferenced local variable Object.xs(684) : warning C4101: 'el_out_iter' : unreferenced local variable Object.xs(684) : warning C4101: 'el_last' : unreferenced local variable Object.xs(683) : warning C4101: 'hash' : unreferenced local variable Object.xs(718) : warning C4244: '=' : conversion from 'IV' to 'int', possible loss of data Object.xs(776) : warning C4244: '=' : conversion from 'UV' to 'I32', possible loss of data Object.xs(1107) : warning C4244: '=' : conversion from 'IV' to 'int', possible loss of data Object.xs(1117) : warning C4244: '=' : conversion from 'IV' to 'int', possible loss of data Running Mkbootstrap for Set::Object () C:\Perl64\bin\perl.exe -MExtUtils::Command -e chmod 644 Object.bs C:\Perl64\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Set::Object\", 'DLBASE' => 'Object', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []) ;" link -out:blib\arch\auto\Set\Object\Object.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -ltcg -libpath:"C:\Perl64\lib\CORE" -machine:AMD64 Object.obj C:\Perl64\lib\CORE\per l58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version .lib odbc32.lib odbccp32.lib bufferoverflowU.lib msvcrt.lib -def:Object.def Object.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x458' Stop. RURBAN/Set-Object-1.30.tar.gz nmake -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

Message body is not shown because it is too large.

On Mon Apr 08 16:25:50 2013, flazar@coverity.com wrote: Show quoted text
> Looks like compilation and linking set up for 32 bit, while the target > is 64 bit
I'm afraid but this looks like a broken activestate perl configuration. Set-Object doesn't interfere in any way with the original ccflags or linkflags. Do other XS modules compile at all? I'll try on a win64 machine later. Maybe I can find a patch. cygwin64 with gcc and a 64bit perl works fine. Show quoted text
> cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -Wp64 > -fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 > -DCONSERVATIVE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVL > IB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS > -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -Ox -GL -Wp64 > -fp:precise -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" "-IC:\P > erl64\lib\CORE" Object.c > cl : Command line warning D9035 : option 'Wp64' has been deprecated > and will be removed in a future release > cl : Command line warning D9035 : option 'Wp64' has been deprecated > and will be removed in a future release > Object.c > link -out:blib\arch\auto\Set\Object\Object.dll -dll -nologo > -nodefaultlib -debug -opt:ref,icf -ltcg -libpath:"C:\Perl64\lib\CORE" > -machine:AMD64 Object.obj C:\Perl64\lib\CORE\per > l58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib > comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib > netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version > .lib odbc32.lib odbccp32.lib bufferoverflowU.lib msvcrt.lib > -def:Object.def > Object.obj : fatal error LNK1112: module machine type 'X86' conflicts > with target machine type 'x64' > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
-- Reini Urban