Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alpha
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alpha@g.o
From: "Jose Luis Rivero (YosWinK)" <yoswink@g.o>
Subject: Re: gcc-3.4.4-r1 and kernel-2.4.30
Date: Mon, 05 Dec 2005 19:58:58 +0100
Davide Cittaro wrote:
> 
> On Dec 4, 2005, at 12:31 AM, mathewt@... wrote:
> 
>> Hello All,
>>
>> I switched to gcc-3.4.4-r1, rebuilt the tool-chain and was trying
>> to recompile the kernel (2.4.30)
>>
>> gcc would always fail on arch/alpha/kernel/pci_iommu.c
>> the error message is
>>
>> pci_iommu.c: In function `sg_fill':
>> pci_iommu.c:510: sorry, unimplemented: inlining failed in call to
>>  'sg_fill': recursive inlining
>> pci_iommu.c:558: sorry, unimplemented: called from here
>> make[1]: *** [pci_iommu.o] Error 1
>> make: *** [_dir_arch/alpha/kernel] Error 2
>> make: *** Waiting for unfinished jobs....
>>
>> gcc-3.3.2 seemed to handle this fine. has anyone hit the same issue
>> and is there a patch for this ?
>>
> 
> I had the same problems, 

Confirmed. The problem appears with gcc-3.4.4-r1 (stable branch) and 
both, vanilla-sources 2.4.30 (stable) and 2.4.32 (testing).

I compiled everything with gcc-2.96 on a
> RedHat...

Problem:
I think the problem is the way in which gcc-3.4.4 manage recursive 
inlining. sg_fill is an inline function which call itself and 3.4.4 
doesn't like that.

Status:
We have our gcc ninjas working on it, hope to have it fixed soon.

Workaround:
I think is only problem of gcc-3.4.4. I can compile it with gcc-3.3.2 
just fine. Since gcc is installed slotted, probably everyone who updated 
the gcc compiler can change it using gcc-config and compile the kernel 
with an old gcc (if needed).

Thanks guys for reporting.

----------------------------
YosWinK @ gentoo .org
Gentoo Alpha
-- 
gentoo-alpha@g.o mailing list


References:
gcc-3.4.4-r1 and kernel-2.4.30
-- mathewt
Re: gcc-3.4.4-r1 and kernel-2.4.30
-- Davide Cittaro
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gcc-3.4.4-r1 and kernel-2.4.30
Next by thread:
2.4 -> 2.6
Previous by date:
Re: gcc-3.4.4-r1 and kernel-2.4.30
Next by date:
problem upgrading the toolchain


Updated Jun 17, 2009

Summary: Archive of the gentoo-alpha mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.