omitting all compatibility interfaces from the build
Joseph Myers
joseph@codesourcery.com
Fri Feb 7 20:59:00 GMT 2020
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
More information about the Libc-alpha
mailing list