-
Notifications
You must be signed in to change notification settings - Fork 74k
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
bazel compile error #82
Comments
It should work with gcc 4.8.1 as it is the one in ubuntu 14.04 LTS which is definitely supported. Have you tried to compile it from master branch or have you run If you have problems compile bazel you can try download their binaries (no copilation needed) [https://github.com/bazelbuild/bazel/releases]. And if bazel does not build on latest ubuntu lts (gcc 4.8.1) you should report it to [https://github.com/bazelbuild/bazel/issues]. |
Bazel contributor here. As @jendap mentioned, feel free to report any Bazel-related issues you encounter at https://github.com/bazelbuild/bazel/issues |
I get a similar error using gcc 4.8.1 when I run the command
I have built bazel 0.1.0 following the instructions and it didn't give any errors. It successfully clones all the repos, but as soon as it starts to compile I get these errors:
|
@piergiaj that is weird. Don't you have two gcc version in the system? Quick googling for those flags are old. They are around for many years before gcc 4.8.1. BTW: They are warnings, you can simply comment them out in third_party/gpus/crosstool/CROSSTOOL. But you can expect a lot more problems since it seems to be picking some very old compiler. |
Thank you @jendap . |
You're welcome! Yes, the hardcoded default paths should be (will be) changed to pick the one on $PATH. |
@jendap I do have several versions of gcc on my system. The default one is 4.8.1, but the one in /usr/bin/gcc is 4.3.4 This seems to be caused because of the settings in tools/cpp/CROSSTOOL
After I changed those to point to gcc 4.8.1, it compiled several files until it failed compiling protobuf (which is a separate issue). This seems to be a known bazel issue. |
dask_io test coverage
I have the same issue on RHEL with gcc 4.4.7 |
I have the same issue just following this tutorial https://www.tensorflow.org/tutorials/image_retraining |
How to solve this problem? I need help E tensorflow/examples/label_image/main.cc:305] Running model failed: Not found: FeedInputs: unable to find feed output input Thank you |
Merge master 20181004
- fix missing check while simplifying an expression with floordiv to a mod - fixes issue #82 Signed-off-by: Uday Bondhugula <uday@polymagelabs.com> Closes #84 COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#84 from bondhugula:quickfix 26d0d70d4aeaa909e0ad93094fe15b385a618b80 PiperOrigin-RevId: 264338353
PiperOrigin-RevId: 449122006
with gcc (GCC) 4.8.2.
git clone ;
cd bazel ;
./compile.sh;
Is there any requirement of gcc version?
I get this:
The text was updated successfully, but these errors were encountered: