Subject: | Error building on Strawberry 5.12.0.1 64-bit (win32.coff file format not recognized) |
(5.12.0.1 is the version where the libperl511.a/perl512.dll mismatch got
resolved, I was hoping that PAR::Packer would finally build once that
was fixed. Guess not. It's being uploaded right now, should be available
within 8 hours, I hope.)
Note that the 32-bit version of this compiler understands win32.coff
just fine, the failure seems to be later on there.
I'm thinking we may need a win32-64bit.coff or something... Is there
anything else I can do to help you fix this?
CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.004.tar.gz
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/StrippedPARL/Dynamic.pm blib\lib\PAR\StrippedPARL\Dynamic.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
cp lib/PAR/StrippedPARL/Static.pm blib\lib\PAR\StrippedPARL\Static.pm
C:\strawberry\perl\bin\perl.exe sha1.c.PL sha1.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLI
CIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX
-I"C:\strawberry\perl\lib\CORE" -DPARL_EXE=\"parl.ex
e\" -s -O2 sha1.c
sha1.c: In function 'sha_transform':
sha1.c:146: warning: right shift count >= width of type
C:\strawberry\perl\bin\perl.exe file2c.pl
C:\strawberry\perl\bin\perl512.dll my_perl.c load_me_0 1 30000
dmake: Warning: -- Found file corresponding to virtual target [mktmpdir.h].
dmake: Warning: -- Found file corresponding to virtual target [mktmpdir.c].
dmake: Warning: -- Found file corresponding to virtual target [main.c].
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLI
CIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX
-I"C:\strawberry\perl\lib\CORE" -DPARL_EXE=\"parl.ex
e\" -s -O2 main.c
C:\strawberry\perl\bin\perl.exe file2c.pl ..\script\par.pl my_par_pl.c
load_me_2 1
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLI
CIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX
-I"C:\strawberry\perl\lib\CORE" -DPARL_EXE=\"parl.ex
e\" -s -O2 my_par_pl.c
g++ main.o my_par_pl.o win32.coff -s -s
-L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"
C:\strawberry\perl\li
b\CORE\libperl512.a C:\strawberry\c\x86_64-w64-mingw32\lib\libmoldname.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libkerne
l32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libuser32.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libgdi32.a C:\strawberry
\c\x86_64-w64-mingw32\lib\libwinspool.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libcomdlg32.a
C:\strawberry\c\x86_64-w64-
mingw32\lib\libadvapi32.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libshell32.a
C:\strawberry\c\x86_64-w64-mingw32\lib\lib
ole32.a C:\strawberry\c\x86_64-w64-mingw32\lib\liboleaut32.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libnetapi32.a C:\str
awberry\c\x86_64-w64-mingw32\lib\libuuid.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libws2_32.a
C:\strawberry\c\x86_64-w64
-mingw32\lib\libmpr.a C:\strawberry\c\x86_64-w64-mingw32\lib\libwinmm.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libversio
n.a C:\strawberry\c\x86_64-w64-mingw32\lib\libodbc32.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libodbccp32.a C:\strawberr
y\c\x86_64-w64-mingw32\lib\libcomctl32.a -o par.exe
win32.coff: file not recognized: File format not recognized
collect2: ld returned 1 exit status
dmake: Error code 129, while making 'par.exe'
dmake.EXE: Error code 255, while making 'subdirs'
RSCHUPP/PAR-Packer-1.004.tar.gz
C:\strawberry\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
C:\Users\Curtis>perl -V
Summary of my perl5 (revision 5 version 12 subversion 0) configuration:
Platform:
osname=MSWin32, osvers=6.1, archname=MSWin32-x64-multi-thread
uname='Win32 strawberryperl 5.12.0.1 #1 Thu May 6 16:10:36 2010 x64'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64
-DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CO
NTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVCRT_READFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.4.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long
long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE"
-L"C:\strawberry\c\lib"'
libpth=C:\strawberry\c\lib C:\strawberry\c\x86_64-w64-mingw32\lib
libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32
-luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lneta
pi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl512.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE"
-L"C:\strawberry\c\lib"'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
USE_SITECUSTOMIZE
Built under MSWin32
Compiled at May 6 2010 16:19:55
@INC:
C:/strawberry/perl/site/lib
C:/strawberry/perl/vendor/lib
C:/strawberry/perl/lib
.
C:\Users\Curtis>gcc -v
Using built-in specs.
Target: x86_64-w64-mingw32
Configured with: ../gcc44-svn/configure --target=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --disable-multilib --disab
le-nls --disable-win32-registry --prefix=/mingw64 --with-gmp=/mingw64
--with-mpfr=/mingw64 --enable-languages=c,c++
Thread model: win32
gcc version 4.4.3 (GCC)