Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792951 - app-crypt/veracrypt-1.24_p8 fails to compile, with gcc-11.1.0
Summary: app-crypt/veracrypt-1.24_p8 fails to compile, with gcc-11.1.0
Status: RESOLVED DUPLICATE of bug 786741
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-30 06:44 UTC by labyrithfind
Modified: 2021-05-30 21:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log, plus with my environment output of `emerge info` command (build+env.log,343.33 KB, text/x-log)
2021-05-30 06:44 UTC, labyrithfind
Details

Note You need to log in before you can comment on or make changes to this bug.
Description labyrithfind 2021-05-30 06:44:29 UTC
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
Comment 1 Ionen Wolkens gentoo-dev 2021-05-30 21:56:46 UTC
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 ***