VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/VolumeSizeWizardPage.h
diff options
context:
space:
mode:
authorHans-Peter Jansen <hpj@urpla.net>2019-10-02 21:25:10 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-02 21:25:10 +0200
commit0d91dab5b989f7d184c43b9468d17d5c5c0a756d (patch)
tree32731a855e8d9c45060895c44f7759a63181656a /src/Main/Forms/VolumeSizeWizardPage.h
parente211749c7cb4bc53cf08bf5ffd8735ee633b4606 (diff)
downloadVeraCrypt-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/Main/Forms/VolumeSizeWizardPage.h')
0 files changed, 0 insertions, 0 deletions