Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586030 - dev-qt/qtgui-5.6.1: x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Summary: dev-qt/qtgui-5.6.1: x86_64-pc-linux-gnu-g++: internal compiler error: Killed ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 16:21 UTC by Andrey Grozin
Modified: 2016-06-15 17:00 UTC (History)
0 users

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


Attachments
build log (qtgui-5.6.1.log,46.63 KB, text/plain)
2016-06-15 16:21 UTC, Andrey Grozin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2016-06-15 16:21:05 UTC
Created attachment 437666 [details]
build log

x86_64-pc-linux-gnu-g++ -c -O2 -march=native -pipe -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_ENABLE_HARFBUZZ_NG -DENABLE_PIXMAN_DRAWHELPERS -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.6.1 -I../../include/QtGui/5.6.1/QtGui -isystem /usr/include/libdrm -isystem /usr/include/qt5/QtCore/5.6.1 -isystem /usr/include/qt5/QtCore/5.6.1/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qaccessibleplugin.o accessible/qaccessibleplugin.cpp
x86_64-pc-linux-gnu-g++ -c -O2 -march=native -pipe -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_ENABLE_HARFBUZZ_NG -DENABLE_PIXMAN_DRAWHELPERS -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.6.1 -I../../include/QtGui/5.6.1/QtGui -isystem /usr/include/libdrm -isystem /usr/include/qt5/QtCore/5.6.1 -isystem /usr/include/qt5/QtCore/5.6.1/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qplatformaccessibility.o accessible/qplatformaccessibility.cpp
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:13176: .obj/qaccessibleobject.o] Error 4
make: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:13355: .obj/qaccessibleplugin.o] Error 4
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:2035: .obj/qimage_sse4.o] Error 4
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:2220: .obj/qdrawhelper_sse4.o] Error 4
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:12957: .obj/qaccessiblecache.o] Error 4
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:12781: .obj/qaccessible.o] Error 4
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:2374: .obj/qimagescale_sse4.o] Error 4
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:13554: .obj/qplatformaccessibility.o] Error 4
 * ERROR: dev-qt/qtgui-5.6.1::gentoo failed (compile phase):
 *   emake failed

