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


On Thu, 6 Jun 2019, Carlos O'Donell wrote:

> > 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.
> 
> I think that supporting multiple different architectures from the same
> data set is a non-goal, with the exception of multilib arches on the same
> machine like i686 and x86_64 (same endianness and very similar features).

Endianness should be the only incompatibility between locale files for 
different systems with the same glibc version (see the NEWS entries for 
2.19 for previous incompatibilities that were eliminated as part of 
enabling localedef to be used with --big-endian or --little-endian to 
generate locales for a different system).

Although some architectures do support changing endianness at runtime, the 
Linux kernel has never supported running other-endian processes like that 
(and so none of the multilib directory arrangements used by glibc support 
different directories for different endianness, although Debian multiarch 
tuples do).

-- 
Joseph S. Myers
joseph@codesourcery.com


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