Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507928 - dev-qt/qtgui-4.8.5-r1 - In file included from image/qpixmap.cpp:42: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/stddef.h:1:0: internal compiler error: Segmentation fault
Summary: dev-qt/qtgui-4.8.5-r1 - In file included from image/qpixmap.cpp:42: /usr/lib/...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-17 18:47 UTC by wsuhanic
Modified: 2014-04-20 18:21 UTC (History)
1 user (show)

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


Attachments
The attachment contains the output of the command emerge --info (emerge.info,4.46 KB, text/plain)
2014-04-17 18:47 UTC, wsuhanic
Details
build.log (qtgui485r1.build.log,125.19 KB, text/plain)
2014-04-17 20:39 UTC, wsuhanic
Details
emerge --info (emerge.info.qtgui-4.8.5-r1,4.60 KB, text/plain)
2014-04-17 20:40 UTC, wsuhanic
Details
this is the output of emerge -pqv (emerge.pqv.qtgui-4.8.5-r1,366 bytes, text/plain)
2014-04-17 20:41 UTC, wsuhanic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wsuhanic 2014-04-17 18:47:12 UTC
Created attachment 375148 [details]
The attachment contains the output of the command emerge --info

x86_64-pc-linux-gnu-g++ -c -o projectgenerator.o -march=k8 -O2 -pipe  -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5/include -I/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5/include/QtCore -I/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5/src/corelib/global -I/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5/src/corelib/xml -I/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED  generators/projectgenerator.cpp
generators/projectgenerator.cpp: In member function ‘virtual void ProjectGenerator::init()’:
generators/projectgenerator.cpp:345:1: internal compiler error: Segmentation fault

Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
gmake: *** [projectgenerator.o] Error 1
 ^[[31;01m*^[[0m ERROR: dev-qt/qtcore-4.8.5-r1::gentoo failed (configure phase):
 ^[[31;01m*^[[0m   ./configure failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   93:  Called src_configure
 ^[[31;01m*^[[0m   environment, line 2889:  Called qt4-build_src_configure
 ^[[31;01m*^[[0m   environment, line 2538:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       ./configure ${conf} || die "./configure failed";
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-qt/qtcore-4.8.5-r1::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-qt/qtcore-4.8.5-r1::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5'
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-04-17 18:49:54 UTC
If I had to guess I'd say you ran out of memory.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-04-17 19:39:39 UTC
Please check dmesg or your system log for signs of the OOM killer, and attach the full build.log
Comment 3 wsuhanic 2014-04-17 20:39:44 UTC
Created attachment 375154 [details]
build.log

This is the latest build.log
Comment 4 wsuhanic 2014-04-17 20:40:40 UTC
Created attachment 375156 [details]
emerge --info

This is the output of emerge --info
Comment 5 wsuhanic 2014-04-17 20:41:48 UTC
Created attachment 375158 [details]
this is the output of emerge -pqv

This is the emerge -pqv
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-17 22:00:09 UTC
Comment on attachment 375158 [details]
this is the output of emerge -pqv

[ebuild  N    ] dev-qt/qtgui-4.8.5-r1  USE="accessibility cups exceptions glib mng qt3support tiff xv (-aqua) -debug -egl -gtkstyle -nas -nis -pch -trace -xinerama" 
[ebuild  N    ] dev-qt/qt3support-4.8.5  USE="accessibility exceptions (-aqua) -debug -pch"
Comment 7 Michael Palimaka (kensington) gentoo-dev 2014-04-18 06:32:32 UTC
Is this reproducible? What is the output of dmesg | tail when it segfaults?
Comment 8 wsuhanic 2014-04-18 17:42:29 UTC
emerge --info '=dev-qt/qtgui-4.8.5-r1::gentoo yields:

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.2
KiB Mem:     1247876 total,    296968 free
KiB Swap:    2047996 total,   2047692 free
Timestamp of tree: Wed, 16 Apr 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/pkgconfig:       0.28
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.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
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2"
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://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml 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" 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="keyboard mouse evdev" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="SIS" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 9 wsuhanic 2014-04-18 17:43:37 UTC
emerge -pqv '=dev-qt/qtgui-4.8.5-r1::gentoo' yields:

[ebuild  N    ] dev-qt/qtsql-4.8.5  USE="exceptions qt3support sqlite (-aqua) -debug -firebird -freetds -mysql -oci8 -odbc -pch -postgres"
[ebuild  N    ] dev-qt/qtgui-4.8.5-r1  USE="accessibility cups exceptions glib mng qt3support tiff xv (-aqua) -debug -egl -gtkstyle -nas -nis -pch -trace -xinerama"
[ebuild  N    ] dev-qt/qt3support-4.8.5  USE="accessibility exceptions (-aqua) -debug -pch"

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2014-04-18 17:44:41 UTC
You already posted that information. Please don't CC arch teams.

Does it fail when you try to emerge it again? If it does, can you paste here the output of "dmesg | tail" immediately after it fails?
Comment 11 wsuhanic 2014-04-18 17:52:11 UTC
contents of /var/tmp/portage/dev-qt/qtgui-4.8.5-r1/temp/build.log:

x86_64-pc-linux-gnu-g++ -c -march=k8 -O2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -I/usr/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -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_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qlinecontrol.o widgets/qlinecontrol.cpp
In file included from ../../include/QtGui/private/qpixmapfilter_p.h:1:0,
                 from ../../include/QtGui/private/../../../src/gui/effects/qgraphicseffect_p.h:61,
                 from ../../include/QtGui/private/qgraphicseffect_p.h:1,
                 from ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:65,
                 from ../../include/QtGui/private/qwidget_p.h:1,
                 from widgets/qlinecontrol_p.h:59,
                 from widgets/qlinecontrol.cpp:42:
../../include/QtGui/private/../../../src/gui/image/qpixmapfilter_p.h:149:20: internal compiler error: Segmentation fault

Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [.obj/release-shared/qlinecontrol.o] Error 1
 ^[[31;01m*^[[0m ERROR: dev-qt/qtgui-4.8.5-r1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-qt/qtgui-4.8.5-r1::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-qt/qtgui-4.8.5-r1::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-qt/qtgui-4.8.5-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtgui-4.8.5-r1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-qt/qtgui-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5/src/gui'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-qt/qtgui-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5'
Comment 12 wsuhanic 2014-04-18 17:53:50 UTC
Output of dmesg | tail 

gentoo1 ~ # dmesg | tail
[    2.218728] init-early.sh (737) used greatest stack depth: 4560 bytes left
[    2.282071] Switched to clocksource tsc
[    3.250274] systemd-udevd[898]: starting version 208
[    3.824186] systemd-udevd[921]: renamed network interface eth0 to enp0s13
[    3.908204] cdrom_id (927) used greatest stack depth: 4448 bytes left
[    5.606139] EXT4-fs (sda4): re-mounted. Opts: (null)
[    5.798407] Adding 2047996k swap on /dev/sda3.  Priority:-1 extents:1 across:2047996k
[    5.968769] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[    7.336799] 8139too 0000:00:0d.0 enp0s13: link up, 10Mbps, half-duplex, lpa 0x0000
[  303.782048] kworker/0:1 (397) used greatest stack depth: 4296 bytes left
gentoo1 ~ #

Did it run out of RAM?
I removed -pipe for make.conf. How else do I minimize my usage of ram?
Comment 13 wsuhanic 2014-04-18 19:29:33 UTC
emerge --ask dev-qt/qtcore now works.
I did tow things:

1)in make.conf I set MAKEOPTS="-j1"
2)allocated an extra 4Gigs of swap space. 

I believe the MAKEOPTS="-j1" is what made the difference.

I now have successfully built and installed the following:

dev-qt/qt3support
dev-qt/qtcore
dev-qt/qtgui
dev-qt/qtscript
dev-qt/qtsql
Comment 14 wsuhanic 2014-04-20 17:42:49 UTC
My goal is to install kde on a 7 year old machine with an AMD Atholon64 3000+ CPU and 1.3Gigs of RAM. Apparently that was not enough RAM. Once I got 2 Gigs of RAM into the machine all the compile problems have disappeared. However I was able to compile KDE on an 8 year old machine with an AMD Sempron 2800+ and 512 Megs of RAM although this was the x86 code base not the x86_64 code base. So from my  experiment with two data points, I can say that if you are compiling the x86_64 KDE code base you atleast 2 Gigs of RAM and if you are compiling the x86 KDE code base 512 Megs of RAM is enough.

regards,

west suhanic
Comment 15 Davide Pesavento (RETIRED) gentoo-dev 2014-04-20 18:21:17 UTC
Please stop changing the resolution. This is NOT a bug.