This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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] 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


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