Skip to content
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

post-merge build is broken #142

Open
derekargueta opened this issue Mar 25, 2021 · 1 comment
Open

post-merge build is broken #142

derekargueta opened this issue Mar 25, 2021 · 1 comment

Comments

@derekargueta
Copy link
Member

derekargueta commented Mar 25, 2021

Seems it doesn't like something about tcmalloc

Use --sandbox_debug to see verbose messages from the sandbox
warning: unknown warning option '-Wno-implicit-int-float-conversion'; did you mean '-Wno-implicit-float-conversion'? [-Wunknown-warning-option]
In file included from external/com_github_google_tcmalloc/tcmalloc/cpu_cache.cc:15:
In file included from external/com_github_google_tcmalloc/tcmalloc/cpu_cache.h:30:
external/com_github_google_tcmalloc/tcmalloc/internal/percpu_tcmalloc.h:332:18: error: invalid output constraint '=@ccae' in asm
      [overflow] "=@ccae"(overflow)
                 ^
external/com_github_google_tcmalloc/tcmalloc/internal/percpu_tcmalloc.h:459:25: error: invalid output constraint '=@ccbe' in asm
            [underflow] "=@ccbe"(underflow),
                        ^
1 warning and 2 errors generated.
Target //:envoy failed to build
INFO: Elapsed time: 52.329s, Critical Path: 21.65s
INFO: 2526 processes: 2130 internal, 395 processwrapper-sandbox, 1 worker.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

did a bit of bisecting and I think it started with this commit in main Envoy: envoyproxy/envoy@4c0d2d2'

envoy-filter-example commit: db2cdca

@robinp-tw
Copy link

Using clang-10 seems to help me:

bazel clean --expunge
CC=clang-10 bazel build -c opt //source/exe:envoy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants