[klibc] klibc broken on ppc with linux-2.6.27 and workaround

H. Peter Anvin hpa at zytor.com
Mon Dec 29 09:53:39 PST 2008


Gilles Espinasse wrote:
> Compilation was ok with klibc-1.5.10 on linux-2.6.25.
> Distrib does not matter as it is inside a chroot a la LSF
> 
> As a workaround I have symlinked the directories removed in 2.6.27 and it
> now compile
>  cd /usr/src/linux-2.6.27/arch && ln -sf powerpc ppc
>  cd /usr/src/linux-2.6.27/include && ln -sf arch-powerpc arch-ppc
> 
> I have seen that Gentoo use a different system and a klibcasmarch.patch
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/klibc/klibc-1.5.12.ebuild?rev=1.1&view=markup
> A bit complicated for me.

I guess I really should spend some TLC on klibc... I haven't given it
too much time, and with all the header changing around lately it gets
tricky.

The Right Thing[TM] is probably to use the exported header stuff for
klibc, assuming it contains sufficient information.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.



More information about the klibc mailing list