| Summary: | kernel compilation segfaulting | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Leonid E Zakharov <zakharov> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
please attach emerge info. Backtraces are more usefull for SEGV - see http://www.gentoo.org/doc/en/bugzilla-howto.xml kernel 2.6.24? gee thats new! can I get a copy - I've only got 2.6.14 See comment #1. 1. This is from 'emerge info' Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.9-05 i686) ================================================================= System uname: 2.6.9-05 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.4, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="//www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups dhcpcd eds emacs emboss encode enscript esd expat foomaticdb fortran fvwm gdbm gif gimp gpm gstreamer gtk gtk2 imlib ipv6 jpeg lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xfig xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY 2. What package (s) should I emerge with FEATURES="nostrip" for better information ? Reopen to dupe... |
After updating the system on Nov.23, 2005 (installed originally in Jan., 2005) on my Inspiron 8200 by emerge metadata emerge portage emerge system emerge gentoo-sourses making kernel (both new one 2.6.24 and old one 2.6.9) produces Sefault. Reproducible: Always Steps to Reproduce: 1. cd /usr/src/linux 2. make menuconfig 3. make Actual Results: mhd0 linux # make CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list 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: 5181 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 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 Expected Results: bzImage This are the final lines from strace ld -m elf_i386 ... : open("sound/built-in.o", O_RDONLY) = 7 fstat64(7, {st_mode=S_IFREG|0644, st_size=503936, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 f4d000 _llseek(7, 409600, [409600], SEEK_SET) = 0 read(7, "\1\20\0\0\3102\0\0\1\20\0\0\3142\0\0\1\20\0\0\3202\0\0"..., 1612) = 161 2 _llseek(7, 286720, [286720], SEEK_SET) = 0 read(7, "ar_event\0snd_seq_event_port_atta"..., 4096) = 4096 read(7, "<3>pcm timer resolution out of r"..., 4096) = 4096 read(7, "t\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 40 96 read(7, "SPECIAL\0S24_3LE\0S24_3BE\0U24_3LE\0"..., 12288) = 12288 read(7, "ack\0Master Playback\0Duplicate Fr"..., 4096) = 4096 close(8) = 0 munmap(0xb7f4c000, 4096) = 0 open("arch/i386/pci/built-in.o", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=38748, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 f4c000 _llseek(8, 24576, [24576], SEEK_SET) = 0 read(8, "\34\22\0\0\1\r\1\0-\22\0\0\2\30\1\0009\22\0\0\2\361\0\0"..., 3784) = 37 84 _llseek(8, 16384, [16384], SEEK_SET) = 0 read(8, "\0dA\203\371\17~\350\213\r\0\0\0\0\205\311t\252\241\0\0"..., 4096) = 40 96 _llseek(8, 20480, [20480], SEEK_SET) = 0 read(8, "\0rom\0assign-busses\0routeirq\0\206\200\312\204"..., 4096) = 4096 close(9) = 0 munmap(0xb7f4b000, 4096) = 0 open("arch/i386/oprofile/built-in.o", O_RDONLY) = 9 fstat64(9, {st_mode=S_IFREG|0644, st_size=37702, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 f4b000 _llseek(9, 24576, [24576], SEEK_SET) = 0 read(9, "\1\335\0\0\20\30\0\0\1\r\0\0\34\30\0\0\2\313\0\0%\30\0"..., 3300) = 330 0 _llseek(9, 12288, [12288], SEEK_SET) = 0 read(9, "\215\4[\215\f\205\0\0\0\0\215\266\0\0\0\0\213F\4C\211\24"..., 4096) = 4 096 _llseek(9, 16384, [16384], SEEK_SET) = 0 close(10) = 0 munmap(0xb7f4a000, 4096) = 0 open("net/built-in.o", O_RDONLY) = 10 fstat64(10, {st_mode=S_IFREG|0644, st_size=968318, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 f4a000 _llseek(10, 798720, [798720], SEEK_SET) = 0 read(10, "P\210\0\0\1\1\0\0T\210\0\0\1\1\0\0h\210\0\0\1s\23\0\200"..., 2056) = 2 056 _llseek(10, 536576, [536576], SEEK_SET) = 0 read(10, "\303\v\6\0\303\v\6\0\303\v\6\0\303\v\6\0\303\v\6\0\303"..., 4096) = 40 96 read(10, "%d\n\0include/net/dst.h\0include/li"..., 8192) = 8192 read(10, "f.h\0include/net/sock.h\0packet\0%s"..., 4096) = 4096 _llseek(10, 552960, [552960], SEEK_SET) = 0 read(10, "<7>%s: default_rebuild_header ca"..., 28672) = 28672 read(10, "g record length (%d of %lu)\n\0\0\0\0"..., 4096) = 4096 brk(0x84e9000) = 0x84e9000 open("/etc/mtab", O_RDONLY) = 15 fstat64(15, {st_mode=S_IFREG|0644, st_size=439, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 cae000 read(15, "/dev/hda3 / ext3 rw,noatime 0 0\n"..., 4096) = 439 close(15) = 0 munmap(0xb7cae000, 4096) = 0 open("/proc/meminfo", O_RDONLY) = 15 fstat64(15, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 cae000 read(15, "MemTotal: 514576 kB\nMemFre"..., 1024) = 572 close(15) = 0 munmap(0xb7cae000, 4096) = 0 brk(0x850a000) = 0x850a000 brk(0x852b000) = 0x852b000 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++