This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: NPTL support on PPC32 (MPC5200) ?


I find that I have to apply the attached patch to

	contrib/crosstool-0.28-rc34-nptl_fixes.patch

or else I get the following error:

	+ cp
	/opt/src/crosstool-0.28-rc37/build/powerpc-8540-linux-gnu/gcc-3.4.2-glibc-2.3.3/glibc-2.3.3/nptl/sysdeps/unix/sysv/linux/ppc/bits/pthreadtypes.h
	/opt/src/crosstool-0.28-rc37/result/powerpc-8540-linux-gnu/gcc-3.4.2-glibc-2.3.3/powerpc-8540-linux-gnu/include/bits/pthreadtypes.h
	cp: cannot stat
	`/opt/src/crosstool-0.28-rc37/build/powerpc-8540-linux-gnu/gcc-3.4.2-glibc-2.3.3/glibc-2.3.3/nptl/sysdeps/unix/sysv/linux/ppc/bits/pthreadtypes.h':
	No such file or directory

[ ARCH=ppc, but dirname = powerpc/ ]

The build hasn't finished yet, but at least it no longer dies at this
spot.

...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:
> >Hi. I'm attempting to use your crosstool to build a NPTL capable GLIBC
> >and toolchain for a 32-bit PowerPC target.
> >
> >I'm finding it very difficult to find information on which libc, kernel,
> >compiler and binutils versions are required for this.
> >
> >Can you point me to any information that'll tell me definitively which
> >software versions support this, or at any mailing lists that are
> >appropriate for this kind of question? I tried
> >linuxppc-embedded@ozlabs.org (see attached email) but didn't hear
> >anything back.
> >
> >Thanks for any pointers at all!

Attachment: ppc_nptl.diff
Description: Text document

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]