* 2.4.9: GCC 3.0 problem in "acct.c"
@ 2001-08-18 18:09 peter k.
0 siblings, 0 replies; 4+ messages in thread
From: peter k. @ 2001-08-18 18:09 UTC (permalink / raw)
To: linux-kernel
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?
thx
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <no.id>]
* Re: 2.4.9: GCC 3.0 problem in "acct.c"
[not found] <no.id>
@ 2001-08-18 22:21 ` Alan Cox
0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2001-08-18 22:21 UTC (permalink / raw)
To: peter k.; +Cc: linux-kernel
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.9: GCC 3.0 problem in "acct.c"
@ 2001-08-22 22:51 Santeri Kannisto
2001-08-23 4:05 ` Josh McKinney
0 siblings, 1 reply; 4+ messages in thread
From: Santeri Kannisto @ 2001-08-22 22:51 UTC (permalink / raw)
To: alan, linux-kernel
Alan Cox wrote:
> peter k. wrote:
>> 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.
Except that a similar problem with capi existed allready with gcc 3.0 +
kernels 2.4.*, and that problem was reported to gcc people multiple
times. But it is still broken in gcc 3.0.1:
bp2.c:414: warning: `sbp2_host_info_lock' defined but not used
capi.c: In function `capi_ioctl':
capi.c:1031: Unrecognizable insn:
(insn/i 1675 3103 3100 (parallel[ capi.c:1031: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
So, does anyone have any ideas? That problem is critical because
it makes ISDN (capi 2) unusable with kernels 2.4.* + gcc 3.0.*
All other things seem to function pretty well with 2.4.9 + 3.0.1.
--
Mr. Santeri Kannisto, CTO, sk@sot.com - http://www.sot.com/
Ou SOT Finnish Software Engineering - fax +372 5 171 941
Kreutzwaldi 7-4, EE-10124 Tallinn - tel. +372 5 044 941
ESTONIA - http://bestlinux.net/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.9: GCC 3.0 problem in "acct.c"
2001-08-22 22:51 Santeri Kannisto
@ 2001-08-23 4:05 ` Josh McKinney
0 siblings, 0 replies; 4+ messages in thread
From: Josh McKinney @ 2001-08-23 4:05 UTC (permalink / raw)
To: linux-kernel
On approximately Thu, Aug 23, 2001 at 01:51:33AM +0300, Santeri Kannisto wrote:
> Except that a similar problem with capi existed allready with gcc 3.0 +
> kernels 2.4.*, and that problem was reported to gcc people multiple
> times. But it is still broken in gcc 3.0.1:
>
> bp2.c:414: warning: `sbp2_host_info_lock' defined but not used
> capi.c: In function `capi_ioctl':
> capi.c:1031: Unrecognizable insn:
> (insn/i 1675 3103 3100 (parallel[ capi.c:1031: Internal error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>
> So, does anyone have any ideas? That problem is critical because
> it makes ISDN (capi 2) unusable with kernels 2.4.* + gcc 3.0.*
>
> All other things seem to function pretty well with 2.4.9 + 3.0.1.
I get the same sort of Unrecognizable insn: error in signal.c with my setup.
This is true today with the latest cvs gcc.
Josh
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-08-23 4:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-18 18:09 2.4.9: GCC 3.0 problem in "acct.c" peter k.
[not found] <no.id>
2001-08-18 22:21 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2001-08-22 22:51 Santeri Kannisto
2001-08-23 4:05 ` Josh McKinney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox