This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix libc-abis handling for add-ons
- From: Roland McGrath <roland at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 6 Apr 2010 13:49:11 -0700 (PDT)
- Subject: Re: Fix libc-abis handling for add-ons
- References: <Pine.LNX.4.64.1004061945470.27521@digraph.polyomino.org.uk>
Ports add-ons should not be overriding main files like that.
The intent of the add-ons system for ports is that you should
be able to enable any and all ports add-ons and they have no
effect unless you are building for an affected configuration.
I've instead changed the handling of the libc-abis file to match that of
shlib-versions files. That means you can have them in sysdeps or add-on
subdirectories, and all found are concatenated together. Hence the
contents of an add-on file should not replicate the architecture-independent
lines in the main file (doing so will screw up the calculation).
Thanks,
Roland