Bug#424402: gcc: Endless loop while building a 64-bit 2.6.20 parisc kernel
severity 424402 important
thanks
Frans Pop writes:
> Package: gcc-4.1
> Version: 4:4.1.2-6
> Severity: serious
> Forwarded: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31944
> Tags: upstream
>
> The build of the 2-6-20-1-parisc64-smp kernel FTBFS because of an endless
> loop due to what appears to be a gcc issue:
> http://buildd.debian.org/fetch.cgi?pkg=linux-2.6&arch=hppa&ver=2.6.20-3&stamp=1178893395
>
> The issue has already been reported upstream (see headers).
from the upstream report:
The file fs/ocfs2/dlm/dlmmaster.c from the 2.6.20 kernel triggers an
endless loop in gcc 4.1 built for the hppa64-linux-gnu target.
It occurs at -O2, but not at -O1 or -O0. Also specifying
-fno-cse-follow-jumps workaround the problem.
Reply to: