This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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: [patch] Matsushita AM33/2.0 port


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


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