This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] powerpc-cpu add-on for --with-cpu
- From: Roland McGrath <roland at redhat dot com>
- To: Steven Munroe <munroesj at us dot ibm dot com>
- Cc: libc-ports at sources dot redhat dot com
- Date: Thu, 16 Mar 2006 16:34:23 -0800 (PST)
- Subject: Re: [PATCH] powerpc-cpu add-on for --with-cpu
You have misinterpreted the problem. Your claims about the behavior are false.
As I have described, all the add-on sysdeps directories are intermingled
with the main sysdeps directories in the search order as if the sysdeps
directory tree were the union of the main and add-on trees, with duplicates
from add-ons coming before same path in the main tree.
If you compare the sysdirs list using your add-on the list without the
add-on, you will see how the fpu directories are ordered in relation to
each other. sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu comes before the
others, as all os-based directory selections come before os-less ones.
Because of its Implies file, sysdeps/powerpc/powerpc32/fpu comes right
after it. To get the order you want, you need to add files like
sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies containing e.g.:
# Make sure this comes before the powerpc/powerpc32/fpu that's
# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
powerpc/powerpc32/power4/fpu
BTW, as I explained clearly when describing the new add-on configuration
details, an add-on like yours should not have any useless Makefile and
configure files.
Thanks,
Roland