-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
envoy build in ubuntu and need some help #13227
Comments
@guoruijing, try this: https://gist.github.com/dio/9a7c826a2dbf004a81112db0d167d209? |
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 "no stalebot" or other activity occurs. Thank you for your contributions. |
@dio Have you tried to build it with ubuntu 20.04 with clang ? Appreciate if you could provide some steps to build envoy with clang. I tried with gcc and the build fails due to a known issue that hasn't fixed so far i guess. |
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 "no stalebot" 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" or "no stalebot". Thank you for your contributions. |
I failed to build envoy in ubuntu:
ubuntu 18.04
a) container build: ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release'
still in trying
b) bare metal build: bazel build //source/exe:envoy-static
Hit issue Envoy failed on Bazel CI with "unused variable 'factory_name'" #13079
ubuntu 20.04
a) container build: ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release'
FAILED: Build did NOT complete successfully (894 packages loaded, 25584 targets configured)
ERROR: Couldn't start the build. Unable to run tests
FAILED: Build did NOT complete successfully (894 packages loaded, 25584 targets configured)
./ci/do_ci.sh: line 49: pushd: bazel-testlogs: No such file or directory
I need to remove some compiler option to build out envoy:
iff --git a/bazel/envoy_internal.bzl b/bazel/envoy_internal.bzl
index 10b3448c0..3404d39f7 100644
--- a/bazel/envoy_internal.bzl
+++ b/bazel/envoy_internal.bzl
@@ -7,7 +7,6 @@ def envoy_copts(repository, test = False):
posix_options = [
"-Wall",
"-Wextra",
diff --git a/bazel/external/quiche.BUILD b/bazel/external/quiche.BUILD
index 6ca8429b3..e3acf9a32 100644
--- a/bazel/external/quiche.BUILD
+++ b/bazel/external/quiche.BUILD
@@ -57,7 +57,6 @@ quiche_common_copts = [
"-Wno-unused-function",
# quic_inlined_frame.h uses offsetof() to optimize memory usage in frames.
"-Wno-invalid-offsetof",
]
my questions: what approach is right to build envoy in ubuntu? OS? build command?
I use gcc. how can I change to clang?
The text was updated successfully, but these errors were encountered: