Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525374 - www-client/chromium-39.0.2171.19 with sys-devel/gcc:4.7: In file included from ../../mojo/public/cpp/bindings/lib/connector.cc:5: ../../mojo/public/c/system/types.h:169:8: error: expected unqualified-id before numeric constant
Summary: www-client/chromium-39.0.2171.19 with sys-devel/gcc:4.7: In file included fro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 05:23 UTC by Mark Dominik Bürkle
Modified: 2014-10-21 06:59 UTC (History)
0 users

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


Attachments
build.log.gz (build.log.gz,44.67 KB, application/gzip)
2014-10-14 05:27 UTC, Mark Dominik Bürkle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Dominik Bürkle 2014-10-14 05:23:57 UTC
[531/15729] x86_64-pc-linux-gnu-g++ -MMD -MF obj/chrome/gen/protoc_out/chrome/browser/net/cert_logger_proto.cert_logger.pb.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DCLD2_DATA_SOURCE=static -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DUSE_SYSTEM_PROTOBUF -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/protobuf_lite/target -Igen -Igen/protoc_out -I../.. -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -pthread -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -march=core2 -O2 -pipe -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -Wno-narrowing -Wno-literal-suffix  -c gen/protoc_out/chrome/browser/net/cert_logger.pb.cc -o obj/chrome/gen/protoc_out/chrome/browser/net/cert_logger_proto.cert_logger.pb.o
FAILED: x86_64-pc-linux-gnu-g++ -MMD -MF obj/mojo/public/cpp/bindings/lib/mojo_cpp_bindings.connector.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DCLD2_DATA_SOURCE=static -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -march=core2 -O2 -pipe -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -Wno-narrowing -Wno-literal-suffix  -c ../../mojo/public/cpp/bindings/lib/connector.cc -o obj/mojo/public/cpp/bindings/lib/mojo_cpp_bindings.connector.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
../../mojo/public/cpp/bindings/lib/connector.cc:1:0: note: this is the location of the previous definition
In file included from ../../mojo/public/c/environment/async_waiter.h:8:0,
                 from ../../mojo/public/cpp/bindings/lib/connector.h:8,
                 from ../../mojo/public/cpp/bindings/lib/connector.cc:5:
../../mojo/public/c/system/types.h:169:8: error: expected unqualified-id before numeric constant
../../mojo/public/c/system/types.h:169:8: error: expected ‘)’ before numeric constant
../../mojo/public/c/system/types.h:173:1: error: ‘MojoHandleSignalsState’ was not declared in this scope
...

Reproducible: Always

Steps to Reproduce:
1. emerge -1v chromium
Actual Results:  
compilation fails

Expected Results:  
compile cleanly

lapmdb-hpl ~ #>> emerge --info '=www-client/chromium-39.0.2171.19::gentoo'
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.19-r1, 3.17.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.17.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     6051940 total,   1474424 free
KiB Swap:   10485756 total,   9868892 free
Timestamp of tree: Tue, 14 Oct 2014 03:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r1
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo java local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java /usr/local/portage"
SYNC="rsync://mirror.wheel.sk/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx berkdb bluetooth branding bzip2 cairo cdda cddb cdinstall cdparanoia cdr cgi cli colord cracklib crypt css cups cxx dbus dedicated dga dri dts dvd dvdr eds emboss encode evo exif fam fastcgi firefox flac fortran gdbm gif glamor glut gnome gnome-keyring gnome-online-accounts gnutls gpm gsm gstreamer gtk gzip hddtemp iconv idn introspection ipv6 java java6 javascript jpeg jpeg2k kerberos lame lash lcms ldap libnotify libsecret lm_sensors mad matroska mbox mikmod mime mmap mms mmx mng mod modules mp3 mp4 mpeg mplayer multilib musepack nautilus ncurses nls nptl nsplugin ogg openal openexr opengl openmp pam pango pcre pdf perl php png policykit posix ppds pulseaudio qt3support qt4 quicktime raw rdesktop readline recode samba sasl savedconfig sdl session sharedmem simplexml smp socialweb sound spell sse sse2 ssl startup-notification subversion svg symlink syslog systemd sysvipc tcl tcmalloc tcpd theora tiff tokenizer truetype udev udisks unicode upower usb vcd videos vim-syntax vnc vorbis wavpack wayland wifi win32codecs wmf wxwidgets x264 xcb xcomposite xml xosd xsl xulrunner xv xvid 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 status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 pypy1_9 jython2_5" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm armeb" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

