Re: powerpc: raid6 (raid6int8) compilation error

From: Adrian Bunk
Date: Fri Jan 13 2006 - 06:16:30 EST


On Tue, Jan 10, 2006 at 02:28:31PM -0600, Serge E. Hallyn wrote:
> Since 2.6.15-rc6, and continuing through 2.6.15-mm2, I get the following
> error when compiling a kernel with gcc 3.4.4 on a power5 with RHEL4U1
> installed and uptodate:
>
> drivers/md/raid6int8.c: In function `raid6_int8_gen_syndrome':
> drivers/md/raid6int8.c:185: error: unable to find a register to spill in
> class `FLOAT_REGS'
> drivers/md/raid6int8.c:185: error: this is the insn:
> (insn:HI 619 621 640 4 (set (mem:DI (plus:DI (reg/v/f:DI 122 [ p ])
> (reg/v:DI 66 ctr [orig:124 d ] [124])) [0 S8 A64])
> (reg/v:DI 129 [ wp0 ])) 320 {*movdi_internal64} (nil)
> (expr_list:REG_DEAD (reg/v:DI 129 [ wp0 ])
> (nil)))
> drivers/md/raid6int8.c:185: confused by earlier errors, bailing out
> CC [M] drivers/md/raid6altivec4.o
>
> 2.6.14-rc5 does not give this error...
>...

This is an internal error in gcc.
You should report this as a bug in gcc to RedHat.

> thanks,
> -serge

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/