-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
v3.6.0 crashes on Ubuntu 14.04 when compiling gRPC v1.15.0 #5353
Comments
I am going to bump this, as Buildroot is also having this issue when trying to cross-compile grpc with protobuf. We have tried the latest two versions, and I have personally tried with 4.0-rc2 as well. We are receiving the exact same error as @mpoullet and it's kind of sad that this bug has been ignored. :( Edit: If anybody wants to duplicate the error, you can easily do so with the following steps:
At this point, copy the following and save it as configs/grpc_defconfig:
This will puke out the above errors. |
Nit: we are having the problem when building the native variant, i.e. a native build, not a cross-build. The cross-build is OK in Buildroot. |
Sorry, yeah, this is the issue. |
In #5923 @snnn gave a good explanation what's going wrong. To fix the grpc build (when upgrading the toolchain is not an option) pass this to the initial cmake command when building grpc:
I submitted a patch to the buildroot Mailinglist. Related issue: |
@heinemml thanks |
grpc issue, and probably fixed there |
What version of protobuf and what language are you using?
Version: v3.6.0 (this issue does not happen with v3.5.2)
Language: C++
What operating system (Linux, Windows, ...) and version?
Ubuntu 14.04 (this issue does not happen on 16.04 and 18.04)
What runtime / compiler are you using (e.g., python version or gcc version)
Default versions provided by Ubuntu 14.04 like
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
What did you do?
I build
gRPC
v1.15.0 on Ubuntu 14.04 in Travis CI (log) using this script. It buildsprotobuf
v3.6.0 in thethird_party/protobuf
directory. Then it uses it.What did you expect to see
gRPC
v1.15.0 build usingprotobuf
v3.6.0 works.What did you see instead?
Anything else we should know about your project / environment
git bisect
ingRPC
to find out that grpc/grpc@894745d was responsible for breaking the build on Ubuntu 14.04.protobuf
too and I can see that e436ee0 is good and fcde518 is bad which leaves 14 commits in between to inspect. As I'm totally new toprotobuf
that is the most i can report by myself.The text was updated successfully, but these errors were encountered: