Created attachment 712383 [details] Build log, plus with my environment output of `emerge info` command Hi Team, I'm experiencing issues in getting app-crypt/veracrypt-1.24_p8 compiled, with gcc-11.1.0, while the package gets successful in compiling with gcc-10.2.0. Compile parameter is: -pipe The build log lines trigger the errors are (for detailed log, please see the attachment, environment also get posted in that file): x86_64-pc-linux-gnu-g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src -I/var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src/Crypto -I/var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src/PKCS11 -O2 -fno-strict-aliasing -D TC_ARCH_X64 -DTC_UNIX -DTC_LINUX -fdata-sections -ffunction-sections -fpie -Wall -Wno-unused-parameter -msse2 -maes -mssse3 -mssse3 -msse4.1 -pipe -c EncryptionMode.cpp -o EncryptionMode.o In file included from [01m[K/var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src/Common/Crypto.h:195[m[K, from [01m[KEncryptionMode.h:17[m[K, from [01m[KEncryptionAlgorithm.h:18[m[K, from [01m[KEncryptionAlgorithm.cpp:13[m[K: [01m[K/var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src/Crypto/Aes_hw_cpu.h:27:32:[m[K [01;31m[Kerror: [m[Kreference to '[01m[Kbyte[m[K' is ambiguous 27 | void aes_hw_cpu_decrypt (const [01;31m[Kbyte[m[K *ks, byte *data); | [01;31m[K^~~~[m[K In file included from [01m[K/var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src/Platform/PlatformBase.h:16[m[K, from [01m[K/var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src/Platform/Platform.h:16[m[K, from [01m[KEncryptionAlgorithm.h:16[m[K, from [01m[KEncryptionAlgorithm.cpp:13[m[K: [01m[K/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstddef:69:14:[m[K [01;36m[Knote: [m[Kcandidates are: '[01m[Kenum class std::byte[m[K' 69 | enum class [01;36m[Kbyte[m[K : unsigned char {}; | [01;36m[K^~~~[m[K
Thanks for the report, but it seems to have already been reported. Hopefully someone will have a look at this issue soon. *** This bug has been marked as a duplicate of bug 786741 ***