[patch] Matsushita AM33/2.0 port

Jakub Jelinek jakub@redhat.com
Sat Jun 19 07:42:00 GMT 2004


On Sat, Jun 19, 2004 at 01:52:16AM -0300, Alexandre Oliva wrote:
> On Jun 19, 2004, Roland McGrath <roland@redhat.com> wrote:
> 
> > This is not how you should do it.  linuxthreads and nptl are add-ons and so
> > is myport.  Use --enable-add-ons=myport,nptl for example.  Then your
> > myport/sysdeps can contain the necessary files for each.  Are there
> > conflicting CPU-specific files of the same name for nptl vs linuxthreads?
> 
> Yup, at least sysdep-cancel.h is needed by both, and it's
> significantly different.  Also, linuxthreads apparently can't find
> pspinlock.c inside the am33 add-on (nor in am33-linuxthreads, mind
> you).

Maybe we could add nptl to nptl/sysdeps/unix/sysv/linux/Implies and
linuxthreads to linuxthreads/sysdeps/unix/sysv/linux/Implies.
Then if you configure --enable-add-ons=myport,nptl also
myport/sysdeps/nptl
would be searched up and similarly for linuxthreads.

	Jakub



More information about the Libc-alpha mailing list