[parsec-users] Problems building DEDUP in Parsec-2.1

Yungang Bao ybao at CS.Princeton.EDU
Thu Mar 8 09:31:28 EST 2012

Hi Akshatha,

I think you are probably using this patch:
@@ -187,7 +187,7 @@ sub BODY_40_59 {
my ($i,$a,$b,$c,$d,$e,$f)=@_;
my $j=$i+1;
- lea 0x8f1bbcdc($xi,$e),$f
+ lea -0x70e44324($xi,$e),$f
mov `4*($j%16)`(%rsp),$xi
mov $b,$t0
mov $b,$t1

Actually the line number is wrong. There are two ways to fix it:

1) You can manually fix the patch. Open the file "pkgs/libs/ssl/src/crypto/sha/asm/ sha1-x86_64.pl" and go to line 183 (not line 187), then replace "lea 0x8f1bbcdc($xi,$e),$f" with "lea -0x70e44324($xi,$e),$f".

2) Just replace "187" with "183" in your patch file, and run the patch again.

Best Regards,

----- Original Message -----
From: "Akshatha mulki Bhat" <fdm546 at my.utsa.edu>
To: parsec-users at lists.cs.princeton.edu
Sent: Wednesday, March 7, 2012 11:19:10 PM
Subject: [parsec-users] Problems building DEDUP in Parsec-2.1


I have installed PARSEC 2.1 and I am having troubles building DEDUP benchmark. 
I have the same problem as in the following thread posted OCT'11, "Trouble building dedup" 
I tried to apply the patches specified in that thread, but the second patch for SHA1 fails with following error: 

patching file pkgs/libs/ssl/src/crypto/sha/asm/ sha1-x86_64.pl 
Hunk #1 succeeded at 143 with fuzz 2 (offset -7 lines). 
Hunk #2 FAILED at 187. 
1 out of 2 hunks FAILED -- saving rejects to file pkgs/libs/ssl/src/crypto/sha/asm/sha1-x86_64.pl.rej 

Please help me out with this. 


parsec-users mailing list
parsec-users at lists.cs.princeton.edu

More information about the parsec-users mailing list