Summary: | www-client/chromium-61.0.3163.31 with gcc-5.4.0 error: ‘AllocationKind’ is not a class, namespace, or enumeration | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, moonlapse81, nickAristocrates, niranjan.public, thomas.bettler, voron1 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
www-client:chromium-61.0.3163.31:20170809-141253.log.xz
does_not_fix_all_gcc5.4_issues_chromium-61.0.3159.5.patch chromium-61.0.3163.13_other_gcc5.4_errors.log |
Description
Michał Górny
2017-08-09 15:27:58 UTC
Created attachment 488474 [details, diff]
does_not_fix_all_gcc5.4_issues_chromium-61.0.3159.5.patch
I believe this might be a bug with =sys-devel/gcc-5.4.0 in its C++11 implementation (regarding the use of enum class), since repeating the failing line with x86_64-pc-linux-gnu-g++-6.* did not give an error, and I could not see anything that should cause a compiler error with -std=gnu++11. I wasn't able to reproduce it in a minimal example so I don't know if it is a bit more subtle and depends on some other combination of flags or other code in chromium.
Upon upgrading to =sys-devel/gcc-6.4.0 got rid of this (and other) errors.
I attempted to use this patch and it fixed this particular issue in =www-client/chromium-61.0.3159.5 and =www-client/chromium-61.0.3163.13, but I ran into (what I assume to be) other gcc-5.4 problems with =www-client/chromium-61.0.3159.5
Created attachment 488476 [details]
chromium-61.0.3163.13_other_gcc5.4_errors.log
|