dns ~ # emerge --info '=dev-qt/qtgui-5.6.1::gentoo'
Portage 2.3.0_rc1 (python 3.4.4-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.23-r2, 4.6.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.6.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     8074492 total,   1093188 free
KiB Swap:   10485756 total,  10485556 free
Timestamp of repository gentoo: Wed, 15 Jun 2016 14:45:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.3.5-r8::gentoo, 3.4.4::gentoo, 3.5.1-r3::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

lisp
    location: /var/lib/layman/lisp
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

grozin
    location: /usr/local/portage
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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="-O2 -march=native -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 xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="X a52 aac acpi alsa amd64 bash-completion berkdb blas bluetooth boehm-gc branding browserplugin bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups curl cxx dbus declarative dirac doc dri dvd emacs enca encode exif fam ffmpeg fftw firefox flac fortran gd gdbm gif glamor gmp gpm gsl gtk iconv imagemagick jpeg kde kipi kpathsea lapack latex lcms ldap libnotify lzma mad mmx mmxext mng modules mozilla mp3 mp4 mpeg multilib ncurses nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf phonon plasma plotutils png policykit ppds python qml qt3support qt4 qt5 readline schroedinger sdl seccomp semantic-desktop session speex spell sse sse2 ssl startup-notification svg tcl tcpd theora tiff tk truetype udev udisks umfpack unicode upower usb v4l2 vorbis widgets win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="ru en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5" RUBY_TARGETS="ruby21 ruby22" 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"
USE_PYTHON="2.7 3.3"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

dns ~ # emerge -pqv '=dev-qt/qtgui-5.6.1::gentoo'
[ebuild     U ] dev-qt/qtgui-5.6.1 [5.6.0-r1] USE="dbus gif jpeg png udev xcb -accessibility -debug -egl -eglfs -evdev -gles2 -gtkstyle -ibus -libinput {-test} -tslib -tuio"                                                                                               

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-qt/qtgui:5

  (dev-qt/qtgui-5.6.1:5/5.6::gentoo, ebuild scheduled for merge) pulled in by
    =dev-qt/qtgui-5.6.1::gentoo (Argument)

  (dev-qt/qtgui-5.6.0-r1:5/5.6::gentoo, installed) pulled in by
    ~dev-qt/qtgui-5.6.0[xcb] required by (dev-qt/qtx11extras-5.6.0:5/5.6::gentoo, installed)
    ^             ^^^^^                                                                                                                            
    (and 11 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2016-06-15 16:23:24 UTC
out of memory? check dmesg please
Comment 2 Andrey Grozin gentoo-dev 2016-06-15 16:46:31 UTC
(In reply to Davide Pesavento from comment #1)
> out of memory? check dmesg please
Hmm. I see a lot of messages like

Jun 15 20:59:36 dns kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Jun 15 20:59:36 dns kernel: IP: [<ffffffff81075220>] down_read_trylock+0x0/0x20
Jun 15 20:59:36 dns kernel: PGD b44fb067 PUD c3eda067 PMD 0 
Jun 15 20:59:36 dns kernel: Oops: 0000 [#7] SMP 
Jun 15 20:59:36 dns kernel: Modules linked in: nls_cp437 ctr ccm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_
core rtsx_pci_sdmmc mmc_core rtl8723ae btcoexist rtl_pci rtlwifi mac80211 r8169 rtsx_pci mii cfg80211 xhci_pci rfkill xhci_hcd rtl8723
_common i2c_i801 mfd_core x86_pkg_temp_thermal
Jun 15 20:59:36 dns kernel: CPU: 3 PID: 18048 Comm: cc1plus Tainted: G    B D W       4.6.2-gentoo #1
Jun 15 20:59:36 dns kernel: Hardware name: CLEVO CO.                        W110ER                          /W110ER                   
       , BIOS 4.6.5 04/26/2012
Jun 15 20:59:36 dns kernel: task: ffff8801ffccf080 ti: ffff8802030d4000 task.ti: ffff8802030d4000
Jun 15 20:59:36 dns kernel: RIP: 0010:[<ffffffff81075220>]  [<ffffffff81075220>] down_read_trylock+0x0/0x20
Jun 15 20:59:36 dns kernel: RSP: 0000:ffff8802030d79f8  EFLAGS: 00010202
Jun 15 20:59:36 dns kernel: RAX: 0000000000000000 RBX: ffffea00021f9140 RCX: ffff8802030d7b20
Jun 15 20:59:36 dns kernel: RDX: 0000000000000000 RSI: ffff8802030d7a98 RDI: 0000000000000008
Jun 15 20:59:36 dns kernel: RBP: ffff8800c2fbd3c1 R08: 0000000000017438 R09: 0000000000000010
Jun 15 20:59:36 dns kernel: R10: 0000000000000000 R11: ffff8802030d7d18 R12: ffff8800c2fbd3c0
Jun 15 20:59:36 dns kernel: R13: 0000000000000008 R14: ffffea00021f9140 R15: ffff88022f5f3a08
Jun 15 20:59:36 dns kernel: FS:  00007f168a3d0840(0000) GS:ffff88022f2c0000(0000) knlGS:0000000000000000
Jun 15 20:59:36 dns kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 15 20:59:36 dns kernel: CR2: 0000000000000008 CR3: 00000000ac5f4000 CR4: 00000000001406e0
Jun 15 20:59:36 dns kernel: Stack:
Jun 15 20:59:36 dns kernel:  ffffffff810f6097 ffffea00021f9140 0000000000000000 ffff8802030d7a98
Jun 15 20:59:36 dns kernel:  ffffea00021f9140 ffffffff810f4ca9 ffff8801ffccf080 ffff8801ffccf080
Jun 15 20:59:36 dns kernel:  ffff8801ffccf080 0000000000000001 ffffea00021f9140 0000000000000000
Jun 15 20:59:36 dns kernel: Call Trace:
Jun 15 20:59:36 dns kernel:  [<ffffffff810f6097>] ? page_lock_anon_vma_read+0x57/0x1b0
Jun 15 20:59:36 dns kernel:  [<ffffffff810f4ca9>] ? rmap_walk_anon+0x109/0x190
Jun 15 20:59:36 dns kernel:  [<ffffffff810f62fc>] ? page_referenced+0xdc/0x190
Jun 15 20:59:36 dns kernel:  [<ffffffff810f5040>] ? __page_check_address+0x110/0x110
Jun 15 20:59:36 dns kernel:  [<ffffffff810f6040>] ? page_get_anon_vma+0xe0/0xe0
Jun 15 20:59:36 dns kernel:  [<ffffffff810daa2b>] ? shrink_active_list+0x1cb/0x320
Jun 15 20:59:36 dns kernel:  [<ffffffff810db0d1>] ? shrink_zone_memcg.isra.17+0x551/0x6d0
Jun 15 20:59:36 dns kernel:  [<ffffffff810db287>] ? shrink_zone+0x37/0x90
Jun 15 20:59:36 dns kernel:  [<ffffffff810db405>] ? do_try_to_free_pages+0x125/0x280
Jun 15 20:59:36 dns kernel:  [<ffffffff810db5eb>] ? try_to_free_pages+0x8b/0xa0
Jun 15 20:59:36 dns kernel:  [<ffffffff810d1c21>] ? __alloc_pages_nodemask+0x401/0x8d0
Jun 15 20:59:36 dns kernel:  [<ffffffff810d5d6d>] ? pagevec_lru_move_fn+0xed/0x110
Jun 15 20:59:36 dns kernel:  [<ffffffff810ed66c>] ? handle_mm_fault+0xe9c/0x1180
Jun 15 20:59:36 dns kernel:  [<ffffffff810f19f8>] ? do_brk+0x1a8/0x2c0
Jun 15 20:59:36 dns kernel:  [<ffffffff81039dba>] ? __do_page_fault+0x15a/0x470
Jun 15 20:59:36 dns kernel:  [<ffffffff815be972>] ? page_fault+0x22/0x30
Jun 15 20:59:36 dns kernel: Code: 48 89 c6 5b e9 a2 81 54 00 48 8b 7b 08 48 89 04 24 e8 b5 6b 54 00 48 8b 04 24 48 83 c4 08 48 89 df 5b 48 89 c6 e9 81 81 54 00 90 <48> 8b 07 48 89 c2 48 83 c2 01 7e 07 f0 48 0f b1 17 75 f0 48 f7 
Jun 15 20:59:36 dns kernel: RIP  [<ffffffff81075220>] down_read_trylock+0x0/0x20
Jun 15 20:59:36 dns kernel:  RSP <ffff8802030d79f8>
Jun 15 20:59:36 dns kernel: CR2: 0000000000000008
Jun 15 20:59:36 dns kernel: BUG: unable to handle kernel 
Jun 15 20:59:36 dns kernel: ---[ end trace b7ca6b5c942416d8 ]---

Hardware problems? Until now, my notebook worked well.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2016-06-15 17:00:15 UTC
From the stack trace it looks like the kernel is under heavy memory pressure and it dereferences a NULL pointer while trying to free some memory. Could be simply a kernel bug, or a random memory error, or corruption, or hardware problems... hard to tell.

You can try with a lower -j setting in MAKEOPTS, or with a different kernel version, but I'm pretty sure it's not a compiler bug or an issue with qtgui itself, so I'm closing as invalid for now.