Re: conflict between Crypto++ 5.6.0 and GNU binutils 2.19.91.20091014-0ubuntu1

2009-10-28 Thread Wei Dai

Cool, it looks like the the bug has been fixed in GAS. Hopefully that will 
get into the Ubuntu release, or into an update shortly after. Let me know if 
I still need to do anything.

--
From: Zooko O'Whielacronx zoo...@gmail.com
Sent: Tuesday, October 27, 2009 7:22 PM
To: Crypto++ Users cryptopp-users@googlegroups.com
Subject: Re: conflict between Crypto++ 5.6.0 and GNU binutils 
2.19.91.20091014-0ubuntu1


 Matthias Klose from the Debian and Ubuntu projects has identified
 which exactly patch to GNU assembler causes the problem:

 http://sourceware.org/bugzilla/show_bug.cgi?id=10856

 
 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Crypto++ Users 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~--~~~~--~~--~--~---



Re: conflict between Crypto++ 5.6.0 and GNU binutils 2.19.91.20091014-0ubuntu1

2009-10-27 Thread Wei Dai

The error is clearly occurring within the SHA256 inline assembly code. But I 
have no idea what the (fairly large) binutil patch is doing. How can we find 
out who submitted the the binutil patch and contact him or her?

I can also look at this in the debugger and see if I can fix it in Crypto++ 
code. Can you either give me a shell account on a machine that can reproduce 
this, or tell me how to reproduce this, starting with a blank VMware 
instance?

Until this is fixed, you can try to work around it by disabling the SHA256 
(or all) assembly code.

--
From: Zooko O'Whielacronx zoo...@gmail.com
Sent: Tuesday, October 27, 2009 8:21 AM
To: Wei Dai wei...@weidai.com
Subject: Re: conflict between Crypto++ 5.6.0 and GNU binutils 
2.19.91.20091014-0ubuntu1

 On Mon, Oct 26, 2009 at 9:08 PM, Wei Dai wei...@weidai.com wrote:
 Link to the bug report?

 Whoops, sorry about that:

 https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/461303
 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Crypto++ Users 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~--~~~~--~~--~--~---



Re: conflict between Crypto++ 5.6.0 and GNU binutils 2.19.91.20091014-0ubuntu1

2009-10-27 Thread zooko

On Oct 27, 9:40 am, Wei Dai wei...@weidai.com wrote:
 The error is clearly occurring within the SHA256 inline assembly code. But I
 have no idea what the (fairly large) binutil patch is doing. How can we find
 out who submitted the the binutil patch and contact him or her?

I've posted to https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/461303
asking that question.  I suppose the patch came from upstream
binutils, i.e. the Ubuntu folks acquired the patch from the binutils
folks, but I'm not sure how to trace its exact provenance.

 I can also look at this in the debugger and see if I can fix it in Crypto++
 code. Can you either give me a shell account on a machine that can reproduce
 this, or tell me how to reproduce this, starting with a blank VMware
 instance?

To reproduce:

Install Ubuntu Karmic Koala (release candidate or final release)
Get the Crypto++ 5.6.0 source code
run make
run cryptest.exe v

 Until this is fixed, you can try to work around it by disabling the SHA256
 (or all) assembly code.

Thanks for the work-around idea.  Maybe I could have my build script
test the version of the GNU assembler and disable ASM if it is the
known-bad version.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Crypto++ Users 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~--~~~~--~~--~--~---



Re: conflict between Crypto++ 5.6.0 and GNU binutils 2.19.91.20091014-0ubuntu1

2009-10-27 Thread Zooko O'Whielacronx

Matthias Klose from the Debian and Ubuntu projects has identified
which exactly patch to GNU assembler causes the problem:

http://sourceware.org/bugzilla/show_bug.cgi?id=10856

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Crypto++ Users 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~--~~~~--~~--~--~---



Re: conflict between Crypto++ 5.6.0 and GNU binutils 2.19.91.20091014-0ubuntu1

2009-10-26 Thread zooko

Oh, I should mention that this issue is known to affect the amd64
platform and it is not known if it affects other platforms.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Crypto++ Users 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~--~~~~--~~--~--~---