[openssl-dev] OpenSSL 1.1.0 pre 6: SPARCv9 capability bits problem
Andy Polyakov
appro at openssl.org
Thu Aug 11 11:57:12 UTC 2016
> The following change introduced build problems:
>
>> + if (vec[1]&0x00008) OPENSSL_sparcv9cap_P[0] |= SPARCV9_VIS4;
>
> ... here we use vec[1], so the compiler warns:
>
> crypto/sparcv9cap.c:179:20: warning: array subscript is above array
> bounds [-Warray-bounds]
> if (vec[1]&0x00008) OPENSSL_sparcv9cap_P[0] |= SPARCV9_VIS4;
> ^
Fixed.
> need the following patch to crypto/sparcv9cap.c here (warning "implicit
> declaration of function '_sparcv9_fjaesx_probe'"):
>
> @@ -93,6 +93,7 @@
> void _sparcv9_fmadd_probe(void);
> unsigned long _sparcv9_rdcfr(void);
> void _sparcv9_vis3_probe(void);
> +void _sparcv9_fjaesx_probe(void);
> unsigned long _sparcv9_random(void);
> size_t _sparcv9_vis1_instrument_bus(unsigned int *, size_t);
> size_t _sparcv9_vis1_instrument_bus2(unsigned int *, size_t, size_t);
Being fixed. Thanks for report.
More information about the openssl-dev
mailing list