Files
graphene/LibOS/glibc-patches/liblibos-2.23+.patch
Chia-Che Tsai dc8b63ce62 [Glibc] Update Glibc version to 2.23 and 2.27
Previously, Graphene supported Glibc version 2.19 only. This commit
adds support for Glibc v2.23 (default in Ubuntu 16.04) and Glibc
v2.27 (default in Ubuntu 18.04). The exact version can be chosen by
specifying GLIBC_VERSION during Graphene build. The default version
to be built is v2.27.

Note that for the best GDB experience it is advised to build Graphene
with the same Glibc version as installed on the host OS.
2019-08-15 13:30:53 -07:00

15 lines
430 B
Diff

diff --git a/shlib-versions b/shlib-versions
index 78b0ad7..5c3dcf2 100644
--- a/shlib-versions
+++ b/shlib-versions
@@ -64,6 +64,9 @@ sh.*-.*-linux.* ld=ld-linux.so.2 GLIBC_
# The -ldl interface (see <dlfcn.h>) is the same on all platforms.
libdl=2
+# Interface for Graphene
+liblibos=1
+
# So far the -lutil interface is the same on all platforms, except for the
# `struct utmp' format, which depends on libc.
libutil=1