|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| include/ | | 25-Apr-2025 | - | 20,955 | 13,647 |
| lib/ | | 25-Apr-2025 | - | 14,873 | 10,607 |
| lib64/ | | 25-Apr-2025 | - | | |
| libexec/gcc/x86_64-linux/4.8.3/ | | 25-Apr-2025 | - | 783 | 486 |
| sysroot/usr/ | | 25-Apr-2025 | - | 329,935 | 196,893 |
| x86_64-linux/ | | 25-Apr-2025 | - | 268,310 | 181,965 |
| Android.bp | D | 25-Apr-2025 | 541 | 31 | 29 |
| BUILD.bazel | D | 25-Apr-2025 | 1.2 KiB | 50 | 43 |
| MODULE_LICENSE_GPL | D | 25-Apr-2025 | 0 | | |
| NOTICE | D | 25-Apr-2025 | 17.6 KiB | 341 | 281 |
| OWNERS | D | 25-Apr-2025 | 50 | 4 | 3 |
| PACKAGE_SOURCES | D | 25-Apr-2025 | 8.2 KiB | 80 | 79 |
| README.md | D | 25-Apr-2025 | 1.5 KiB | 30 | 23 |
| TOOLCHAIN_SOURCES | D | 25-Apr-2025 | 1 KiB | 11 | 10 |
| build-raring-multilib-toolchain.sh | D | 25-Apr-2025 | 49 KiB | 1,854 | 1,419 |
| build-with-previous-gcc.sh | D | 25-Apr-2025 | 629 | 27 | 18 |
README.md
1# Host glibc sysroot
2
3Here lie the bones of a prebuilt glibc 2.17, the current host Linux sysroot.
4
5Full version updates have historically been painful. They also annoy users.
6This is the sysroot used to build the NDK and other host tools shared with
7app developers, not just OS developers, and even OS developers outside Google
8often seem to prefer (or at least "are required by corporate policy") to
9stick to older host OS versions with old glibc versions.
10
11We do not currently plan to update to a newer glibc. Our hope is to be able to
12move to musl instead, which will also offer the option of shipping static host
13executables.
14
15In the meantime, we have been taking targeted updates to these headers.
16
17In particular, adding missing constants is almost always fine, whereas
18adding missing function declarations doesn't help anyone (though we could
19potentially add a static inline, but that's not something we've done yet).
20
21In the ideal case, you can simply copy the current glibc header over the old
22one and it "just works". In such cases, just remember to include the glibc
23version number that you're updating to in the commit message.
24
25Other cases can be a lot harder. Sometimes there are changes you don't want or
26can't take in the same file, for example. Or there might have been a
27sufficiently large refactoring of transitive includes that you end up touching
28tens of headers when all you really wanted to do was add one missing constant.
29These kinds of cases are probably worth discussing with the OWNERS before you
30get too deep in the weeds!