Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497222 - net-libs/webkit-gtk-2.2.2: segfault during compilation
Summary: net-libs/webkit-gtk-2.2.2: segfault during compilation
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-06 09:27 UTC by Tassilo Horn
Modified: 2014-02-03 23:07 UTC (History)
0 users

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


Attachments
The complete (gzipped) build.log (build.log.gz,255.29 KB, application/gzip)
2014-01-06 09:29 UTC, Tassilo Horn
Details
A better (gzipped) build.log done with MAKEOPTS="-j1" (build.log.gz,358.69 KB, application/gzip)
2014-01-06 11:38 UTC, Tassilo Horn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Horn 2014-01-06 09:27:15 UTC
Emerging net-libs/webkit-gtk-2.2.2 always fails with a segfault.

mv -f Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-LoggingGtk.Tpo Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-LoggingGtk.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2  -MT Source/WebKit2/Platform/gtk/libWebKit2Platform_la-WorkQueueGtk.lo -MD -MP -MF Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-WorkQueueGtk.Tpo -c -o Source/WebKit2/Platform/gtk/libWebKit2Platform_la-WorkQueueGtk.lo `test -f 'Source/WebKit2/Platform/gtk/WorkQueueGtk.cpp' || echo './'`Source/WebKit2/Platform/gtk/WorkQueueGtk.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2 -MT Source/WebKit2/Platform/gtk/libWebKit2Platform_la-WorkQueueGtk.lo -MD -MP -MF Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-WorkQueueGtk.Tpo -c Source/WebKit2/Platform/gtk/WorkQueueGtk.cpp  -fPIC -DPIC -o Source/WebKit2/Platform/gtk/.libs/libWebKit2Platform_la-WorkQueueGtk.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
Source/WebKit2/Platform/gtk/WorkQueueGtk.cpp:1:0: note: this is the location of the previous definition
 /*
 ^
mv -f Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-ModuleGtk.Tpo Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-ModuleGtk.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2  -MT Source/WebKit2/Platform/libWebKit2Platform_la-Logging.lo -MD -MP -MF Source/WebKit2/Platform/.deps/libWebKit2Platform_la-Logging.Tpo -c -o Source/WebKit2/Platform/libWebKit2Platform_la-Logging.lo `test -f 'Source/WebKit2/Platform/Logging.cpp' || echo './'`Source/WebKit2/Platform/Logging.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2 -MT Source/WebKit2/Platform/libWebKit2Platform_la-Logging.lo -MD -MP -MF Source/WebKit2/Platform/.deps/libWebKit2Platform_la-Logging.Tpo -c Source/WebKit2/Platform/Logging.cpp  -fPIC -DPIC -o Source/WebKit2/Platform/.libs/libWebKit2Platform_la-Logging.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
Source/WebKit2/Platform/Logging.cpp:1:0: note: this is the location of the previous definition
 /*
 ^
mv -f Source/WebKit2/Platform/CoreIPC/unix/.deps/libWebKit2Platform_la-ConnectionUnix.Tpo Source/WebKit2/Platform/CoreIPC/unix/.deps/libWebKit2Platform_la-ConnectionUnix.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2  -MT Source/WebKit2/Platform/libWebKit2Platform_la-Module.lo -MD -MP -MF Source/WebKit2/Platform/.deps/libWebKit2Platform_la-Module.Tpo -c -o Source/WebKit2/Platform/libWebKit2Platform_la-Module.lo `test -f 'Source/WebKit2/Platform/Module.cpp' || echo './'`Source/WebKit2/Platform/Module.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2 -MT Source/WebKit2/Platform/libWebKit2Platform_la-Module.lo -MD -MP -MF Source/WebKit2/Platform/.deps/libWebKit2Platform_la-Module.Tpo -c Source/WebKit2/Platform/Module.cpp  -fPIC -DPIC -o Source/WebKit2/Platform/.libs/libWebKit2Platform_la-Module.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
Source/WebKit2/Platform/Module.cpp:1:0: note: this is the location of the previous definition
 /*
 ^
mv -f Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-WorkQueueGtk.Tpo Source/WebKit2/Platform/gtk/.deps/libWebKit2Platform_la-WorkQueueGtk.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2  -MT Source/WebKit2/Platform/unix/libWebKit2Platform_la-SharedMemoryUnix.lo -MD -MP -MF Source/WebKit2/Platform/unix/.deps/libWebKit2Platform_la-SharedMemoryUnix.Tpo -c -o Source/WebKit2/Platform/unix/libWebKit2Platform_la-SharedMemoryUnix.lo `test -f 'Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp' || echo './'`Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp
GNUmakefile:24051: recipe for target 'all' failed
make: *** [all] Segmentation fault
make: INTERNAL: Exiting with 1 jobserver tokens available; should be 3!
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -fno-strict-aliasing -I./Source -I./Source/WTF -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./DerivedSources/WebKit2/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2 -MT Source/WebKit2/Platform/unix/libWebKit2Platform_la-SharedMemoryUnix.lo -MD -MP -MF Source/WebKit2/Platform/unix/.deps/libWebKit2Platform_la-SharedMemoryUnix.Tpo -c Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp  -fPIC -DPIC -o Source/WebKit2/Platform/unix/.libs/libWebKit2Platform_la-SharedMemoryUnix.o
 * ERROR: net-libs/webkit-gtk-2.2.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.2.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/webkit-gtk-2.2.2/work/webkitgtk-2.2.2'
 * S: '/var/tmp/portage/net-libs/webkit-gtk-2.2.2/work/webkitgtk-2.2.2'
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp:1:0: note: this is the location of the previous definition
 /*
 ^

I'm attaching the complete build.log.

Reproducible: Always




# emerge --info         
Portage 2.2.8 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo x86_64)
=================================================================
System uname: Linux-3.12.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.2
KiB Mem:     3971940 total,   1185680 free
KiB Swap:    8393956 total,   8379832 free
Timestamp of tree: Mon, 06 Jan 2014 06:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo emacs x11 my_local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /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/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="--quiet-build n"
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://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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/emacs /var/lib/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 apng archive avahi avx berkdb bluetooth branding bzip2 cairo caps cdda cdr cli colord cracklib crypt cups curl cxx dbus dri dts dvd dvdr emacs emboss encode exif fam ffmpeg firefox flac fuse gdbm gif gnome gnome-keyring gnome-online-accounts gnutls gpg gpm gstreamer gtk gtk3 iconv icq icu idn introspection ipv6 jabber jpeg kpathsea lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl ntp offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline schroedinger sdl session smp socialweb spell sqlite sqlite3 sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vaapi vorbis vpx webgl wxwidgets x264 xcb xft xinerama xml xv xvid zlib zsh-completion" ABI_X86="64 32" 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" 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tassilo Horn 2014-01-06 09:29:36 UTC
Created attachment 367156 [details]
The complete (gzipped) build.log
Comment 2 Tassilo Horn 2014-01-06 11:36:49 UTC
I've tried compiling with MAKEOPTS="-j1" and only -O1 in CFLAGS, but it still fails.

Sorry, the original error location isn't shown in my original report.  It is here:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_WebCore -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./DerivedSources/Platform -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -DDATA_DIR=\"/usr/share\" -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./Source/WebCore -I./Source/WebCore/Modules/battery -I./Source/WebCore/Modules/filesystem -I./Source/WebCore/Modules/gamepad -I./Source/WebCore/Modules/geolocation -I./Source/WebCore/Modules/indexeddb -I./Source/WebCore/Modules/indieui -I./Source/WebCore/Modules/mediasource -I./Source/WebCore/Modules/mediastream -I./Source/WebCore/Modules/navigatorcontentutils -I./Source/WebCore/Modules/notifications -I./Source/WebCore/Modules/proximity -I./Source/WebCore/Modules/quota -I./Source/WebCore/Modules/webaudio -I./Source/WebCore/Modules/webdatabase -I./Source/WebCore/Modules/websockets -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/forms -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/archive/mhtml -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters/ -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/texmap -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/linux -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mediastream/gstreamer -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/network/gtk -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/shapes -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/style -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -I./Source/WebCore/platform/graphics/texmap -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -I./Source/WebCore/accessibility/atk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/egl -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -I./Source/WebCore/platform/text/enchant -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/harfbuzz -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libxml2 -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -fvisibility-inlines-hidden -fno-rtti -march=native -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -D_FORTIFY_SOURCE=2 -MT Source/WebCore/rendering/libWebCore_la-RenderLayerFilterInfo.lo -MD -MP -MF Source/WebCore/rendering/.deps/libWebCore_la-RenderLayerFilterInfo.Tpo -c Source/WebCore/rendering/RenderLayerFilterInfo.cpp  -fPIC -DPIC -o Source/WebCore/rendering/.libs/libWebCore_la-RenderLayerFilterInfo.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
Source/WebCore/rendering/RenderLayerFilterInfo.cpp:1:0: note: this is the location of the previous definition
 /*
 ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/memory:62:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/tr1/memory:39,
                 from ./Source/WTF/wtf/TypeTraits.h:30,
                 from ./Source/WTF/wtf/CheckedArithmetic.h:31,
                 from ./Source/WTF/wtf/StdLibExtras.h:31,
                 from ./Source/WTF/wtf/FastAllocBase.h:93,
                 from ./Source/WTF/wtf/PrintStream.h:30,
                 from ./Source/WebCore/platform/graphics/IntSize.h:29,
                 from ./Source/WebCore/platform/graphics/IntPoint.h:29,
                 from ./Source/WebCore/platform/animation/AnimationUtilities.h:29,
                 from ./Source/WebCore/platform/graphics/Color.h:29,
                 from ./Source/WebCore/platform/graphics/filters/FilterOperation.h:31,
                 from Source/WebCore/rendering/RenderLayerFilterInfo.h:36,
                 from Source/WebCore/rendering/RenderLayerFilterInfo.cpp:33:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_algobase.h: In instantiation of '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const long unsigned int*; _OI = long unsigned int*]':
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_algobase.h:428:38:   required from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const long unsigned int*; _OI = long unsigned int*]'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_algobase.h:460:17:   required from '_OI std::copy(_II, _II, _OI) [with _II = const long unsigned int*; _OI = long unsigned int*]'
./Source/WTF/wtf/Vector.h:739:65:   required from 'WTF::Vector<T, inlineCapacity, OverflowHandler>& WTF::Vector<T, inlineCapacity, OverflowHandler>::operator=(const WTF::Vector<T, inlineCapacity, OverflowHandler>&) [with T = long unsigned int; long unsigned int inlineCapacity = 0ul; OverflowHandler = WTF::CrashOnOverflow]'
./Source/WTF/wtf/HashTraits.h:198:12:   required from 'static void WTF::IdentityHashTranslator<HashFunctions>::translate(T&, const U&, const T&) [with T = WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >; U = WTF::String; HashFunctions = WTF::StringHash]'
./Source/WTF/wtf/HashTable.h:886:53:   required from 'WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::AddResult WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::add(const T&, const Extra&) [with HashTranslator = WTF::IdentityHashTranslator<WTF::StringHash>; T = WTF::String; Extra = WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >; Key = WTF::String; Value = WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> > >; HashFunctions = WTF::StringHash; Traits = WTF::HashMapValueTraits<WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::Vector<long unsigned int> > >; KeyTraits = WTF::HashTraits<WTF::String>; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::AddResult = WTF::HashTableAddResult<WTF::HashTableIterator<WTF::String, WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> > >, WTF::StringHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::Vector<long unsigned int> > >, WTF::HashTraits<WTF::String> > >]'
./Source/WTF/wtf/HashTable.h:396:59:   required from 'WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::AddResult WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::add(const ValueType&) [with Key = WTF::String; Value = WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> > >; HashFunctions = WTF::StringHash; Traits = WTF::HashMapValueTraits<WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::Vector<long unsigned int> > >; KeyTraits = WTF::HashTraits<WTF::String>; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::AddResult = WTF::HashTableAddResult<WTF::HashTableIterator<WTF::String, WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> > >, WTF::StringHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::Vector<long unsigned int> > >, WTF::HashTraits<WTF::String> > >; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType = WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >]'
./Source/WTF/wtf/HashTable.h:1180:20:   required from 'WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::HashTable(const WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>&) [with Key = WTF::String; Value = WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::String, WTF::Vector<long unsigned int> > >; HashFunctions = WTF::StringHash; Traits = WTF::HashMapValueTraits<WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::Vector<long unsigned int> > >; KeyTraits = WTF::HashTraits<WTF::String>]'
./Source/WTF/wtf/HashMap.h:43:11:   required from 'bool compareEqual(const T&, const U&) [with T = WTF::HashMap<WTF::String, WTF::Vector<long unsigned int> >; U = WTF::HashMap<WTF::String, WTF::Vector<long unsigned int> >]'
./Source/WebCore/rendering/style/RenderStyle.h:1304:83:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_algobase.h:391:5: internal compiler error: Segmentation fault
     }
     ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
GNUmakefile:56234: recipe for target 'Source/WebCore/rendering/libWebCore_la-RenderLayerFilterInfo.lo' failed
make[1]: *** [Source/WebCore/rendering/libWebCore_la-RenderLayerFilterInfo.lo] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.2.2/work/webkitgtk-2.2.2'
GNUmakefile:24051: recipe for target 'all' failed
make: *** [all] Error 2
Comment 3 Pacho Ramos gentoo-dev 2014-01-06 11:38:13 UTC
Are you able to reproduce this? In that case, does it always fail at the same step? What make version do you have?
Comment 4 Tassilo Horn 2014-01-06 11:38:24 UTC
Created attachment 367162 [details]
A better (gzipped) build.log done with MAKEOPTS="-j1"
Comment 5 Pacho Ramos gentoo-dev 2014-01-06 11:39:55 UTC
(In reply to Pacho Ramos from comment #3)
> Are you able to reproduce this? In that case, does it always fail at the
> same step? What make version do you have?

Looks like I missed last comment, in that last comment the segfault seems to come from gcc :/
Comment 6 Tassilo Horn 2014-01-06 12:33:38 UTC
(In reply to Pacho Ramos from comment #3)
> Are you able to reproduce this? In that case, does it always fail at the
> same step?

Yes, I can reproduce that, but currently I can't tell if it's always in the same place.

> What make version do you have?

I use sys-devel/make-4.0-r1.

I'll try another emerge and report back if it fails at the same location.
Comment 7 Tassilo Horn 2014-01-06 12:50:11 UTC
Hm, to test if it crashes always at the same location, it would be nice if I could resume the compile instead of starting over again.  I think this is somehow possible.  I've tried running

  $ ebuild /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.2.2.ebuild compile

as root, but then it'll fail with

  Fatal error: can't create Source/WebCore/xml/parser/.libs/libWebCore_la-MLDocumentParserLibxml2.o: Permission denied

That's probably because the files in /var/tmp/portage/net-libs/webkit-gtk-2.2.2 are owned by the user portage...

How do I resume correctly?
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-01-21 21:48:08 UTC
su yourself to portage.
Comment 9 Pacho Ramos gentoo-dev 2014-02-02 14:08:41 UTC
I still can't reproduce with 2.2.4 :|