Subject: Re: [BUILD_FAILURE] Linux 2.6.25-rc3 - various unexported functions () on powerpc

From: Kamalesh Babulal <[email-masked]>
Date: Tue, 26 Feb 2008 23:48:29 +0530

Adrian Bunk wrote:
> On Tue, Feb 26, 2008 at 07:59:08PM +0530, Kamalesh Babulal wrote:
>> Hi,
>>
>> The 2.6.25-rc3 kernel build fails on powerpc with allyesconfig config option,
>> the .config has been attached.
>> ...
> 
> Builds fine here.
> 
> Local problem (e.g. disk full) on your machine?
> 
> cu
> Adrian
> 
Hi Adrain,

It Builds fine on another powerpc box with the same .config file, the problem seems to be with the gcc
on that box, the reported build failure might have been the side effect of the same. 

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

# gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.