This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Multi-arch capable ldconfig
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Markus Mayer <mmayer at broadcom dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 6 Feb 2020 21:34:10 +0000
- Subject: Re: [RFC] Multi-arch capable ldconfig
- Ironport-sdr: 8SL1sZLDV0ecidRZLvO6ISoTHz3fCouupqay+dGSteR8OLm+vrZwVQv3670rJ7l/H1LlWnN9Bb goa3dep/kZ9yMSlDmCe6kNYQ0R/0hs+Tmnq4ny6O7mpiqILRmSMLRsuP7B56m01EtcjXK60HQy BZ2yPJ0isrH3L2bYyv9cTgZmJoQN+i3n7hqvh0vfxQtew68mUyXIMWiJjrPQKfYnifIiH4MDC7 5r3BpkYqPCSu7oP22zUongCKV6d5vFaPMVtpe0NN0D3rR2NPPPbvNtI3OFi0vrbrBXVNylEOWS ruY=
- Ironport-sdr: mwcjaEJJANzjRhbjmghK160Zhl3QGkF8N7mY5NtL9G2t+dZsJqh5cY9IeVmGkRu8/HE+j4aE8t lSlN8ihjK4SRL/GyXy0iCJiMzMuqSIfVMnFkwnlk2wRFVrHa9U0xgbZ/jGvS9v28GBDrj2sC08 agEuOz/gSnQGNYI9dS2VTLF56vC/Zcqe1ocyTkE+2H0r7lxN5sfde4wfJ0HWIzAm9a/03am6Ue 539fV683LjHgLvuCTlwWQmBa18l59yVKnRgeCtLbR1OV11gFtHyaTvBGy+IpAIsZYD4Fu/vvzj 4sQ=
- References: <CAGt4E5vbyXQABLPS2f1ud39aqss9C1Xhnuqd-Vhj-Ygd7qxjEw@mail.gmail.com>
On Tue, 4 Feb 2020, Markus Mayer wrote:
> While this approach seems to work just fine, it is obviously limited
> to ARM/ARM64 on x86, which is not a true solution to the issue. One
> would want ldconfig to be able to process *ALL* architectures it
> supports and it should be able to do this on *ALL* targets it can be
> compiled for.
See <https://sourceware.org/ml/libc-alpha/2014-01/msg00575.html> and the
discussions in bug 22825. I think that by incrementally changing the
information contained in the ldconfig cache, it might well be possible to
eliminate much of the need for architecture-specific readelflib.c files.
> - a "configure" option to turn on the multi-platform capability (it's
> off by default)
We don't have such a configure option for support in localedef for
building locales for other glibc systems; it's not obvious we should have
one for ldconfig either.
--
Joseph S. Myers
joseph@codesourcery.com