This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: omitting all compatibility interfaces from the build
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Rasmus Villemoes <rasmus dot villemoes at prevas dot dk>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Fri, 7 Feb 2020 20:59:37 +0000
- Subject: Re: omitting all compatibility interfaces from the build
- Ironport-sdr: TrynmFwOqujJglbKKts7AfNOJK5INxGhft8qIiwYB0SAUugCYySJFIwFq+YA7IT9w7fvgTy1mR VNPaeln/u0CkfRlEPAvvdlj3EVwsEnSiyXJ9MPPJCu0gTf2u0iKM+f5Fms6MaVNFwNbKC81GcT 46mXeKs+jLn2X81vmz2Pm0NkU7a1kzs6vTRH2y5lderVHcVqSkKeKl31vBAUhev2wvnpRRzmA4 GIrN9l0QUQGXS22xIthJj4xg1FSxqMC5I3JAUgkbHEpS3Fx3CD+wr5JXAVTZrdgnTY3L2Ujfub BQ4=
- Ironport-sdr: aQ/2axs9cxlnFjHWN6Rb7DSb3hoShDDW6e2jADhkzMvdMxK22rZkgK2h4I+K17yDVrLPhffgiC Bd/BTNxF4wU7+6DqwjTtcti8/ZFPsJCZCPXHppGBLyeKTvAzPkK9kIdQTXI3M+vSj97I1UztI0 fzoPBbacmHxScvBVHr3mumQsE3sUqKhWnHOYreBbmR92qsSyrBT3gfrkNEVLkReAOYNlWQ0EvM P+gm+dvFkWnAwqZ+U9oXfbRr+LjZ/H+B3s4oGUKhGJzjBGBMxN8i5JchwNX7qPVHkYL3ovngw3 qGM=
- References: <bcad7275-1181-f080-583f-30f6e8bf71d7@prevas.dk>
On Fri, 7 Feb 2020, Rasmus Villemoes wrote:
> Hi,
>
> When doing a complete BSP build for an embedded target, there are and
> will not be any old existing binaries that have been linked against an
> older libc. Hence there is no need for any version of any symbol other
> than the currently exposed ones. So would it be possible to add a
> configure knob for omitting all the code for the unused/unneeded interfaces?
We removed --enable-oldest-abi some time ago (commit
af296fcdaba31c3a8062fec0b4198443bb43bd47) as unmaintained and bitrotten.
It probably wouldn't be hard to add an option that has the exact effect of
increasing the minimum symbol version globally (so needs no changes to C
sources except where the existing SHLIB_COMPAT etc. conditionals have
hidden assumptions that a given conditional will always pass for shared
library builds).
--
Joseph S. Myers
joseph@codesourcery.com