* Compilation error on drivers/md/raid6int8.c on net-next-2.6
@ 2008-07-16 17:56 Breno Leitao
2008-07-16 18:31 ` Adrian Bunk
0 siblings, 1 reply; 3+ messages in thread
From: Breno Leitao @ 2008-07-16 17:56 UTC (permalink / raw)
To: netdev, linux-next
I just pulled net-next-2.6 and compiling it on a ppc machine I got the
following error:
CC [M] drivers/md/raid6tables.o
CC [M] drivers/md/raid6int8.o
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 799 638 4 drivers/md/raid6int8.c:168 (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
make[2]: *** [drivers/md/raid6int8.o] Error 1
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compilation error on drivers/md/raid6int8.c on net-next-2.6
2008-07-16 17:56 Compilation error on drivers/md/raid6int8.c on net-next-2.6 Breno Leitao
@ 2008-07-16 18:31 ` Adrian Bunk
2008-07-16 20:06 ` Breno Leitao
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-07-16 18:31 UTC (permalink / raw)
To: Breno Leitao; +Cc: netdev, linux-next
On Wed, Jul 16, 2008 at 02:56:28PM -0300, Breno Leitao wrote:
> I just pulled net-next-2.6 and compiling it on a ppc machine I got the
> following error:
>
>
> CC [M] drivers/md/raid6tables.o
> CC [M] drivers/md/raid6int8.o
> 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 799 638 4 drivers/md/raid6int8.c:168 (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
> make[2]: *** [drivers/md/raid6int8.o] Error 1
> make[1]: *** [drivers/md] Error 2
> make: *** [drivers] Error 2
That's a gcc bug.
Which gcc version are you using?
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compilation error on drivers/md/raid6int8.c on net-next-2.6
2008-07-16 18:31 ` Adrian Bunk
@ 2008-07-16 20:06 ` Breno Leitao
0 siblings, 0 replies; 3+ messages in thread
From: Breno Leitao @ 2008-07-16 20:06 UTC (permalink / raw)
To: Adrian Bunk; +Cc: netdev, linux-next
Adrian Bunk wrote:
> On Wed, Jul 16, 2008 at 02:56:28PM -0300, Breno Leitao wrote:
>
>> 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 799 638 4 drivers/md/raid6int8.c:168 (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
>> make[2]: *** [drivers/md/raid6int8.o] Error 1
>> make[1]: *** [drivers/md] Error 2
>> make: *** [drivers] Error 2
>>
>
> That's a gcc bug.
>
> Which gcc version are you using?
I was using a RHEL4 machine (gcc version 3.4.6). I just upgraded gcc
to 4.1.2, and the "problem" just disappeared. :-)
Thanks
Breon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-16 20:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 17:56 Compilation error on drivers/md/raid6int8.c on net-next-2.6 Breno Leitao
2008-07-16 18:31 ` Adrian Bunk
2008-07-16 20:06 ` Breno Leitao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).