Bug#567641: linux-source-2.6.32: segmentation fault during compile
Package: linux-source-2.6.32
Version: 2.6.32-5
Severity: important
Justification: fails to build from source
I installed linux-source-2.6.32, copied the tarball from /usr/src/ to my regular
user's home, extracted it, ran 'make menuconfig', changed the Processor Type
from "generix x86_64" to "K8", saved the changes, ran 'make-kpkg clean', and
finally ran 'fakeroot make-kpkg --append-to-version "-dbb-deb" --revision
"20100130" --initrd kernel_image kernel_headers'. About five minuted in to the
compiling, it stopped with the following error (using gcc 4.3):
CC block/deadline-iosched.o
CC block/cfq-iosched.o
CC block/compat_ioctl.o
block/compat_ioctl.c: In function ‘compat_fd_ioctl’:
block/compat_ioctl.c:452: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[2]: *** [block/compat_ioctl.o] Error 1
make[1]: *** [block] Error 2
make[1]: Leaving directory `/home/daniel/source/kernels/linux-source-2.6.32'
make: *** [debian/stamp/build/kernel] Error 2
I then tried linking /usr/bin/gcc to gcc 4.4 and starting the process over (I
re-extracted the tarball to ensure a clean build directory). That also halted
about 5 minuted in, this time with the following error:
CC crypto/md5.o
CC crypto/rng.o
CC crypto/krng.o
crypto/krng.c: In function ‘krng_mod_init’:
crypto/krng.c:50: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[2]: *** [crypto/krng.o] Error 1
make[1]: *** [crypto] Error 2
make[1]: Leaving directory `/home/daniel/source/kernels/linux-source-2.6.32'
make: *** [debian/stamp/build/kernel] Error 2
I don't know what package actually contains a bug, so I am submitting this
report againt linux-source-2.6.32.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-source-2.6.32 depends on:
ii binutils 2.20-5 The GNU assembler, linker and bina
ii bzip2 1.0.5-3 high-quality block-sorting file co
Versions of packages linux-source-2.6.32 recommends:
ii gcc 4:4.3.4-1 The GNU C compiler
ii libc6-dev [libc-dev] 2.10.2-2 GNU C Library: Development Librari
ii make 3.81-7 An utility for Directing compilati
Versions of packages linux-source-2.6.32 suggests:
ii kernel-package 12.032 A utility for building Linux kerne
ii libncurses5-dev [ncurses- 5.7+20090803-2 developer's libraries and docs for
pn libqt3-mt-dev <none> (no description available)
-- no debconf information
Reply to: