On Sat, Mar 17, 2012 at 05:21:47PM +0100, Andy Polyakov via RT wrote: > > modexp512-x86_64.s ends here: > > | # > > | # X2 = Xh * M2 + Xl > > | # do first part (X2 = Xh * M2) > > | addq $80,%rdi# rdi -> pXh ; 128 bits, 2 qwords > > | # Xh is actually { [rdi+8*1], rbp } > > | addq $64,%rsi# rsi -> M2 > > | leaq 296(%rsp),%rcx# rcx -> pX2 ; 641 bits, 11 qwords > > I can't reproduce this, i.e. I can't confirm that modexp512-x86_64.s > comes out truncated. > > > When generating the file perl also throws this error: > > Can't locate object method "size" via package "expr" at > > ./crypto/bn/asm/../../perlasm/x86_64-xlate.pl line 831, <> line 436. > > "expr" does not have "size" method and shouldn't have... Double-check > that your copy of modexp512-x86_64.pl and x86_64-xlate.pl are pristine.
Ok, So the problem is that I had this patch: --- openssl-1.0.1.orig/crypto/perlasm/x86_64-xlate.pl +++ openssl-1.0.1/crypto/perlasm/x86_64-xlate.pl @@ -786,7 +786,7 @@ chomp($line); - $line =~ s|[#!].*$||; # get rid of asm-style comments... +# $line =~ s|[#!].*$||; # get rid of asm-style comments... $line =~ s|/\*.*\*/||; # ... and C-style comments... $line =~ s|^\s+||; # ... and skip white spaces in beginning If I remember right, this was needed to be able to use preprocessor commands in the .S files. (The file was also renamed from .s to .S) But I don't need that anymore, so I removed that patch, and you can close this. Kurt ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org