Yes, indeed, win32 asm (both nasm + masm) are broken in
openssl-0.9.7-stable-SNAP-20021213. 

Nasm gives:
===========
[NASM version 0.98.35 compiled on Oct 28 2002]

        nasmw -f win32 -o crypto\des\asm\d_win32.obj .\crypto\des\asm\d_win32.asm
.\crypto\des\asm\d_win32.asm:60: error: expression syntax error
.\crypto\des\asm\d_win32.asm:1088: error: expression syntax error
NMAKE : fatal error U1077: 'nasmw' : return code '0x1'
Stop.

The offending lines are both:
    lea ebp, [_DES_SPtrans+]

Masm gives:
===========

Microsoft (R) Macro Assembler Version 6.11d
Copyright (C) Microsoft Corp 1981-1995.  All rights reserved.

 Assembling: .\crypto\des\asm\d_win32.asm
.\crypto\des\asm\d_win32.asm(63) : error A2016: expression expected
.\crypto\des\asm\d_win32.asm(1095) : error A2016: expression expected
.\crypto\des\asm\d_win32.asm(2373) : error A2006: undefined symbol :
_$L008PIC_point
.\crypto\des\asm\d_win32.asm(2376) : error A2032: invalid use of register
.\crypto\des\asm\d_win32.asm(2555) : error A2006: undefined symbol :
_$L032PIC_point
.\crypto\des\asm\d_win32.asm(2558) : error A2032: invalid use of register
NMAKE : fatal error U1077: 'ml' : return code '0x1'
Stop.

Apparently it doesn't like the $'s.  I also tried Masm 6.15 with the same
results.

(For completeness' sake, the ms\do_ms.bat configuration builds and tests
fine.)

Openssl-0.9.7-stable-SNAP-20021212 builds fine for do_nasm, do_masm and
do_ms.

If someone makes a patch I can try again on Monday.

-Nathan



Richard Levitte - VMS Whacker wrote:
> 
> It will be available tomorrow.
> 
> The crucial thing to test is that things are still working properly in
> Windows, especially the DES assembler modules.  They been changed to
> generate PIC code on Unix, and it's important that we get tests on how
> that affects Windows, if it does.
> 
> --
> Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
> Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
>                     \      SWEDEN       \ or +46-708-26 53 44
> Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
> Member of the OpenSSL development team: http://www.openssl.org/
> 
> Unsolicited commercial email is subject to an archival fee of $400.
> See <http://www.stacken.kth.se/~levitte/mail/> for more info.
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to