Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106527 - Kernel compile failed. make: *** [vmlinux] Error 139
Summary: Kernel compile failed. make: *** [vmlinux] Error 139
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 08:30 UTC by juvinious
Modified: 2005-09-30 02:19 UTC (History)
0 users

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


Attachments
genkernel.log (genkernel.log,115.26 KB, text/plain)
2005-09-19 08:31 UTC, juvinious
Details

Note You need to log in before you can comment on or make changes to this bug.
Description juvinious 2005-09-19 08:30:02 UTC
Compiling kernel linux-2.6.13-gentoo-r1 and linux-2.6.12-gentoo-r10 both manually and with genkernel give me a segmentation fault and make error 139.

Reproducible: Always
Steps to Reproduce:
1. make menuconfig && make
or
1. genkernel --menuconfig --mrproper all

Actual Results:  
Compiles fine until it reaches:
LD       vmlinux

Expected Results:  
Produce a valid kernel image.

LD      vmlinux
/bin/sh: line 1: 26939 Segmentation fault      ld -m elf_i386 -o vmlinux -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 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 net/
built-in.o --end-group
make: *** [vmlinux] Error 139
* Gentoo Linux Genkernel; Version 3.3.6[0m
* Running with options: --menuconfig --mrproper all

* ERROR: Failed to compile the "bzImage" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
* 
* Please do *not* report compilation failures as genkernel bugs!
*
Comment 1 juvinious 2005-09-19 08:31:58 UTC
Created attachment 68809 [details]
genkernel.log

This is the genkernel log produced for the error.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-19 11:35:16 UTC
You neglected to post emerge --info output as instructed to when filing the bug.
Comment 3 juvinious 2005-09-19 13:15:04 UTC
Gentoo Base System version 1.12.0_pre8
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-
gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -mcpu=i686 -march=pentium4"
CHOST="i686-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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -mcpu=i686 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.gg3.net/ http://mirror.averse.net/pub/gentoo/ 
http://mirror.gentoo.gr.jp ftp://mirror.averse.net/pub/gentoo ftp://gg3.net/pub/
linux/gentoo/"
LINGUAS="en_ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cjk crypt cups curl dvd eds 
emboss encode fam foomatic foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib 
immqt-bc ipv6 jpeg kde kdeenablefinal libg++ libwww mad matroska mikmod motif 
mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png ppds python qt 
quicktime readline real spell ssl tcpd tiff truetype truetype-fonts type1-fonts 
unicode usb vorbis xml2 xmms xv zlib linguas_en_ja userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Comment 4 juvinious 2005-09-19 23:44:30 UTC
*added 'emerge info' above
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-09-29 01:17:17 UTC
Which was the last good kernel version? If you attempt to recompile that good
version now, does it succeed?
Comment 6 juvinious 2005-09-29 17:35:20 UTC
It was linux-2.6.12-gentoo-r10 and it was fine as it was a fresh install until I
recompiled it, which was when that error appeared. I have since re-installed and
moved to linux-2.6.13-gentoo-r2 and have no problems now.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-09-30 02:19:36 UTC
Ok, marking as fixed