lapmdb-hpl ~ #>> emerge -pqv '=www-client/chromium-39.0.2171.19::gentoo'
[ebuild     U ] www-client/chromium-39.0.2171.19 [38.0.2125.77] USE="cups gnome gnome-keyring kerberos (pic) pulseaudio tcmalloc -bindist -custom-cflags (-neon) (-selinux) {-test}" LINGUAS="de fr -am -ar -bg -bn -ca -cs -da -el -en_GB -es -es_LA -et -fa -fi -fil -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 
lapmdb-hpl ~ #>>
Comment 1 Mark Dominik Bürkle 2014-10-14 05:27:10 UTC
Created attachment 386646 [details]
build.log.gz
Comment 2 Mark Dominik Bürkle 2014-10-14 05:30:54 UTC
mojo/public/c/system/types.h:169:8:

struct MOJO_ALIGNAS(4) MojoHandleSignalsState {
Comment 3 Mark Dominik Bürkle 2014-10-14 05:34:27 UTC
lapmdb-hpl ~ #>> gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *
lapmdb-hpl ~ #>> eix sys-devel/gcc
[I] sys-devel/gcc
     Available versions:  
     (2.95) ~*2.95.3-r10^s
     (3.3)  ~3.3.6-r1^s
     (3.4)  3.4.6-r2^s
     (4.0)  ~*4.0.4^s
     (4.1)  4.1.2^s
     (4.2)  ~4.2.4-r1^s
     (4.3)  4.3.6-r1^s
     (4.4)  4.4.7^s
     (4.5)  ~4.5.1-r1^s ~4.5.2^s 4.5.3-r2^s 4.5.4^s
     (4.6)  ~4.6.0^s ~4.6.1-r1^s ~4.6.2^s 4.6.3^s 4.6.4^s
     (4.7)  ~4.7.0^s ~4.7.1^s ~4.7.2-r1^s 4.7.3-r1^s ~4.7.4^s
     (4.8)  ~4.8.0^s ~4.8.1-r1^s ~4.8.2^s ~4.8.3^s
     (4.9)  **4.9.0^s **4.9.1^s
       {altivec awt boundschecking +cxx d doc fixed-point +fortran gcj go graphite hardened ip28 ip32r10k libssp mudflap multilib multislot n32 n64 +nls nopie nossp +nptl objc objc++ objc-gc +openmp regression-test vanilla}
     Installed versions:  4.7.3-r1(4.7)^s(01:17:52 24.01.2014)(cxx fortran multilib nls nptl openmp -altivec -awt -doc -fixed-point -gcj -go -graphite -hardened -libssp -mudflap -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla)
     Homepage:            http://gcc.gnu.org/
     Description:         The GNU Compiler Collection

* sys-devel/gcc-apple
...
Comment 4 Mike Gilbert gentoo-dev 2014-10-14 14:19:40 UTC
Are you able to reproduce this with gcc:4.8?
Comment 5 Mark Dominik Bürkle 2014-10-14 14:38:09 UTC
will give that a try, but first have to emerge gcc-4.8 - that will take some time... will report back today.
Comment 6 Mark Dominik Bürkle 2014-10-14 19:38:15 UTC
(In reply to Mike Gilbert from comment #4)
> Are you able to reproduce this with gcc:4.8?

The error does not occur with gcc-4.8.3.

At least the compilation is far beyond the point where it stopped before: 14040/15729 and building...
Comment 7 Mark Dominik Bürkle 2014-10-14 20:12:12 UTC
(In reply to Mark Dominik Bürkle from comment #6)
> (In reply to Mike Gilbert from comment #4)

> > Are you able to reproduce this with gcc:4.8?
> 
> The error does not occur with gcc-4.8.3.

Compilation finished successfully.
Comment 8 Mike Gilbert gentoo-dev 2014-10-14 23:12:57 UTC
Thanks. It sounds like we will not be able to support building with gcc:4.7.

http://thread.gmane.org/gmane.linux.gentoo.devel/93356
Comment 9 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-10-21 06:59:06 UTC
(In reply to Mike Gilbert from comment #8)
> Thanks. It sounds like we will not be able to support building with gcc:4.7.
> 
> http://thread.gmane.org/gmane.linux.gentoo.devel/93356

I was able to reuse the patch from chromium-38, not sure how long that strategy is going to work. Thanks for the report.

  17 Oct 2014; Pawel Hajdan jr
  chromium-39.0.2171.19.ebuild:
  Fix build with gcc-4.7, bug #525374 by Mark Dominik Burkle.