Re: 2.4.9: GCC 3.0 problem in "acct.c"

Alan Cox
2001-08-18T22:18:19Z

> i just updated my gcc from 2.96 to 3.0.1 and now i cant compile kernel 2.4.9
> anymore, make bzImage fails with the following error message:
>
> acct.c: In function `check_free_space':
> acct.c:147: Unrecognizable insn:
> (insn 335 102 336 (parallel[
> (set (reg/v:SI 2 ecx [44])
> (const_int 0 [0x0]))
> (clobber (reg:CC 17 flags))
> ] ) -1 (insn_list:REG_DEP_ANTI 100 (insn_list:REG_DEP_ANTI 102
> (nil)))
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
> acct.c:147: Internal compiler error in insn_default_length, at
> insn-attrtab.c:223
>
> can anyone tell me how to fix this?

Use gcc 2.96 or gcc 3.0.0. You broke the compiler. Please also see the gcc bug
reporting instructions. You will actually make a gcc hacker very happy
reporting that problem.