On 01/20/2013 02:55 PM, Bruce Cran via RT wrote:
We've been having regular build problems on Windows (with OpenSSL 1.0.0c, 
though it looks like the problem also exists in git head from 2013-01-10): 
sometimes nasm claims there are unresolved symbols. For example:

I suspect the problem is line 10 of x86_64cpuid.pl (this is one instance - the 
style is repeated in several files):

open STDOUT,"| \"$^X\" $xlate $flavour $output";

On Windows pipes work differently than on Unix, so I think the script is 
quitting before the pipe gets run.

Someone reported the same problem on the nasm mailing list a couple of years 
ago: 
http://old.nabble.com/nasm-intermittently-fails-to-assemble-a-file-td29947144.html
 :



I was able to fix the issue by using cygwin's sync util.
After each perl ... asm, I call sync and that does the trick.
Actually I just made a simple batch file named syncperl.bat with
@echo off
perl %*
sync

... and then I call nmake -f .... PERL=syncperl

Perhaps using STDOUT->autosync (or something) would help,
but I'm not an perl expert.


Regards
--
^TM
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to