[openssl-dev] [openssl.org #3859] [PATCH] Define GCC_VERSION macro to cover upto gcc-5

Andy Polyakov via RT rt at openssl.org
Tue May 26 20:44:40 UTC 2015


Hi,

> Current check is limited to gcc 4 with minor versions
> but when we use gcc 5.1, then minor version check fails
> with current setup and we end up with build errors like
> 
> | In file included from bn_div.c:62:0:
> | bn_div.c: In function 'BN_div':
> | bn_lcl.h:311:9: error: impossible constraint in 'asm'
> |          asm ("dmultu    %2,%3"          \
> |          ^
> | bn_div.c:402:13: note: in expansion of macro 'BN_UMULT_LOHI'
> |              BN_UMULT_LOHI(t2l, t2h, d1, q);
> |              ^
> | <builtin>: recipe for target 'bn_div.o' failed
> | make[2]: *** [bn_div.o] Error 1

Addressed in
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=60c268b21ac81cc6b1af5c5470282a613b96f6fd

Thank you for report.




More information about the openssl-dev mailing list