Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291246

Summary: sys-devel/gcc-4.4.2 compilation failed: assembler error
Product: Gentoo Linux Reporter: Mathieu Z <mobiusstripper>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Mathieu Z 2009-10-31 01:40:32 UTC
make failed on amd64/nomultilib (see log).

Reproducible: Always

Steps to Reproduce:
1. emerge gcc
2.
3.

Actual Results:  
/var/tmp/portage/sys-devel/gcc-4.4.2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.2/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c  -march=nocona -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../libdecnumber/bid -I../libdecnumber    /var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/dwarf2out.c -o dwarf2out.o
{standard input}: Assembler messages:
{standard input}:129663: Warning: end of file not at end of a line; newline inserted
{standard input}:131501: Error: no such instruction: `m'
{standard input}:131501: Error: open CFI at the end of file; missing .cfi_endproc directive
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [insn-attrtab.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcc.pod gfortran.pod
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.2/work/build/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.2/work/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.2/work/build'
make: *** [bootstrap-lean] Error 2

Expected Results:  
should compiles.
Comment 1 Mathieu Z 2009-10-31 01:45:15 UTC
Created attachment 208819 [details]
build log

ult/linux/amd64/10.0/no-multilib, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Oct 2009 10:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch parallel_fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed"
LINGUAS="en zh zh_TW zh_CN ja"
MAKEOPTS="-j4 -l"
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="/usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/sunrise /usr/local/portage/overylay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo caps cdaudio cddb cdparanoia cdr cjk cli cracklib crypt cscope css cups curl curlwrappers cvs cxx dbus dga directfb djvu dri dts dv dvd dvdr dvdread encode enscript exif expat fam fastcgi fbcon ffmpeg firefox flac flash fontconfig foomaticdb fortran ftp fuse gd gdbm git glib glut gnome gnome-keyring gnutls gphoto2 gpm gps graphviz gs gstreamer gtk hal httpd iconv icq icu idn ieee1394 imagemagick imap imlib innodb ipod ipv6 isdnlog jabber javascript jingle joystick jpeg jpeg2k kpathsea lame latex lcms libcaca libnotify libsamplerate lm_sensors lzo m17n-lib mad matroska mercurial mmx mmxext modules mp3 mp4 mpeg mplayer msn mudflap musepack musicbrainz mysql mysqli ncurses netboot nforce2 nis nls nntp nptl nptlonly nsplugin odbc ogg openal opengl openmp osc oscar pae pam pch pcre pda pdf perl php plotutils png posix postgres ppds pppd pulseaudio python python3 qq quicktime raw readline recode reflection rss ruby samba scanner session simplexml slang sndfile sockets socks5 speex spell spl sqlite sqlite3 sse sse2 sse2i sse3 ssl subversion svg sysfs taglib tcpd theora threads tidy tiff timidity truetype unicode upnp usb v4l2 vcd vhosts vim-syntax vorbis wav wavepack wma wmf wmp x264 x86emu xcb xcomposite xforms xft xine xinerama xml xorg xosd xsl xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LINGUAS="en zh zh_TW zh_CN ja" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Sebastian Luther (few) 2009-10-31 07:04:12 UTC
Please make sure you didn't run out of disk space or memory. Maybe try with MAKEOPTS="-j1". Make sure it fails at the exact same point with the same message. If so, attach the complete build.log.
Comment 3 Mathieu Z 2009-10-31 20:36:20 UTC
You are right. My /var/tmp partition filled up.