This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] locale: Make the file name of the locale archive configurable


4.06.2019 20:05 Carlos O'Donell <carlos@redhat.com> wrote:
> [...]
> If we want someone can work on an ABI or "version" markup which might
> allow a static binary to know if the binary data on disk is in a
> format that it might be able to load. That might be useful.

What about a forward/backward compatible binary format of the locale
archive?  The format should describe what data it provides, what are
the offsets and sizes of the records etc. so an executable would be
even able to support the future archive formats or at least would be
able to tell that it cannot support the format for good reasons.

I think that if a locale archive file is opened by mmap then supporting
architectures with different endiannesses would be the biggest difficulty
(so a package with all locales couldn't be noarch) but if you think
about the parallel installation of e.g., i686 and x86_64 packages then
in these pairs they could co-exist.

Regards,

Rafal


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