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
Build error when using g++ 9.3 and associated std lib #29984
Comments
I also noticed that the problem goes away if I use downgrade to commit |
Looks like a possible portability issue. Esun, can you please take a look? |
I briefly tried to reproduce this on Ubuntu 20 with gcc 9 but it worked as followings;
If you can give us repro, it would be helpful to address it. |
Hi @veblush, we are using conda to get our gcc toolchain including libstdc++. I can give it a shot in terms of reproducing it with that toolchain. I wonder if the conda libstdc++ is slightly different as surprising as that would be. |
I guess #30118 fixed ths issue. |
What version of gRPC and what language are you using?
GRPC master, commit 0da56bc
What operating system (Linux, Windows,...) and version?
Ubuntu 20.04
What runtime / compiler are you using (e.g. python version or version of gcc)
g++ 9.30, libstdc++.so.6
What did you do?
Try to build a hello world server/client example in my project using bazel.
I import grpc in my bazel workspace as follows:
I use the absl version that I found used in grpc deps.
I compile a copy of
https://github.com/grpc/grpc/blob/master/examples/cpp/helloworld/greeter_server.cc
by issuingbazel build //grpc_example:greeter_server
What did you expect to see?
A successful compilation
What did you see instead?
A compile error like this:
I am using gcc 9.3 and libstdc++.so.6 from conda. I notice that this problem goes away if I update gcc and libstdc++ to higher versions but sadly that is not an option in my environment. Is there anything I can do to make this problem go away without updating gcc? I am already on one of the latest commits on grpc. Is there a downgrade I could perhaps do to make this problem go away?
Anything else we should know about your project / environment?
The text was updated successfully, but these errors were encountered: