Files
graphene/LibOS/glibc-patches/fix-make-warnings.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

51 lines
1.4 KiB
Diff

2015-08-09 Mike Frysinger <vapier@gentoo.org>
* nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
* scripts/sysd-rules.awk: Likewise.
---
nptl/tst-cancel-wrappers.sh | 2 +-
scripts/sysd-rules.awk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/nptl/tst-cancel-wrappers.sh b/nptl/tst-cancel-wrappers.sh
index b2d8302..d492a54 100644
--- a/nptl/tst-cancel-wrappers.sh
+++ b/nptl/tst-cancel-wrappers.sh
@@ -74,7 +74,7 @@ C["__xpg_sigpause"]=1
seen=""
seen_enable=""
seen_disable=""
- object=gensub(/^.*\[(.*)\]:$/,"\\1","",$0)
+ object=gensub(/^.*\[(.*)\]:$/, "\\1", 1, $0)
next
}
{
diff --git a/scripts/sysd-rules.awk b/scripts/sysd-rules.awk
index cc14334..cebc9d3 100644
--- a/scripts/sysd-rules.awk
+++ b/scripts/sysd-rules.awk
@@ -53,7 +53,7 @@ BEGIN {
if (target_pattern == "%") {
command_suffix = "";
} else {
- prefix = gensub(/%/, "", "", target_pattern);
+ prefix = gensub(/%/, "", 1, target_pattern);
command_suffix = " $(" prefix "CPPFLAGS)";
}
target = "$(objpfx)" target_pattern o ":";
diff --git a/Makerules b/Makerules
--- a/Makerules
+++ b/Makerules
@@ -718,7 +718,7 @@ verbose :=
endif # not -s
ARFLAGS := r$(verbose)
-CREATE_ARFLAGS := cru$(verbose)
+CREATE_ARFLAGS := cruU$(verbose)
# This makes all the object files in the parent library archive.
--
2.4.4