diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2017-09-29 16:49:02 -0700 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@google.com> | 2017-09-29 16:49:02 -0700 |
| commit | e6ede25f35cc5c15c1914146c2e93b0088cf0ab8 (patch) | |
| tree | 851992830a1538f1db88a0a6c7d02377d6a7c5e8 | |
| parent | 72c095bb13abe7a83fc6975f192c537db8d641b8 (diff) | |
| download | android_build_kati-e6ede25f35cc5c15c1914146c2e93b0088cf0ab8.tar.gz android_build_kati-e6ede25f35cc5c15c1914146c2e93b0088cf0ab8.tar.bz2 android_build_kati-e6ede25f35cc5c15c1914146c2e93b0088cf0ab8.zip | |
Fix build and test using bionic as a libc
There's a flag to Soong in order to use bionic as a libc instead of
glibc, removing dependencies on your host system. This fixes a single
include what you use, and some error message differences.
| -rw-r--r-- | exec.cc | 1 | ||||
| -rwxr-xr-x | runtest.rb | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,7 @@ #include <stdio.h> #include <stdlib.h> +#include <sys/wait.h> #include <memory> #include <unordered_map> @@ -177,6 +177,8 @@ def normalize_kati_log(output) # Normalization for "include foo" with Go kati. output.gsub!(/(: )open (\S+): n(o such file or directory)\nNOTE:.*/, "\\1\\2: N\\3") + # Bionic libc has different error messages than glibc + output.gsub!(/Too many symbolic links encountered/, 'Too many levels of symbolic links') output end |
