Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605828

Summary: www-client/chromium-57.0.2979.0 fails to build with sys-devel/gcc-5.4.0-r2
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: chromium-gcc5.patch

Description Mike Gilbert gentoo-dev 2017-01-16 03:18:49 UTC
g++-5.4.0 -MMD -MF tools/gn/xcode_writer.o.d  -I/x/portage/www-client/chromium-57.0.2979.0/work/temp
/tmpMqnwLa/gen -I/x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0 -O2 -pipe -mar
ch=amdfam10 -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MA
CROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -O2 -pipe -march=amdfam10 -fno-delete-nul
l-pointer-checks -std=c++11 -Wno-c++11-narrowing -c /x/portage/www-client/chromium-57.0.2979.0/work/
chromium-57.0.2979.0/tools/gn/xcode_writer.cc -o tools/gn/xcode_writer.o
/x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0/tools/gn/xcode_writer.cc: In fu
nction ‘void {anonymous}::SearchXCTestFiles(const Target*, {anonymous}::TargetToFileList*)’:
/x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0/tools/gn/xcode_writer.cc:173:29
: error: use of ‘target’ before deduction of ‘auto’
   for (const auto& target : target->public_deps()) {
                             ^
/x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0/tools/gn/xcode_writer.cc:181:29
: error: use of ‘target’ before deduction of ‘auto’
   for (const auto& target : target->private_deps()) {
                             ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-c++11-narrowing’
Comment 2 Mike Gilbert gentoo-dev 2017-01-16 22:21:09 UTC
Sent upstream for review.

https://codereview.chromium.org/2632113003/
Comment 4 Mike Gilbert gentoo-dev 2017-01-22 05:25:27 UTC
Resolved in 57.0.2986.0.