On Wed, 2011-06-08 at 19:41 +0200, Svante Signell wrote: .. > I can now get a stable freeze by writing a to a logfile during the > build. Then the freeze happens even before dumping of emacs: > > dpkg-buildpackage -b > ../build_x.log 2>&1 & > > and after the first freeze (otherwise the compile never continues > without writing to a log file) > > dpkg-buildpackage -b -nc >> ../build_x.log 2>&1 &
I've found the reason for the freeze problems: It was due to a buggy binutils_2.21.51.20110523-1. The bug causing the complete freeze is fixed by the patch http://sourceware.org/ml/binutils-cvs/2011-06/msg00001.html with log message 'Properly warn relocation in readonly section in a shared object' reported in Debian bugs 628770 (PR ld/12833) and 628916. This is fixed in package binutils_2.21.52.20110606-1, and it is confirmed that the emacs build no longer hangs when dumping emacs. (The segfault problem remains). Maybe the other people having problems should upgrade their binutils package. BTW: I'm now using the dbg package and the kernel debugger gives the following output after the hang: Kernel page fault at address 0x10, eip = 0x106aa4 Kernel Page fault trap, eip 0x106aa4 kernel: Page fault (14), code=0 Stopped at 0x106aa4: cmpl 0x10(%eax),%ecx