It looks like chromeium 60 just went stable for AMD64. Unfortunately,
it doesn't seem to build for me. I've googled the gcc error message
from the build log, and the only thing I can find is somebody claiming
it's caused by a bungled upgrade to gcc 5.x. I haven't upgrade to gcc
5.x, so that doesn't seem to be relevent.
Does the compile failure look familar:
# emerge --info '=www-client/chromium-60.0.3112.78::gentoo'
Portage 2.3.6 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-4.9.4,
glibc-2.23-r4, 4.9.34-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname:
Linux-4.9.34-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem: 8063392 total, 1347160 free
KiB Swap: 5885112 total, 5827672 free
Timestamp of repository gentoo: Mon, 31 Jul 2017 15:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
app-shells/bash: 4.3_p48-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.1-r2::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.26.3::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.28-r2::gentoo
sys-devel/gcc: 4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r4::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
local
location: /usr/local/portage
masters: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf
/usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/
/etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/
/etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
protect-owned sandbox sfperms splitdebug strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/
http://gentoo.cs.uni.edu/ http://lug.mtu.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl aes alsa amd64 avx berkdb bzip2 cdr cli cracklib crypt cups
cxx dri dvd flac fortran gdbm gkt2 gtk iconv imap ipv6 jpeg mmx mmxext modules
mozbranding mp3 multilib ncurses nls nptl nsplugin ogg openmp pam pcre pdf png
popcnt readline seccomp session sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg tcpd
tiff tk unicode v4l vorbis xattr xv zlib" ABI_X86="64" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb
unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default
authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner
authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache
env expires ext_filter file_cache filter headers include info log_config logio
mem_cache mime mime_magic negotiation rewrite setenvif speling st
atus unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words
flow plan sheets stage tables krita karbon braindump author"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle
oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt
ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" L10N="en en-US"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6"
POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4"
PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22"
USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quot
a2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy
condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos
account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Here's the bottom of
/var/tmp/portage/www-client/chromium-60.0.3112.78/temp/build.log:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[...]
[4829/27198] x86_64-pc-linux-gnu-gcc -MMD -MF
obj/third_party/angle/src/vulkan_support/vulkan_loader/debug_report.o.d
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DVULKAN_NON_CMAKE_BUILD
-DSYSCONFDIR=\"/etc\" -DFALLBACK_CONFIG_DIRS=\"/etc/xdg\"
-DFALLBACK_DATA_DIRS=\"/usr/local/share:/usr/share\" -DVK_USE_PLATFORM_XCB_KHR
-DVK_USE_PLATFORM_XCB_KHX -DLAYERS_SOURCE_PATH=\"angledata\"
-DDEFAULT_VK_LAYERS_PATH=\".\" -DAPI_NAME=\"Vulkan\" -DHAVE_SECURE_GETENV
-I../.. -Igen -I../../third_party/vulkan-validation-layers/src/include
-I../../third_party/vulkan-validation-layers/src/loader
-Igen/third_party/angle/src/vulkan_support/angle/vulkan -
Igen/third_party/angle/src/vulkan_support/angle/vulkan
-I../../third_party/vulkan-validation-layers/src/include -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64
-march=x86-64 -pthread -Wall -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter
-O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0
-fvisibility=hidden -Wno-unused-function -Wno-ignored-attributes -march=native
-O2 -pipe -c
../../third_party/vulkan-validation-layers/src/loader/debug_report.c -o
obj/third_party/angle/src/vulkan_support/vulkan_loader/debug_report.o
FAILED: obj/third_party/angle/src/vulkan_support/vulkan_loader/debug_report.o
x86_64-pc-linux-gnu-gcc -MMD -MF
obj/third_party/angle/src/vulkan_support/vulkan_loader/debug_report.o.d
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DVULKAN_NON_CMAKE_BUILD
-DSYSCONFDIR=\"/etc\" -DFALLBACK_CONFIG_DIRS=\"/etc/xdg\"
-DFALLBACK_DATA_DIRS=\"/usr/local/share:/usr/share\" -DVK_USE_PLATFORM_XCB_KHR
-DVK_USE_PLATFORM_XCB_KHX -DLAYERS_SOURCE_PATH=\"angledata\"
-DDEFAULT_VK_LAYERS_PATH=\".\" -DAPI_NAME=\"Vulkan\" -DHAVE_SECURE_GETENV
-I../.. -Igen -I../../third_party/vulkan-validation-layers/src/include
-I../../third_party/vulkan-validation-layers/src/loader
-Igen/third_party/angle/src/vulkan_support/angle/vulkan -Igen/third_pa
rty/angle/src/vulkan_support/angle/vulkan
-I../../third_party/vulkan-validation-layers/src/include -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64
-march=x86-64 -pthread -Wall -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter
-O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0
-fvisibility=hidden -Wno-unused-function -Wno-ignored-attributes -march=native
-O2 -pipe -c
../../third_party/vulkan-validation-layers/src/loader/debug_report.c -o
obj/third_party/angle/src/vulkan_support/vulkan_loader/debug_report.o
../../third_party/vulkan-validation-layers/src/loader/debug_report.c: In
function ‘debug_report_create_instance’:
../../third_party/vulkan-validation-layers/src/loader/debug_report.c:50:5:
error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (uint32_t i = 0; i < pCreateInfo->enabledExtensionCount; i++) {
^
../../third_party/vulkan-validation-layers/src/loader/debug_report.c:50:5:
note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your
code
../../third_party/vulkan-validation-layers/src/loader/debug_report.c: In
function ‘util_CreateDebugReportCallbacks’:
../../third_party/vulkan-validation-layers/src/loader/debug_report.c:235:5:
error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (uint32_t i = 0; i < num_callbacks; i++) {
^
../../third_party/vulkan-validation-layers/src/loader/debug_report.c:238:13:
error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (uint32_t j = 0; j < i; j++) {
^
../../third_party/vulkan-validation-layers/src/loader/debug_report.c: In
function ‘util_DestroyDebugReportCallbacks’:
../../third_party/vulkan-validation-layers/src/loader/debug_report.c:249:5:
error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (uint32_t i = 0; i < num_callbacks; i++) {
^
../../third_party/vulkan-validation-layers/src/loader/debug_report.c: At top
level:
cc1: warning: unrecognized command line option "-Wno-ignored-attributes"
[4830/27198] x86_64-pc-linux-gnu-g++ -MMD -MF
obj/third_party/angle/src/vulkan_support/VkLayer_threading/threading.o.d
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DVK_USE_PLATFORM_XCB_KHR
-DVK_USE_PLATFORM_XCB_KHX -DVULKAN_NON_CMAKE_BUILD -DSYSCONFDIR=\"/etc\"
-DFALLBACK_CONFIG_DIRS=\"/etc/xdg\"
-DFALLBACK_DATA_DIRS=\"/usr/local/share:/usr/share\"
-DLAYERS_SOURCE_PATH=\"angledata\" -DDEFAULT_VK_LAYERS_PATH=\".\"
-DAPI_NAME=\"Vulkan\" -DHAVE_SECURE_GETENV -I../.. -Igen
-I../../third_party/vulkan-validation-layers/src/layers
-Igen/third_party/angle/src/vulkan_support/angle/vulkan
-I../../third_party/vulkan-validation-layers/src/include
-I../../third_party/vulkan-validation-layers/src/include
-I../../third_party/vulkan-validation-layers/src/loader
-Igen/third_party/angle/src/vulkan_support/angle/vulkan -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64
-march=x86-64 -pthread -Wall -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter
-O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0
-fvisibility=hidden -Wno-unused-function -Wno-ignored-attributes -std=gnu++11
-Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden
-march=native -O2 -pipe -fno-delete-null-pointer-checks -c
../../third_party/vulkan-validation-layers/src/layers/threading.cpp -o
obj/third_party/angle/src/vulkan_support/VkLayer_threading/threading.o
ninja: build stopped: subcommand failed.
* ERROR: www-client/chromium-60.0.3112.78::gentoo failed (compile phase):
* ninja -v -j2 -l0 -C out/Release chrome chromedriver chrome_sandbox failed
[...]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~