envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
25.02k stars 4.82k forks source link

tools/vscode/generate_debug_config.py Failed #23239

Open guoyuanchao1202 opened 2 years ago

guoyuanchao1202 commented 2 years ago

If you are reporting any crash or any potential security issue, do not open an issue in this repo. Please report the issue via emailing envoy-security@googlegroups.com where the issue will be triaged appropriately.

Title: Exec tools/vscode/generate_debug_config.py //source/exe:envoy-static --args "-c envoy-config.yaml" --debugger lldb failed

Description:

Describe the issue. Local OS: Mac M1 I use vscode-remote container to debug envoy, but when i exec tools/vscode/generate_debug_config.py, it failed, the detail is:

image

could you please help me? thanks! [optional Relevant Links:]

Any extra documentation required to understand the issue.

daixiang0 commented 2 years ago

do not contain a toolchain support for cpu aarch

I think it is the root cause.

/cc @lizan

wbpcode commented 2 years ago

related to #23238

phlax commented 2 years ago
do not contain a toolchain support for cpu aarch

rules_python provides the python toolchain i think https://github.com/bazelbuild/rules_python/blob/main/python/versions.bzl#L120

im a bit confused as to what exactly is failing

github-actions[bot] commented 1 year ago

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.

keith commented 1 year ago

the issue here is actually the cc toolchain, i think we need to define a aarch64 version over here to start https://github.com/envoyproxy/envoy-build-tools/blob/main/toolchains/configs/linux/clang/cc/BUILD

im not going to dig into this one anymore right now though

github-actions[bot] commented 1 year ago

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.

bofeng96 commented 1 year ago

Hello. Is there any update?

sunqingyong commented 10 months ago

change the default cpu type kvm64 to max.

mathetake commented 6 months ago

I believe this is already resolved just by removing the line

build --config=rbe-toolchain-clang-libc++

in ~/.bazelrc inside your devcontainer.

zirain commented 2 weeks ago

@mathetake should we remove L8 from .devcontainer/setup.sh?

mathetake commented 2 weeks ago

sure i think that makes sense