-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area/buildquestionQuestions that are neither investigations, bugs, nor enhancementsQuestions that are neither investigations, bugs, nor enhancementsstalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently
Description
Title: envoy 1.20 build fails using clang due to unknown warning option '-Wno-maybe-uninitialized'
Description:
We are trying to build new envoy binary based envoy 1.20 source code but we are facing some issues:
error: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Werror,-Wunknown-warning-option]
Target //source/exe:envoy-static failed to build
We are compiling using CLANG. Below is a section of our Dockerfile used for the build:
WORKDIR /tmp
--
| RUN git clone https://"${GERRIT_USERNAME}:${GERRIT_PASSWORD}"@gerrit.ericsson.se/a/3pp/foss/github.com/envoyproxy/envoy
| #RUN git clone https://github.com/envoyproxy/envoy.git
| WORKDIR /tmp/envoy
| RUN git checkout ${ENVOY_VERSION}
| RUN CC=clang CXX=clang++ bazel build --fission=no -c opt //source/exe:envoy-static
| RUN strip bazel-bin/source/exe/envoy-static -o bazel-bin/source/exe/envoy
Compiling exactly in the same way with envoy 1.18.4 source code we didn't have any issue.
Can you please suggest how to fix it?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/buildquestionQuestions that are neither investigations, bugs, nor enhancementsQuestions that are neither investigations, bugs, nor enhancementsstalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently