Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354657 - x11-libs/qt-webkit-4.7.1-r1: ICE with USE=jit and MAKEOPTS>"-j1"
Summary: x11-libs/qt-webkit-4.7.1-r1: ICE with USE=jit and MAKEOPTS>"-j1"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 20:07 UTC by Guy
Modified: 2011-02-18 14:24 UTC (History)
0 users

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


Attachments
fail log (qt-webkit.fail2.log,138.19 KB, text/plain)
2011-02-12 20:07 UTC, Guy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2011-02-12 20:07:10 UTC
I've looked at bug# 349063. If the description and discussion there are correct where the problem is defined as USE="jit" being incompatible with ppc architecture, then the problem I'm reporting is different even though it occurs in the same area.

active USE flags:

[ebuild  N     ] x11-libs/qt-webkit-4.7.1-r1  USE="dbus exceptions jit kde (-aqua) -debug -pch" 0 kB


With MAKEOPTS="-j2", qt-webkit fails with a segmentation fault:

oc/release-static -o .obj/release-static/JSNumberCell.o runtime/JSNumberCell.cpp
i686-pc-linux-gnu-g++ -c -O2 -march=i686 -pipe -I/usr/include/freetype2 -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -fno-stack-protector -O3 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_JIT=1 -DENABLE_YARR_JIT=1 -DENABLE_YARR=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_AVX -DQT_SHARED -I../../../../mkspecs/linux-g++ -I. -I../../../../include/QtCore -I../../../../include -I. -I../../webkit -Iassembler -Ibytecode -Ibytecompiler -Idebugger -Iinterpreter -Ijit -Iparser -Ipcre -Iprofiler -Iruntime -Iwtf -Iwtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I/include/QtWebKit -Ipcre -I/JavaScriptCore/tmp -I.moc/release-static -o .obj/release-static/JSObject.o runtime/JSObject.cpp
i686-pc-linux-gnu-g++ -c -O2 -march=i686 -pipe -I/usr/include/freetype2 -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -fno-stack-protector -O3 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_JIT=1 -DENABLE_YARR_JIT=1 -DENABLE_YARR=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_AVX -DQT_SHARED -I../../../../mkspecs/linux-g++ -I. -I../../../../include/QtCore -I../../../../include -I. -I../../webkit -Iassembler -Ibytecode -Ibytecompiler -Idebugger -Iinterpreter -Ijit -Iparser -Ipcre -Iprofiler -Iruntime -Iwtf -Iwtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I/include/QtWebKit -Ipcre -I/JavaScriptCore/tmp -I.moc/release-static -o .obj/release-static/JSONObject.o runtime/JSONObject.cpp
runtime/JSObject.cpp: In member function ‘virtual JSC::JSValue JSC::JSObject::defaultValue(JSC::ExecState*, JSC::PreferredPrimitiveType) const’:
runtime/JSObject.cpp:262:9: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make: *** [.obj/release-static/JSObject.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: x11-libs/qt-webkit-4.7.1-r1 failed (compile phase):

With MAKEOPTS="-j1" compile proceeds.
Comment 1 Guy 2011-02-12 20:07:48 UTC
Created attachment 262275 [details]
fail log
Comment 2 Guy 2011-02-12 20:25:21 UTC
emerge --info data:

Portage 2.2.0_alpha23 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.13-r0, 2.6.37 i686)
=================================================================
System uname: Linux-2.6.37-i686-AMD_Athlon-tm-_XP-with-gentoo-2.0.1
Timestamp of tree: Wed, 09 Feb 2011 01:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.5
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10 AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aften aio alsa amr ao apache2 audiofile automount avahi bash-completion bdf berkdb bonjour boost bzip2 cairo cdda cddb cdio cdparanoia cdr cgi chm cjk cleartype cli consolekit cracklib crypt css cups curl curlwrappers cxx dbase dbus dga directfb djvu dri dts dv dvd dvdr dynamic eds emovix encode exif expat fam fat fbcon ffmpeg fftw filter flac flash fontconfig foomaticdb fortran fpx ftp fuse gcj gd gdbm ggi gif gimp glib glibc-omitfp gmp gnutls gphoto2 gpm graphviz gs gstreamer gtk guile hal hddtemp hdri html iconv icu id3tag idea imagemagick imap imlib inkjar inotify insecure-savers ipfilter ipv6 irc jabber java javascript jbig jpeg jpeg2k kde kerberos kipi lame latex lcms libcaca libnotify libsamplerate libvisual live lm_sensors lzo mad matroska midi mikmod mjpeg mmap mmx mmxext mng modplug modules mono mp3 mp4 mpeg mpi mplayer msn msql mudflap multiuser musepack mysql mysqli nas ncurses network nfs nls nntp nptl nptlonly nsplugin ntfs odbc offensive ogg ogm openal openexr opengl openmp oscar pam pango pcre pda pdf perl php plotutils plugins png policykit posix postscript ppds pppd private-headers ps pulseaudio python q32 qt3support qt4 quicktime rar raster raw rdesktop readline recode reflection regex rle rss rtc ruby samba sasl scanner schroedinger sdk sdl sensord session sftp sharedmem sift simplexml sndfile snmp soap sockets sox speex spell spl sql sqlite sse sse2 ssl subversion svg swat sysfs syslog t1lib taglib tcl tcpd tga theora threads tidy tiff timidity tk tokenizer toolbar tools transcode truetype udev unicode usb utils v4l v4l2 vcd vdr vorbis wav wavpack webkit winbind wmf x264 x86 xanim xcomposite xfs xft xine xinerama xml xmlrpc xorg xosd xpm xscreensaver xv xvid xvmc yaepg yahoo zeroconf zip zlib zoran" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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
Comment 3 Rafał Mużyło 2011-02-12 20:33:19 UTC
Any chance you're simply running out of memory ?
Comment 4 Guy 2011-02-12 23:36:21 UTC
(In reply to comment #3)
> Any chance you're simply running out of memory ?
> 

Possible but I think rather unlikely - 1 gig ram. 2 gigs swap. Nothing else runnning. No GUIs - only CLI. This is pretty much a bog standard single CPU core original Athlon.

I had no problem emerging 'gcc-4.5.2' several times which, based on past experience, is where I would have expected to run out of memory first.

On the other hand, I don't have a real feel anymore for how much memory qt-webkit wants in terms of -j# so it's certainly possible. At this point, I don't know how to set up to be able to tell.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2011-02-15 13:55:48 UTC
You didn't explain what USE=jit has to do with the build failure... doesn't it fail with USE="-jit"?

BTW, does the build fail always at the same point?
Comment 6 Guy 2011-02-18 14:24:58 UTC
(In reply to comment #3)
> Any chance you're simply running out of memory ?
> 

At this point in time and despite my desire to believe otherwise and after having been closely monitoring building this system, personal observation has forced me to conclude that indeed, I'm running out of memory.

Having built gentoo installs on small systems in the past, I'm rather surprised to find that today's builds seem to choke on systems with 1G ram. Since an immediate 'emerge --resume' gets around the problem, I see the issue as most likely being one involving either the kernel or gcc when a large list of packages are being install. {sigh}

Closing bug as invalid.