diff options
author | Hans-Peter Jansen <hpj@urpla.net> | 2019-10-02 21:25:10 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-02 21:25:10 +0200 |
commit | 0d91dab5b989f7d184c43b9468d17d5c5c0a756d (patch) | |
tree | 32731a855e8d9c45060895c44f7759a63181656a /src/Common/Xml.c | |
parent | e211749c7cb4bc53cf08bf5ffd8735ee633b4606 (diff) | |
download | VeraCrypt-0d91dab5b989f7d184c43b9468d17d5c5c0a756d.tar.gz VeraCrypt-0d91dab5b989f7d184c43b9468d17d5c5c0a756d.zip |
Align section types of Whirlpool_C and SHA256_K (#479)
in order to fix LTO linking.
After switching to LTO for openSUSE Tumbleweed, veracrypt build failed with:
[ 185s] ../Crypto/Whirlpool.c:105:45: error: 'Whirlpool_C' causes a section type conflict with 'SHA256_K'
[ 185s] 105 | CRYPTOPP_ALIGN_DATA(16) static const uint64 Whirlpool_C[8*256+R] CRYPTOPP_SECTION_ALIGN16 = {
[ 185s] | ^
[ 185s] ../Crypto/Sha2.c:321:34: note: 'SHA256_K' was declared here
[ 185s] 321 | CRYPTOPP_ALIGN_DATA(16) uint_32t SHA256_K[64] CRYPTOPP_SECTION_ALIGN16 = {
[ 185s] | ^
[ 185s] lto-wrapper: fatal error: g++ returned 1 exit status
Aligning section types of Whirlpool_C and SHA256_K fixes this.
Diffstat (limited to 'src/Common/Xml.c')
0 files changed, 0 insertions, 0 deletions