-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Quiche build failure under gcc #10422
Comments
Line numbers have changed since I reported the issue:
|
/assign @danzh2010 |
Reported in: envoyproxy/envoy#10422 of -Wsign-compare under GCC. envoyproxy/envoy#10767 of missing copy assignment under clang10. PiperOrigin-RevId: 309489267 Change-Id: I69cb5ed3a6b1bd447da44bb241c3d81bf73865ab
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
same issus after #13066 |
See the same, specific details I encountered with ubuntu 18.04 GCC as documented in this comment; #12898 (comment) |
We are also getting the same build failure ERROR: /root/.cache/bazel/_bazel_root/0bedc29ce814c783e9af4c990605c934/external/com_googlesource_quiche/BUILD.bazel:2170:17: C++ compilation of rule '@com_googlesource_quiche//:quic_core_framer_lib' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 272 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox |
Hi I am getting the same build failure. I'm trying to build on ubuntu 20.04. My specs are as follows.
When I try to run And it fails the build giving the following stacktrace. Any solution ? |
@NomadXD bazel/setup_clang.sh <PATH_TO_EXTRACTED_CLANG_LLVM> echo "build --config=clang" >> user.bazelrc I didn’t execute the setup_clang.sh command before, and I got the same error as yours. I downloaded a copy of clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz. After decompression and execution, the compilation succeeded. , I hope this can help you! |
@thomas1984 Thanks for the reply and sorry I didn't have time to check for couple of weeks. I tried that but still no luck. I did the following steps.
I am getting the following error.
I think clang doesn't get configured and thats why there's a gcc error there. Any idea ? |
Same issue when using envoyproxy image with gcc9 inside. |
This issue should have been fixed in QUICHE and merged into Envoy in #13949. |
@cooperkuo yeah it's a valid issue i think. lot of people had the same issue and noone gave a proper answer or a way to fix. I tried using clang also but still no luck. :-( |
clang config generated in envoy submodule isn't being picked up by bazel when building from http-filter-example's main dir. envoyproxy/envoy-filter-example#139 should fix the issue. |
@dmitri-d Thanks a lot for the tip. Was able to build successfully. Can you build it successfully using gcc as well ? I'm kinda new to envoy and it's ecosystem, so just trying explore everything. |
@danzh2010 Thanks a lot for the info. Earlier I was trying to build v1.16.0. But now since the quiche build issue is fixed after that , I tried to build the master. Now I am not getting a Quiche build failure but getting the following error.
I googled it and seems like it's not something specific to envoy. I think it's related to ARG_MAX value and stack size allocated for params. I'm referring to this https://www.linuxquestions.org/questions/linux-kernel-70/argument-list-too-long-922171/ In the error stack trace I have this part,
which I guess related to this stack size issue. |
Quiche fails to build under gcc (9.2.x) with the following error:
The text was updated successfully, but these errors were encountered: