automate-git.py w GLIBC 2.13

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

automate-git.py w GLIBC 2.13

Postby fernando » Tue Sep 09, 2014 8:32 am

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!
fernando
Newbie
 
Posts: 6
Joined: Tue Sep 09, 2014 5:59 am

Re: automate-git.py w GLIBC 2.13

Postby magreenblatt » Tue Sep 09, 2014 10:17 am

See https://groups.google.com/a/chromium.or ... -Ykx8jKK38 and https://code.google.com/p/chromium/issu ... ?id=222038. If you want to build on Wheezy you can try getting a newer version of libc6 from Debian experimental.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: automate-git.py w GLIBC 2.13

Postby fernando » Tue Sep 09, 2014 11:13 am

Thanks.

Looks like the build process is grabbing a pre-compiled version of clang based on some recent pull. Do you know if it's possible to just build that version of clang natively and use that instead as part of the build process?

If there's a better place to post this, let me know.

Thanks again.
fernando
Newbie
 
Posts: 6
Joined: Tue Sep 09, 2014 5:59 am

Re: automate-git.py w GLIBC 2.13

Postby magreenblatt » Tue Sep 09, 2014 11:36 am

Probably best to ask on the chromium-dev mailing list.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: automate-git.py w GLIBC 2.13

Postby fernando » Tue Sep 09, 2014 12:13 pm

fernando
Newbie
 
Posts: 6
Joined: Tue Sep 09, 2014 5:59 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 40 guests