Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645574 - dev-qt/qtwebengine-5.9.3 - ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringImpl.h:507:63: internal compiler error: in type_hash_canon, at tree.c:7149
Summary: dev-qt/qtwebengine-5.9.3 - ../../3rdparty/chromium/third_party/WebKit/Source/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 16:32 UTC by Peter Asplund
Modified: 2018-11-27 23:43 UTC (History)
2 users (show)

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


Attachments
buildlog.tar.xz (buildlog.tar.xz,75.77 KB, application/x-xz-compressed-tar)
2018-01-24 16:35 UTC, Peter Asplund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Asplund 2018-01-24 16:32:40 UTC
dev-qt/qtwebengine-5.9.3 does not build with GCC 7.2.0.

End of the log (while attaching all of it):

/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/WebKit/Source/wtf/wtf/StringConcatenate.o.d -DWTF_IMPLEMENTATION=1 -DV8_DEPRECATION_WARNINGS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DENABLE_WEBRTC=1 -DDISABLE_NACL -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DUSE_PROPRIETARY_CODECS -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -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 -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 -DENABLE_OILPAN=1 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/WebKit/Source -I../../3rdparty/chromium/third_party/WebKit -Igen/blink -Igen/third_party/WebKit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen -Igen -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fvisibility=hidden -g0 -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-delete-null-pointer-checks -Wno-narrowing -fno-rtti -fno-exceptions -c ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.cpp -o obj/third_party/WebKit/Source/wtf/wtf/StringConcatenate.o
In file included from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringView.h:13:0,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/AtomicString.h:28,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.h:33,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.cpp:7:
../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringImpl.h:507:63: internal compiler error: in type_hash_canon, at tree.c:7149
 ALWAYS_INLINE const LChar* StringImpl::getCharacters<LChar>() const {
                                                               ^~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.

root@skare$ emerge --info =dev-qt/qtwebengine-5.9.3
Portage 2.3.20 (python 3.6.4-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.2.0, glibc-2.26-r5, 4.14.10-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.10-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.4.1
KiB Mem:    12298780 total,   4002800 free
KiB Swap:   12418208 total,  12418208 free
Timestamp of repository gentoo: Sun, 21 Jan 2018 11:00:01 +0000
Head commit of repository gentoo: 84519c20b4ec8e29fbdb8c2b8103b6f0c54edfb2
sh bash 4.4_p12-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

AzP
    location: /usr/local/portage
    masters: gentoo

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    sync-type: laymansync
    sync-uri: git://github.com/msva/mva-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 9999
    sync-rsync-extra-opts: 

Installed sets: @esteam, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10 --with-bdeps=y --load-average=50 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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://mirror.mdfnet.se/gentoo ftp://mirror.mdfnet.se/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en sv"
MAKEOPTS="-j7"
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="24bpp 256-color 3dnow 3dnowext 64bit S3TC X a52 aac aacplus aalib accessibility acl acpi aio alsa amazon amd64 amr amrnb amrwb apng asf aspell autoipd avahi avi bash-completion bidi binary-drivers bluetooth bookmarks branding btrfs bzip2 c++0x cairo ccache cdda cdr cg cgi clang clangstaticanalyzer cleartype cleartype_hinting cli clutter cmake colord cover coverart crypt css cue cups curl custom-optimization cxx cycles daap dbus dconf debugger device-mapper devil dga dhclient dirac divx dmx dns dri dri3 drm dts dvd dvdr dvdread emboss encode evo exif f2fs fakevim fam fastcgi fat fbcon ffmpeg firefox flac fluidsynth fontconfig fortran fpm freeimage freerdp ftp fuse g3dvl gaim gd gdbm gdu gflags ggi gif gimp git glamor glew glib glsl glut gmail gmailtimestamps gmedia gnome gnome-keyring gnome-online-accounts gnome-shell gold google gphoto2 gpm gstreamer gtk gtk2 gtk3 gtkhtml gvim gzip h224 h281 h323 howl-compat hpijs hwdb iconv icq icu idn imap inotify introspection iphone ipv6 jabber java java6 jingle jpeg jpeg2k kdrive lame lcms ldap libinput libnotify libsecret libsexy libssh2 libv4l libv4l2 llvm llvm-shared-libs lm_sensors mad madwifi mbox md5sum mdnsresponder-compat mh midi mikmod mime minizip mmxext mng moc mod modplug modules mozembed mozilla moznocompose moznoirc moznomail moznoroaming mozsha1 mozsvg mp2 mp3 mp4 mp4live mpeg msn multimedia musepack musicbrainz nas nautilus ncurses nemesi networkmanager new-hpcups nfsv41 nls nptl nsplugin ntfs ntfsprogs nx ofa ogg openal opencl opencore-amr openexr opengl openmp openssl opensslcrypt optimization pam pango pcntl pcre pdf pdflib perl php pidgin pipechan plasma png pnm policykit pop ppds private-headers pulseaudio pvr python python3 qml qt5 qtscript quicktime radio raw rdesktop rdp readline realmedia reiser4 reiserfs rtc s3tc samba sasl schroedinger scintilla sdl seccomp secure-delete sid sip sndfile sockets spell sql sqlite srt sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssh ssl ssse3 staging startup-notification static-analyzer steamruntime subtitles subversion suid svg system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libvpx system-llvm system-snappy systemd tcpd telepathy teletext tga theora threads tiff tls tracker transcode truetype udev udisks unicode upcall upnp upower usb user-session v4l v4l2 vaapi valgrind vdpau video videos vim vim-pager vim-syntax vim-with-x vorbis vte vulkan wav wavpack wayland webdav webdav-neon webdav-serf webkit webkit2 webm webp webphoto webstart widgets wifi winbind wma wma-fixed wmf wmp wxwidgets x264 x265 xanim xattr xcb xcomposite xdmcp xext xfs xinerama xkb xml xmp xrandr xv xvid zeroconf zip zlib zoran" ABI_X86="64" ALSA_CARDS="emu10k1 hda_intel" 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" 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="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput roccat_konextd" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="i386 arm x86_64" QEMU_USER_TARGETS="i386 arm x86_64" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-qt/qtwebengine-5.9.3::gentoo was built with the following:
USE="alsa pulseaudio system-ffmpeg system-icu widgets -bindist -debug -geolocation -pax_kernel -test" ABI_X86="(64)"

sys-devel/gcc-7.2.0-r1::gentoo was built with the following:
USE="cxx fortran (multilib) nls nptl openmp pch (pie) sanitize ssp vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) -mpx -objc -objc++ -objc-gc -pgo -regression-test -vanilla" ABI_X86="(64)"
Comment 1 Peter Asplund 2018-01-24 16:35:18 UTC
Created attachment 516364 [details]
buildlog.tar.xz
Comment 2 Michael Palimaka (kensington) gentoo-dev 2018-01-25 13:05:14 UTC
In file included from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringView.h:13:0,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/AtomicString.h:28,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.h:33,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.cpp:7:
../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringImpl.h:507:63: internal compiler error: in type_hash_canon, at tree.c:7149
 ALWAYS_INLINE const LChar* StringImpl::getCharacters<LChar>() const {
                                                               ^~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-26 12:32:53 UTC
Comment on attachment 516364 [details]
buildlog.tar.xz

Why would you put a single file in a tar archive?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-26 12:35:15 UTC
In file included from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringView.h:13:0,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/AtomicString.h:28,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.h:33,
                 from ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.cpp:7:
../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringImpl.h:507:63: internal compiler error: in type_hash_canon, at tree.c:7149
 ALWAYS_INLINE const LChar* StringImpl::getCharacters<LChar>() const {
                                                               ^~~~~
Comment 5 Peter Asplund 2018-01-27 10:14:14 UTC
(In reply to Jeroen Roovers from comment #3)
> Comment on attachment 516364 [details]
> buildlog.tar.xz
> 
> Why would you put a single file in a tar archive?

Because the file is several megabytes large, which is not allowed as an attachment. By compressing it, it now takes 75 KB.
Comment 6 Peter Asplund 2018-01-27 10:16:18 UTC
(In reply to Michael Palimaka (kensington) from comment #2)
> In file included from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringView.h:13:0,
>                  from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/AtomicString.h:28,
>                  from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.
> h:33,
>                  from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.
> cpp:7:
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringImpl.h:507:
> 63: internal compiler error: in type_hash_canon, at tree.c:7149
>  ALWAYS_INLINE const LChar* StringImpl::getCharacters<LChar>() const {
>                                                                ^~~~~
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://bugs.gentoo.org/> for instructions.

I don't understand, what are you missing? The entire build log is attached, as is emerge --info, the build flags, as well as GCC version information.
Comment 7 Peter Asplund 2018-01-27 10:16:52 UTC
(In reply to Jeroen Roovers from comment #4)
> In file included from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringView.h:13:0,
>                  from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/AtomicString.h:28,
>                  from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.
> h:33,
>                  from
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.
> cpp:7:
> ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringImpl.h:507:
> 63: internal compiler error: in type_hash_canon, at tree.c:7149
>  ALWAYS_INLINE const LChar* StringImpl::getCharacters<LChar>() const {
>                                                                ^~~~~

Thank you for cleaning it up!
Comment 8 Michael Palimaka (kensington) gentoo-dev 2018-01-30 10:24:47 UTC
(In reply to Peter Asplund from comment #6)
> (In reply to Michael Palimaka (kensington) from comment #2)
> > In file included from
> > ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringView.h:13:0,
> >                  from
> > ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/AtomicString.h:28,
> >                  from
> > ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.
> > h:33,
> >                  from
> > ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringConcatenate.
> > cpp:7:
> > ../../3rdparty/chromium/third_party/WebKit/Source/wtf/text/StringImpl.h:507:
> > 63: internal compiler error: in type_hash_canon, at tree.c:7149
> >  ALWAYS_INLINE const LChar* StringImpl::getCharacters<LChar>() const {
> >                                                                ^~~~~
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <https://bugs.gentoo.org/> for instructions.
> 
> I don't understand, what are you missing? The entire build log is attached,
> as is emerge --info, the build flags, as well as GCC version information.

I was just including the error and surrounds from the log for quick reference to avoid needing decompress every time. There's no other info needed, you included everything already - thanks for that.
Comment 9 Peter Asplund 2018-02-24 14:44:07 UTC
I've now managed to successfully compile qtwebengine-5.9.4, but I'm not sure that it worked because of the new version or because I turned off "turbo-mode" for my Core i7, no longer allowing it to be automatically overclocked based on load.

It is possible that the issue occurred only because of overclocking, but I do know that it was completely reproducible every time, many times over.
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-27 23:43:07 UTC
Let's close as obsolete if it's not easily reproducible. Feel free to opena  new bug if it fails on newer versions.