Regenerating and updating upstream files

1. General

Some files checked in to the glibc repository are not maintained directly as source code in glibc. These are files imported verbatim from elsewhere, or generated files where we don't require the generator (for example, Autoconf for regenerating configure scripts) or its run-time dependencies (for example, Perl for regenerating C-translit.h) to be available when building glibc, or when regeneration of such a file is unusually slow.

2. Unicode Support

As of the addition of Unicode 7.0.0 support, the following files are autogenerated from Unicode data sources:

The following will regenerate those files:

make -C <path to glibc srcdir>/localedata/unicode-gen all
make -C <path to glibc srcdir>/localedata/unicode-gen install

The file locale/C-translit.h is generated from locale/C-translit.h.in. Enter the build directory and execute:

make -C <path to glibc src>/locale objdir=`pwd` C-translit.h

You may need to initially touch C-translit.h.in to trigger the update.

Upstream unicode files are synchronized with upstream unicode releases, see the shared source listing.

3. ISO 14651 Support for Collation

The ISO 14651 support in localedata/locales/iso14651_t1_common is taken from the published tables for the standard and then manipulated in order to avoid lowercase and uppercase overlap in the LATIN script range. The regeneration of this data file is very difficult, time consuming and error prone and we hope to make this better. If you need to update this from upstream sources then you need expert advice and reach out to the list.

4. Math files

See the Math section of the manual for some background details.

4.1. libm-test-ulps

This base line file can be semi-automatically updated. You can do either of the following:

In either case, you will need to watch out for:

None: Regeneration (last edited 2024-07-20 21:53:38 by AndreasHüttel)