The attached script (wrapper/setup to crosstool.sh) gets me
a toolchain sufficient to build the default-config ppc kernel
(2.6.8.1, NPTL, gcc-3.4.2, glibc-2.3.3).
It tweaks the patch Dan references below for a ppc-ism,
then adds a patch (thanks Google!) to mask an issue that
gcc-3.4.2 has with inline functions calling setjmp() ( see
http://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/ftp.suse.com/pub/projects/powerpc/ftp.linuxppc64.org/pub/people/janis/old/README.20040130
)
The toolchain build fails near the end while linking
build-glibc/elf/sln with undefined references to
`_Unwind_Resume' and `__gcc_personality_v0' (which Google
hints is/was a popular problem, but I don't have time to
track it down). In any case, 'sln' isn't needed for kernel
building, so it's good enough for me for now.
...jfree
========
On Tue, Oct 12, 2004 at 08:29:58AM -0700, Dan Kegel wrote:
Hi Stephen,
to build NPTL, you need to apply
contrib/crosstool-0.28-rc34-nptl_fixes.patch
Then see demo-x86_64-nptl.sh
Enough people need this that I've been intending for two weeks to merge it
asap,
but I haven't gotten around to it.
That patch was only tested for x86, but ppc32 shouldn't be any
harder, right? :-)
- Dan
Stephen Warren wrote:
quoted
Hi. I'm attempting to use your crosstool to build a NPTL capable GLIBC
and toolchain for a 32-bit PowerPC target.
...
quoted
Thanks for any pointers at all!
------------------------------------------------------------------------
Subject: NPTL support on PPC32 (MPC5200) ?
From: "Stephen Warren" <redacted>
...
quoted
My question is - can anybody tell me, or point me at a website that
definitively tells me:
1) Is NPTL available on PPC at all? I assume so, since I found one of
the original announcement of NPTL, which mentions performance on a large
SMP PPC system.
...