This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch google/grte/v5-2.27/master updated. glibc-2.27-142-gb021997
- From: shebs at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Jun 2018 18:44:08 -0000
- Subject: GNU C Library master sources branch google/grte/v5-2.27/master updated. glibc-2.27-142-gb021997
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, google/grte/v5-2.27/master has been updated
via b02199714ba4f20152b40d1c9741103318e57fb6 (commit)
via 72351f85c79a83c10a2eaee5010de8f25df431a9 (commit)
from 2e97b841daa683b816ee9e8a59178100d14d339d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b02199714ba4f20152b40d1c9741103318e57fb6
commit b02199714ba4f20152b40d1c9741103318e57fb6
Author: Stan Shebs <stanshebs@google.com>
Date: Wed Jun 6 11:43:51 2018 -0700
Remove a blank line
diff --git a/README.grte b/README.grte
index 7ad3a30..f7b7781 100644
--- a/README.grte
+++ b/README.grte
@@ -59,4 +59,3 @@ of known bugs in clang, and issues with conformance to old standards
predating clang. Note that the clang build still needs symlinks to
libgcc and libstdc++ in the installed library directory, so that
thread cancellation tests pass.
-
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=72351f85c79a83c10a2eaee5010de8f25df431a9
commit 72351f85c79a83c10a2eaee5010de8f25df431a9
Author: Stan Shebs <stanshebs@google.com>
Date: Wed Jun 6 11:42:14 2018 -0700
Add a GRTE-specific readme.
diff --git a/README.grte b/README.grte
new file mode 100644
index 0000000..7ad3a30
--- /dev/null
+++ b/README.grte
@@ -0,0 +1,62 @@
+This file documents Google's modified version of glibc, known as GRTE
+(Google Run Time Environment). GRTE serves as the common C library for
+internal Google applications running on production systems.
+
+While GRTE is nearly identical to stock glibc, it does have a number
+of local changes. These run the gamut from patches that were
+submitted but not accepted for trunk glibc, to workarounds for quirks
+of Google infrastructure, to extensions that are critical for the
+proper functioning of applications. The ideal, however, is to have no
+local changes at all.
+
+GRTE versions are identified by a small integer, which generally
+corresponds to a particular glibc version. GRTE v4 is based on
+glibc-2.19, while GRTE v5 is based on glibc-2.27, for instance.
+
+BUILDING GRTE WITH GCC
+
+When using GCC, GRTE v4 and later will build with native
+configure/make in the usual way for glibc. For v4, nscd does not
+work, so add --disable-nscd when configuring.
+
+Supported architectures include x86_64 and ppc64le.
+
+Testsuites will likely have some additional failures.
+
+BUILDING GRTE WITH CLANG
+
+GRTE v5 and later can also be built with clang and (optionally) lld.
+LLVM support for GNU source code continues to evolve (as of June
+2018), so the process is less straightforward, and likely to change
+from what is documented here. There are a number of glibc patches
+that make this work, including additional configure options mentioned
+below.
+
+The minimum version of clang is 6.0.0. If lld is to be used for linking,
+it needs to be newer than 6.0.0.
+
+Configure:
+
+ CC=path-to-llvm/clang CXX=path-to-llvm/clang \
+ ../glibc/configure --disable-werror --with-clang --disable-float128 \
+ --with-lld --with-default-link --prefix=/something
+
+To build with BFD ld as linker, omit the "--with-lld
+--with-default-link". (Gold has had problems in the past.)
+
+Build:
+
+ make
+ make install
+
+To test:
+
+ make check
+
+Testsuite results will show many unexpected failures beyond the
+GCC-compiled results; about 390 for x86-64. These are a combination
+of known bugs in clang, and issues with conformance to old standards
+predating clang. Note that the clang build still needs symlinks to
+libgcc and libstdc++ in the installed library directory, so that
+thread cancellation tests pass.
+
-----------------------------------------------------------------------
Summary of changes:
README.grte | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
create mode 100644 README.grte
hooks/post-receive
--
GNU C Library master sources