Endless loop in gcc while compiling a 2.6.20 kernel
Aurelien Jarno <[email protected]>
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
Hi all, The 2.6.20 kernel, with a lot of options enabled (like the debian package) fails to build on hppa due to an endless loop in gcc. It occurs at -O2, but not at -O1 or -O0. See below: aurel32@paer:~$ time hppa64-linux-gnu-gcc-4.1 -O1 -c dlmmaster.i real 0m8.144s user 0m5.440s sys 0m2.700s aurel32@paer:~$ time hppa64-linux-gnu-gcc-4.1 -O2 -c dlmmaster.i real 28m38.547s user 0m0.000s sys 0m0.016s aurel32@paer:~$ hppa64-linux-gnu-gcc-4.1 -v Using built-in specs. Target: hppa64-linux-gnu Configured with: ../src/configure --enable-languages=c --prefix=/usr --libexecdir=/usr/lib --disable-shared --disable-nls --disable-threads --disable-libffi --disable-libgomp --disable-libmudflap --disable-libssp --with-as=/usr/bin/hppa64-linux-gnu-as --with-ld=/usr/bin/hppa64-linux-gnu-ld --includedir=/usr/hppa64-linux-gnu/include --host=hppa-linux-gnu --build=hppa-linux-gnu --target=hppa64-linux-gnu Thread model: single gcc version 4.1.3 20070429 (prerelease) (Debian 4.1.2-6) I have stopped the build using -O2 with CTRL+C after half an hour, but I have already tried to keep it running for 20+ hours without any result. The preprocessed file could be found on: http://temp.aurel32.net/dlmmaster.i.gz Does anybody have an idea about the problem? Thanks, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net