[ nasm-Bugs-2873489 ] NASM crashes when building x64 .obj file

View: New views
1 Messages — Rating Filter:   Alert me  

[ nasm-Bugs-2873489 ] NASM crashes when building x64 .obj file

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2873489, was opened at 2009-10-06 07:26
Message generated for change (Comment added) made by hpa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106208&aid=2873489&group_id=6208

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Assembler
Group: None
Status: Closed
Resolution: None
Priority: 9
Private: No
Submitted By: Barry (barrydrink)
Assigned to: Nobody/Anonymous (nobody)
Summary: NASM crashes when building x64 .obj file

Initial Comment:
I have been trying to convert TrueCrypt to use solely NASM - a fresh download uses both NASM and YASM. However, NASM crashes when assembling the Aes_x64.asm file.

Steps to reproduce:
1 - download the attached file
2 - alter YASM instructions to NASM equivalents; change line  719 from:
    lea tptr,[enc_tab wrt rip]
to:
    lea tptr,[rel enc_tab]
and line 833 from:
    lea tptr,[dec_tab wrt rip]
to:
    lea tptr,[rel dec_tab]
3 - execute nasm.exe -Xvc -f win64 -d DLL_EXPORT -o Aes_x64.obj Aes_x64.asm. NASM will crash

To avoid the crash, comment out line 675:
    export  aes_encrypt
or remove -d DLL_EXPORT from the command line.

NASM version - 2.07
OS - WinXP SP3

Thanks,
Barry

----------------------------------------------------------------------

>Comment By: H. Peter Anvin (hpa)
Date: 2009-10-13 11:50

Message:
See bug report 2827397 for details on the bug.


----------------------------------------------------------------------

Comment By: H. Peter Anvin (hpa)
Date: 2009-10-13 11:50

Message:
Nevermind.  I was able to reproduce this, and this is, indeed, explicitly
fixed by checkin 7ad24562dccca867d9ba591ac7dd242456003c5b.  So this is, of
course, a real bug, but it has been fixed already.

I guess it is time for 2.08-rc1 soon...


----------------------------------------------------------------------

Comment By: H. Peter Anvin (hpa)
Date: 2009-10-13 11:50

Message:
The current version doesn't appear to have this problem.  You may want to
try the latest release version and/or the latest snapshot from
http://www.nasm.us/.



----------------------------------------------------------------------

Comment By: H. Peter Anvin (hpa)
Date: 2009-10-13 11:43

Message:
This does not seem to happen with the latest snapshot build, could you
please confirm that?

That may just be hiding the error, though -- I don't see anything in the
history which is likely to be a fix for this problem...

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106208&aid=2873489&group_id=6208

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-bugs mailing list
Nasm-bugs@...
https://lists.sourceforge.net/lists/listinfo/nasm-bugs