diff options
-rw-r--r-- | README | 12 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | cipher/cipher.c | 2 | ||||
-rw-r--r-- | src/ChangeLog | 6 | ||||
-rw-r--r-- | src/hwfeatures.c | 2 |
5 files changed, 14 insertions, 9 deletions
@@ -192,13 +192,6 @@ make. Try gmake or grab the sources from a GNU archive and install them. - If you are cross-compiling and you get an error either building a - tool called "yat2m" or running that tool, the problem is most - likely a bad or missing native compiler. We require a standard - C-89 compiler to produce an executable to be run on the build - platform. You can explicitly set such a compiler with configure - arguments. On HP/UX you might want to try: "CC_FOR_BUILD=c89". - Specific problems on some machines: * IBM RS/6000 running AIX @@ -216,6 +209,11 @@ ./configure ac_cv_sys_symbol_underscore=yes + * Sparc64 CPUs + + We have reports about failures in the AES module when + compiling using gcc (e.g. version 4.1.2) and the option -O3; + using -O2 solves the problem. License @@ -7,6 +7,7 @@ Allan Clark allanc@sco.com Anand Kumria wildfire@progsoc.uts.edu.au Andreas Metzler ametzler at downhill.at.eu.org Ariel T Glenn ariel@columbia.edu +Ben Hutchings ben decadent org uk Bodo Moeller Bodo_Moeller@public.uni-hamburg.de Brenno de Winter brenno@dewinter.com Brian Moore bem@cmc.net diff --git a/cipher/cipher.c b/cipher/cipher.c index 2c33ee94..6d97c194 100644 --- a/cipher/cipher.c +++ b/cipher/cipher.c @@ -1394,7 +1394,7 @@ do_ctr_decrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, /**************** * Encrypt INBUF to OUTBUF with the mode selected at open. * inbuf and outbuf may overlap or be the same. - * Depending on the mode some contraints apply to NBYTES. + * Depending on the mode some constraints apply to NBYTES. */ static gcry_err_code_t cipher_encrypt (gcry_cipher_hd_t c, byte *outbuf, diff --git a/src/ChangeLog b/src/ChangeLog index 6b22caf8..a45f93fc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2009-11-29 Werner Koch <wk@g10code.com> + + * hwfeatures.c (detect_ia32_gnuc): Repalce "=r" by "+r" so that + HAS-CPUDID is always initialized. Thanks to Ben Hutchings for + pointing out this problem. + 2009-08-05 Werner Koch <wk@g10code.com> * ath.h: Include sys/msg.h. diff --git a/src/hwfeatures.c b/src/hwfeatures.c index 2621305b..97442dba 100644 --- a/src/hwfeatures.c +++ b/src/hwfeatures.c @@ -67,7 +67,7 @@ detect_ia32_gnuc (void) "jz .Lno_cpuid%=\n\t" /* Toggling did not work, thus no CPUID. */ "movl $1, %0\n" /* Worked. true -> HAS_CPUID. */ ".Lno_cpuid%=:\n\t" - : "=r" (has_cpuid) + : "+r" (has_cpuid) : : "%eax", "%ecx", "cc" ); |