I have a system running Debian Wheezy which has glibc 2.13 by default. The builds use glibc >2.13 so I decided to build using automate-git.py, which has worked for me fine on other systems (e.g Ubuntu w glibc >2.13).
Unfortunately, I'm getting an error because it seems automate-git.py (or some part of the process) grabs a version of llvm built against glibc >2.13. I'm getting the following errors when building objects for thirdparty packages (e.g. pdfium, skia, opus),
../../third_party/llvm-build/Release+Asserts/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ../../third_party/llvm-build/Release+Asserts/bin/clang)
../../third_party/llvm-build/Release+Asserts/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by ../../third_party/llvm-build/Release+Asserts/bin/clang)
../../third_party/llvm-build/Release+Asserts/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /XXX/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/libstdc++.so.6)
Downstream, I get the following,
-------- Running "ninja -C out/Debug cefclient chrome_sandbox" in "/XXX/chromium/src"...
Traceback (most recent call last):
File "automate-git.py", line 891, in <module>
if options.buildlogfile else None)
File "automate-git.py", line 73, in run
shell=(sys.platform == 'win32'))
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out/Debug', 'cefclient', 'chrome_sandbox']' returned non-zero exit status 1
I have clang installed,
$ clang --version
Debian clang version 3.0-6.2 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
If there is some way to either use my native clang or rebuild the chromium clang, let me know.
Thanks!