-
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
Compilation error on 32 bit machine #3643
Comments
If you know you're on a 32-bit machine, generally the best approach is to completely ignore the C-implementation of singlejar: https://svnweb.freebsd.org/ports/head/devel/bazel/files/extra-i386_src_BUILD?revision=447714&view=markup (the type fix also in that patch is upstream, but didn't make it into 0.5.4). |
I seem to have solved this problem, |
@aehlig thank you very much ,I'll have a try :) |
I'm closing the issue as you've solved the problem and the proper fix has been submitted already, feel free to reopen if you have any questions. |
The fix of replacing
On the other hand, if I try another approach of deleting the line
|
I hava the same issue, my os is also ubuntu 16.04 32bit LTS . but the bazel version is 0.21.0, and #38c5241 to edit the file src/BUILD (line 173-174) into
Hope to help others. |
When i run ./compile.sh in Ubuntu 16.04 32bit i got this error("./src/tools/singlejar/mapped_file.h:40:2: error: #error This code for 64 bit Unix"),how can i do?
i follow #3382 to modify src/main/java/com/google/devtools/build/lib/util/CPU.java (line 23-29)and
tools/cpp/lib_cc_configure.bzl (line 106)like this
but it's not work...
Bazel version : 0.5.4
my machine information is :
The text was updated successfully, but these errors were encountered: