Created attachment 307751 [details] full build log CC x86_64-softmmu/exec.o CC x86_64-softmmu/translate-all.o CC x86_64-softmmu/cpu-exec.o CC x86_64-softmmu/translate.o {standard input}: Assembler messages: {standard input}:20030471: Warning: partial line at end of file ignored i686-pc-linux-gnu-gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <http://bugs.gentoo.org/> for instructions. make[1]: *** [translate.o] Error 1 make: *** [subdir-x86_64-softmmu] Error 2 emake failed * ERROR: app-emulation/qemu-0.11.1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2821: Called _eapi2_src_compile * phase-helpers.sh, line 573: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =app-emulation/qemu-0.11.1', * the complete build log and the output of 'emerge -pqv =app-emulation/qemu-0.11.1'. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-0.11.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-0.11.1/temp/environment'. * S: '/var/tmp/portage/app-emulation/qemu-0.11.1/work/qemu-0.11.1' >>> Failed to emerge app-emulation/qemu-0.11.1, Log file: # emerge --info =app-emulation/qemu-0.11.1 Portage 2.1.10.49 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 i686) ================================================================= System Settings ================================================================= System uname: Linux-3.2.1-gentoo-r2-i686-Intel-R-_Atom-TM-_CPU_N570_@_1.66GHz-with-gentoo-2.0.3 Timestamp of tree: Tue, 03 Apr 2012 17:15:01 +0000 app-shells/bash: 4.2_p20 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo science x-portage ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=atom -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=atom -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en ru" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/science /usr/local/portage" SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa aspell berkdb branding bzip2 cairo cdda cdr cli clisp cracklib crypt cscope ctags cups curl cxx cyrillic dga dhcp djvu dri dts dvd dvdr dvipdfm emboss encode exif extra extras fbcon ffmpeg firefox flac fontconfig fortran ftp gdbm gdu gif gnutls gpg gpm graphics gs gsm gstreamer iconv imap ipv6 jpeg jpeg2k kpathsea lapack latex lcms luajit lzo mad mbox mercurial mikmod mmx mng modplug modules mp3 mp4 mpeg mpg123 mudflap ncurses network nls nntp nptl nptlonly ogg openal opengl openmp oss pango pcap pcre pdf png policykit ppds pppd python qdbm qt3support readline sasl sdl session smime smtp speex spell sqlite srtp sse sse2 ssl ssse3 svg sysfs tcpd theora tiff timidity tordns truetype udev unicode usb v4l v4l2 video vim-syntax vorbis vpx wavpack webm wifi x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-emulation/qemu-0.11.1 was built with the following: USE="alsa gnutls ncurses sasl sdl -bluetooth -esd -kqemu -kvm -pulseaudio -vde" QEMU_SOFTMMU_TARGETS="(arm) cris i386 (m68k) (mips) mips64 mips64el mipsel (ppc) (ppc64) ppcemb sh4 sh4eb (sparc) x86_64" QEMU_USER_TARGETS="(alpha) (arm) armeb cris i386 (m68k) (mips) mips64 mips64el mipsel (ppc) (ppc64) ppc64abi32 sh4 sh4eb (sparc) sparc32plus sparc64 x86_64" CFLAGS="-O2 -march=i686 -pipe" CXXFLAGS="-O2 -march=i686 -pipe" # emerge -pqv =app-emulation/qemu-0.11.1 [ebuild R ] app-emulation/qemu-0.11.1 USE="alsa gnutls ncurses sasl sdl -bluetooth -kqemu -kvm -pulseaudio -vde (-esd%)" QEMU_SOFTMMU_TARGETS="arm cris i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc x86_64" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64" Removing `-pipe` flag from CFLAGS resolves this problem.
i686-pc-linux-gnu-gcc: Internal error: Killed (program cc1) It got killed, probably by the OOM killer, so check dmesg for clues - it should tell you why it was done.
Here is dmesg fragment. mocp invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0 mocp cpuset=/ mems_allowed=0 Pid: 2371, comm: mocp Not tainted 3.2.1-gentoo-r2 #1 Call Trace: [<c106c525>] ? dump_header.clone.7+0x5b/0x12d [<c11230e6>] ? ___ratelimit+0xa6/0xb8 [<c106c6e0>] ? oom_kill_process.clone.10+0x25/0x1fb [<c102e7e2>] ? has_capability_noaudit+0x15/0x1d [<c106cbc5>] ? out_of_memory+0x218/0x274 [<c106f651>] ? __alloc_pages_nodemask+0x491/0x52a [<c1069eb7>] ? __page_cache_alloc+0xe/0x10 [<c106bd6b>] ? filemap_fault+0x200/0x2ec [<c107b841>] ? __do_fault+0x8a/0x2c0 [<c107d72e>] ? handle_pte_fault+0x226/0x542 [<c107db1c>] ? handle_mm_fault+0xd2/0xe2 [<c101955f>] ? do_page_fault+0x2c7/0x2e8 [<c121dfdc>] ? sys_recv+0x19/0x1d [<c121e589>] ? sys_socketcall+0x104/0x1c0 [<c1019298>] ? vmalloc_sync_all+0x7d/0x7d [<c1296f52>] ? error_code+0x5a/0x60 [<c1019298>] ? vmalloc_sync_all+0x7d/0x7d Mem-Info: DMA per-cpu: CPU 0: hi: 0, btch: 1 usd: 0 CPU 1: hi: 0, btch: 1 usd: 0 CPU 2: hi: 0, btch: 1 usd: 0 CPU 3: hi: 0, btch: 1 usd: 0 Normal per-cpu: CPU 0: hi: 186, btch: 31 usd: 32 CPU 1: hi: 186, btch: 31 usd: 0 CPU 2: hi: 186, btch: 31 usd: 0 CPU 3: hi: 186, btch: 31 usd: 0 HighMem per-cpu: CPU 0: hi: 186, btch: 31 usd: 102 CPU 1: hi: 186, btch: 31 usd: 0 CPU 2: hi: 186, btch: 31 usd: 0 CPU 3: hi: 186, btch: 31 usd: 0 active_anon:488767 inactive_anon:5581 isolated_anon:0 active_file:574 inactive_file:566 isolated_file:0 unevictable:8 dirty:0 writeback:0 unstable:0 free:12218 slab_reclaimable:1883 slab_unreclaimable:2498 mapped:109 shmem:19816 pagetables:810 bounce:0 DMA free:8096kB min:64kB low:80kB high:96kB active_anon:7816kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:4kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes lowmem_reserve[]: 0 865 2006 2006 Normal free:40256kB min:3728kB low:4660kB high:5592kB active_anon:802068kB inactive_anon:64kB active_file:2236kB inactive_file:2240kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:885944kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:68kB slab_reclaimable:7532kB slab_unreclaimable:9992kB kernel_stack:824kB pagetables:792kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:7071 all_unreclaimable? yes lowmem_reserve[]: 0 0 9132 9132 HighMem free:520kB min:512kB low:1740kB high:2972kB active_anon:1145184kB inactive_anon:22260kB active_file:60kB inactive_file:24kB unevictable:32kB isolated(anon):0kB isolated(file):0kB present:1168912kB mlocked:32kB dirty:0kB writeback:0kB mapped:432kB shmem:79196kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:2444kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:580 all_unreclaimable? yes lowmem_reserve[]: 0 0 0 0 DMA: 6*4kB 9*8kB 12*16kB 12*32kB 12*64kB 12*128kB 4*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 8096kB Normal: 569*4kB 609*8kB 365*16kB 196*32kB 89*64kB 34*128kB 17*256kB 3*512kB 1*1024kB 0*2048kB 1*4096kB = 40316kB HighMem: 124*4kB 32*8kB 8*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 880kB 20976 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 521840 pages RAM 294530 pages HighMem 5510 pages reserved 14934 pages shared 488986 pages non-shared [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name [ 810] 0 810 592 87 1 -17 -1000 udevd [ 1846] 0 1846 931 40 2 0 0 syslog-ng [ 1847] 0 1847 1552 121 3 0 0 syslog-ng [ 1860] 0 1860 465 28 1 0 0 acpid [ 1929] 0 1929 950 27 3 0 0 cron [ 1962] 1000 1962 1279 93 0 0 0 bash [ 1963] 0 1963 950 31 2 0 0 agetty [ 1964] 0 1964 950 31 0 0 0 agetty [ 1965] 0 1965 950 29 0 0 0 agetty [ 1966] 0 1966 950 29 3 0 0 agetty [ 1967] 0 1967 950 30 1 0 0 agetty [ 1971] 1000 1971 786 27 3 0 0 xinit [ 1972] 1000 1972 11043 2897 2 0 0 X [ 1982] 1000 1982 1619 121 0 0 0 i3 [ 1989] 1000 1989 824 46 0 0 0 syndaemon [ 1991] 1000 1991 825 40 0 0 0 i3bar [ 1992] 1000 1992 1195 43 0 0 0 i3status [ 1994] 1000 1994 3169 898 2 0 0 xterm [ 1996] 1000 1996 3801 1508 2 0 0 xterm [ 2000] 1000 2000 1279 86 3 0 0 bash [ 1999] 1000 1999 1279 85 2 0 0 bash [ 2008] 1000 2008 3184 902 0 0 0 xterm [ 2010] 1000 2010 1279 85 2 0 0 bash [ 2014] 0 2014 1279 93 2 0 0 bash [ 2157] 0 2157 707 53 2 0 0 pppd [ 2162] 1000 2162 66036 23396 2 0 0 luakit [ 2327] 1000 2327 3189 942 0 0 0 xterm [ 2354] 1000 2354 1279 82 2 0 0 bash [ 2365] 1000 2365 3174 895 0 0 0 xterm [ 2367] 1000 2367 1279 85 0 0 0 bash [ 2371] 1000 2371 7738 1725 1 0 0 mocp [ 2373] 1000 2373 3189 941 0 0 0 xterm [ 2375] 1000 2375 1279 79 0 0 0 bash [ 2379] 1000 2379 5029 2660 3 0 0 mcabber [ 2380] 1000 2380 21237 2196 1 0 0 mocp [ 2388] 0 2388 1164 39 1 0 0 screen [ 2389] 0 2389 1237 117 1 0 0 screen [ 2390] 0 2390 1279 91 3 0 0 bash [ 2394] 0 2394 16092 14055 1 0 0 emerge [ 7756] 0 7756 591 91 3 -17 -1000 udevd [ 7757] 0 7757 591 89 2 -17 -1000 udevd [16970] 1000 16970 3174 895 1 0 0 xterm [17029] 1000 17029 1279 94 0 0 0 bash [22793] 0 22793 463 28 0 0 0 sandbox [22794] 0 22794 1643 373 0 0 0 ebuild.sh [22811] 0 22811 1643 377 0 0 0 ebuild.sh [22818] 0 22818 1400 134 0 0 0 emake [22820] 0 22820 1188 177 0 0 0 make [23771] 0 23771 1156 124 2 0 0 make [24002] 0 24002 1369 115 1 0 0 sh [24003] 0 24003 1072 76 3 0 0 i686-pc-linux-g [24004] 0 24004 259209 252612 2 0 0 cc1 [24005] 0 24005 167268 166430 2 0 0 as Out of memory: Kill process 24004 (cc1) score 459 or sacrifice child Killed process 24004 (cc1) total-vm:1036836kB, anon-rss:1010448kB, file-rss:0kB