Hello,
I've noticed a bug regarding white spaces within the directory name of Perl
binary ($^X) in crypto/x86_64cpuid.pl.
IIRC this does affect older versions of the 1.0 branch too.
Build fails with the following message:
set ASM=nasm -f win64 -DNEAR -Ox -g
perl crypto\x86_64cpuid.pl tmp32dll\x86_64cpuid.asm
'C:\Development\OpenSSL\Build' is not recognized as an internal or external comm
and,
operable program or batch file.
nasm -f win64 -DNEAR -Ox -g -o tmp32dll\x86_64cpuid.obj tmp32dll\x86_64c
puid.asm
nasm: fatal: unable to open input file `tmp32dll\x86_64cpuid.asm'
NMAKE : fatal error U1077: 'nasm' : return code '0x1'
Stop.
I evaluated $^X in x86_64cpuid.pl.
The failing line is line 10:
open STDOUT,"| $^X ${dir}perlasm/x86_64-xlate.pl $flavour $output";
$^X contains the following value on my machine (without the brackets):
"C:\Development\OpenSSL\Build
Tools\strawberry-perl-portable\perl\bin\perl.exe"
Notice the empty space between within the name "Build Tools".
Similar code in the 0.9.8 branch works fine, so I doubt the error is in
x86_64cpuid.pl but somewhere else in the build chain where $^X is set. I am
going to do further checks.
Test Environment:
Win 7 x64
Strawberry Perl 5.12.2
C/ml64 from Microsoft Windows Server 2003 SP1 Platform SDK for x64 (PSDK 2003
AMD64)
Build Commands:
perl configure VC-WIN64A
ms\do_win64a
nmake -f ms\ntdll.mak
Best Regards,
Arvid
Winkelsdorf______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]