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

Bug 126654

Summary: Kernel compilation failure (segfault) ... make: *** [.tmp_vmlinux1] Error 139
Product: Gentoo Linux Reporter: Boschidar Ganev <rasta_in_ny>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-p-3189441.html#3189441
Whiteboard:
Package list:
Runtime testing required: ---

Description Boschidar Ganev 2006-03-18 06:02:07 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http:///http.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apm arts audiofile avi berkdb bitmap-fonts bluetooth bonobo bzip2 cdb cdparanoia cdr cjk crypt cups curl dbus divx4linux dri dv dvd dvdr dvdread eds emboss encode esd exif expat fam fbcon ffmpeg foomaticdb fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq idn ieee1394 imagemagick imlib ipv6 java javascript jpeg kde lcms libcaca libg++ libwww lirc lm_sensors mad matroska mikmod mime mmx mng motif mp3 mpeg msn ncurses nls nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline samba scanner sdl spell sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd verbose vorbis wifi win32codecs xine xinerama xml xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Boschidar Ganev 2006-03-18 06:04:35 UTC
See the URL. I've posted what the problem is in the gentoo forums.
Let me know if you need extra.
And please...help! As I cannot compile my kernel (at least since switching to gc-3.4.5).
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-18 06:07:02 UTC
Please, never refer to forums/pastebins/etc. for error logs when reporting bugs. Makes searching for duplicates completely useless. Post relevant errors here (or attach if it's long output) and reopen then. 
Comment 3 Boschidar Ganev 2006-03-18 06:57:10 UTC
# make && make modules_install

(compiles happily (I've truncated the ouptut-let me know if all is required, until it reaches this point):
...
  AR      arch/i386/lib/lib.a 
  GEN     .version 
  CHK     include/linux/compile.h 
  UPD     include/linux/compile.h 
  CC      init/version.o 
  LD      init/built-in.o 
  LD      .tmp_vmlinux1 
/bin/sh: line 1: 29047 Segmentation fault      ld -m elf_i386 -m elf_i386 -o .tmp_vmlinux1 -T arch/i386/kernel/vmlinux.lds arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/i386/kernel/built-in.o arch/i386/mm/built-in.o arch/i386/mach-default/built-in.o arch/i386/crypto/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o lib/lib.a arch/i386/lib/lib.a lib/built-in.o arch/i386/lib/built-in.o drivers/built-in.o sound/built-in.o arch/i386/pci/built-in.o arch/i386/oprofile/built-in.o arch/i386/power/built-in.o net/built-in.o --end-group 
make: *** [.tmp_vmlinux1] Error 139
#
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-18 07:01:43 UTC

*** This bug has been marked as a duplicate of 114014 ***