Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214703 - Unable to compile sys-kernel/gentoo-sources 2.6.24-r3: internal compiler error: Bus error
Summary: Unable to compile sys-kernel/gentoo-sources 2.6.24-r3: internal compiler erro...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 14:51 UTC by mlartz
Modified: 2008-03-25 15:10 UTC (History)
0 users

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


Attachments
Kernel .config (kernel.config.txt,42.74 KB, text/plain)
2008-03-25 14:52 UTC, mlartz
Details
/tmp/ccVntgLb.out - preprocessed source (ccVntgLb.out.txt,141.19 KB, text/plain)
2008-03-25 14:53 UTC, mlartz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mlartz 2008-03-25 14:51:57 UTC
I am reinstalling Gentoo 2007.0 from scratch, and have followed the standard instructions, however I cannot compile the kernel from within the chroot.  I get the following error:

livecd linux # make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/mod/file2alias.o
scripts/mod/file2alias.c: In function 'do_pcmcia_entry':
scripts/mod/file2alias.c:345: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccVntgLb.out file, please attach this to your bugreport.
make[2]: *** [scripts/mod/file2alias.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
livecd linux #

This happens at the same file every time.  If I parallelize make, I get:

livecd linux # make -j2
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/kallsyms
scripts/kallsyms.c: In function 'main':
scripts/kallsyms.c:511: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
scripts/mod/file2alias.c: In function 'do_pcmcia_entry':
scripts/mod/file2alias.c:345: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccXbuzZd.out file, please attach this to your bugreport.
make[1]: *** [scripts/kallsyms] Error 1
make[1]: *** Waiting for unfinished jobs....
  HOSTCC  scripts/mod/modpost.o
Preprocessed source stored into /tmp/ccj499As.out file, please attach this to your bugreport.
make[2]: *** [scripts/mod/file2alias.o] Error 1
make[2]: *** Waiting for unfinished jobs....
scripts/mod/modpost.c: In function 'buf_write':
scripts/mod/modpost.c:1334: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccdWq9vf.out file, please attach this to your bugreport.
make[2]: *** [scripts/mod/modpost.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
livecd linux #

Is this the dreaded "Compile Metabug"?  This machine compiled several things correctly yestereday, and, in the process of installing the machine, I have already compiled several ebuilds today.



Reproducible: Always

Steps to Reproduce:
1.  Follow installation docs for 2007.0
2.  Configure kernel
3.  make





livecd linux # uname -a
Linux hyperion 2.6.19-gentoo-r5 #1 SMP Fri Mar 23 22:03:13 UTC 2007 x86_64 AMD Sempron(tm) Processor 2600+ AuthenticAMD GNU/Linux
livecd linux # gcc --version
gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

livecd linux # make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu
livecd linux # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Sempron(tm) Processor 2600+
Timestamp of tree: Mon, 24 Mar 2008 18:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.tds.net/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow a52 aac acl acpi aim alsa amd64 apache2 apm audiofile avahi bash-completion berkdb bluetooth bzip2 cairo cddb cdr cgi cli cparanoia cracklib crypt css ctype cups curl cvs cxx dbm dbus dga directfb dri dv dvb dvd dvdr dvdread emacs encode examples exif expat fam fastcgi ffmpeg firefox flac flatfile fltk fortran ftp gd gdbm ggi gif gimp gnome gnuplot gnutls gpm graphviz gstreamer gtk guile hal iconv imap imlib ipod ipv6 isdnlog jabber java java6 javascript jikes jpeg jpeg2k kerberos lame lash latex ldap leim libgda libnotify libwww lirc lm_sensors lua mad maildir mbox midi mmap mmx mng mozilla mp3 mpeg mplayer mudflap nas ncurses nis nls nntp nptl nptlonly nsplugin ocaml odbc offensive ofx ogg opengl openmp pam pcre pdf perl plotutils png posix postgres pppd profile python quicktime raw rdesktop readline reflection rss ruby samba sasl sdl session sndfile soap sockets socks5 spell spl sqlite sqlite3 sse sse2 ssl subversion svg szip tcpd tetex threads tidy tiff tk truetype unicode usb v4l v4l2 vim-syntax vnc vorbis wavpack wmf xattr xine xinerama xinetd xml xorg xscreensaver xvid zeroconf zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 mlartz 2008-03-25 14:52:39 UTC
Created attachment 147269 [details]
Kernel .config
Comment 2 mlartz 2008-03-25 14:53:17 UTC
Created attachment 147271 [details]
/tmp/ccVntgLb.out - preprocessed source
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-25 15:10:27 UTC
Upgrade your gcc to latest stable at least (4.1.2 ATM) before reporting compiler issues. Also your kernel is very outdated. Thanks.