-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile bazel on centos6 successful but trigger /lib64/libc.so.6: version `GLIBC_2.14' not found #4374
Comments
Which version of centos6? We have a ci job testing for centos 6.7 (https://source.bazel.build/bazel/+/master:src/test/docker/Dockerfile.centos6.7?q=centos) and it's green. I'd assume it's the problem with your configuration, maybe wrong glibc is detected because of linuxbrew. Which gcc version do you use? It would help me greatly if you could isolate the problem more (to the level of "this step in cc_configure.bzl is incorrect because ..."). Thanks! |
Hi @mhlopko , thanks for your reply. We're using gcc-5.4.0 which is installed via linuxbrew. Because I am new to bazel, is there any guide for understanding cc_configure.bzl? |
Not really, just the code. The TLDR is that bazel executes that code before the build starts to configure the C++ toolchain. |
I'm running into the same problem.
|
I don't know why the error shows |
@chaoren, this is a bug with Bazel on Rodete. Check out the internal go/bazel FAQ page for the workaround (you'll need to set JAVA_HOME to OpenJDK) |
Ah, thanks. Would that work for this user on centos6 as well? |
Is this still an issue? |
I have the same issue on CentOS 7:
my OS is:
Setting JAVA_HOME to openJDK does work |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 2+ years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team ( |
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help.
Description of the problem / feature request / question:
The compiled bazel executable yields the following errors:
If possible, provide a minimal example to reproduce the problem:
Environment info
bazel info release
): 0.9.0Have you found anything relevant by searching the web?
(e.g. StackOverflow answers,
GitHub issues,
email threads on the
bazel-discuss
Google group)There are some instruction of modifying CROSSTOOL which is no effect in version 0.9.
Anything else, information or logs or outputs that would be helpful?
(If they are large, please upload as attachment or provide link).
The text was updated successfully, but these errors were encountered: