libgcrypt-1.7.0/1.6.5/1.6.4 vs. differences in longlong.h

Jussi Kivilinna jussi.kivilinna at iki.fi
Thu Jun 2 09:35:45 CEST 2016


Hello,

On 2016-06-01 23:28, Jan Friedel wrote:
> 
>     Hi,
> 
>     looking at libgcrypt-1.6.5 and libgcrypt-1.7.0, there are
>     significant changes in the mpi/longlong.h which are (?) tough to
>     map to the respective changesets in the libgcrypt git repo.
>     
>     In particular:
> 
> --- 8< ---
> % diff -u ./libgcrypt-1.6.5/mpi/longlong.h
> ./libgcrypt-1.7.0/mpi/longlong.h | ggrep -n -B3 -A3 sparcv8
> 1115-        "rJ" ((USItype)(al)),                                      \
> 1116-        "rI" ((USItype)(bl))                                       \
> 1117-      __CLOBBER_CC)
> 1118:-#if defined (__sparc_v8__) || defined(__sparcv8)
> 1119-+# if defined (__sparc_v8__)
> 1120- /* Don't match immediate range because, 1) it is not often useful,
> 1121-    2) the 'I' flag thinks of the range as a 13 bit signed interval,
> %
> --- 8< ---
>     
>     Compiling version 1.7.0 on a SPARC finishes with a
>     missing/unresolved symbol __udiv_qrnnd during linking.
> 
>     Wouldn't you have any idea why there is the difference in the
>     git repo content vs. longlong.h in the earlier and current
>     versions of libgcrypt (1.6.4, 1.6.5)?

Libgcrypt 1.6.5 has commit "Fix gcc portability on Solaris 9 SPARC
boxes." (d2816248461c24a7ea81a1de2f562f481ccc9edd), which is missing in
1.7.0.


http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=d2816248461c24a7ea81a1de2f562f481ccc9edd

Werner, should this be cherry-picked to 1.7.0 branch?

-Jussi



More information about the Gcrypt-devel mailing list