Bug#567641: linux-source-2.6.32: segmentation fault during compile

2010-01-30 Thread Daniel Bolton
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-3high-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-package12.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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#567641: closed by Ben Hutchings b...@decadent.org.uk (Re: Bug#567641: linux-source-2.6.32: segmentation fault during compile)

2010-01-30 Thread Daniel Bolton
How can I investigate the problem further to determine the exact cause?



On Sat, Jan 30, 2010 at 9:51 AM, Debian Bug Tracking System
ow...@bugs.debian.org wrote:
 This is an automatic notification regarding your Bug report
 which was filed against the linux-source-2.6.32 package:

 #567641: linux-source-2.6.32: segmentation fault during compile

 It has been closed by Ben Hutchings b...@decadent.org.uk.

 Their explanation is attached below along with your original report.
 If this explanation is unsatisfactory and you have not received a
 better one in a separate message then please contact Ben Hutchings 
 b...@decadent.org.uk by
 replying to this email.


 --
 567641: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567641
 Debian Bug Tracking System
 Contact ow...@bugs.debian.org with problems


 -- Forwarded message --
 From: Ben Hutchings b...@decadent.org.uk
 To: 567641-d...@bugs.debian.org
 Date: Sat, 30 Jan 2010 14:47:32 +
 Subject: Re: Bug#567641: linux-source-2.6.32: segmentation fault during 
 compile
 On Sat, 2010-01-30 at 07:21 -0500, Daniel Bolton wrote:
 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.

 Compiler bug, or more likely a hardware fault.

 Ben.

 --
 Ben Hutchings
 Unix is many things to many people,
 but it's never been everything to anybody.


 -- Forwarded message --
 From: Daniel Bolton danielbarrettbol...@gmail.com
 To: Debian Bug Tracking System sub...@bugs.debian.org
 Date: Sat, 30 Jan 2010 07:21:12 -0500
 Subject: 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

Bug#567641: closed by Ben Hutchings b...@decadent.org.uk (Re: Bug#567641: linux-source-2.6.32: segmentation fault during compile)

2010-01-30 Thread Ben Hutchings
On Sat, 2010-01-30 at 12:44 -0500, Daniel Bolton wrote:
 How can I investigate the problem further to determine the exact cause?

This FAQ is old but probably still useful: http://www.bitwizard.nl/sig11/

Ben.

-- 
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.


signature.asc
Description: This is a digitally signed message part