Skip to content

Build failing in envoyproxy/envoy-build-ubuntu:49aaeb8f5473f09b4ab37ef3233a5e8afb7f9ed8-arm64 #136

Open

Description

@NomadXD

I have written a WASM filter and use envoyproxy/envoy-build-ubuntu docker image to build the WASM module as a proxy_wasm_cc_binary(mount the source files into the container, build inside and mount back the WASM module to the host). The build works fine in my linux machine with envoyproxy/envoy-build-ubuntu. In MacBook Pro M1 machine, I use this envoyproxy/envoy-build-ubuntu:49aaeb8f5473f09b4ab37ef3233a5e8afb7f9ed8-arm64 image but the build fails with the following error.

ERROR: /build/.cache/bazel/_bazel_envoybuild/ac6b95f765ecc3e5ca8ed36bf09bfca3/external/proxy_wasm_cpp_sdk/BUILD:32:11: Compiling proxy_wasm_intrinsics.cc failed: (Exit 2): emcc.sh failed: error executing command external/emsdk/emscripten_toolchain/emcc.sh '--sysroot=external/emsdk/emscripten/cache/sysroot' -fdiagnostics-color -fno-exceptions -fno-strict-aliasing -funsigned-char -no-canonical-prefixes ... (remaining 30 arguments skipped)

According to that logs, it seems like proxy_wasm_intrinsics compilation fails inside the above mentioned docker container. Any way to fix this ? Thanks

cc @PiotrSikora

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions