You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: Analyzed target //main:hello-world (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR:/bazel-examples/cpp-tutorial/stage1/main/BUILD:3:10: Linking main/hello-world failed: (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh @bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-2.params
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
clang: error: invalid linker name in argument '-fuse-ld=-debugger-tuning=lldb'
Target //main:hello-world failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.259s, Critical Path: 0.07s
INFO: 2 processes: 2 internal.
FAILED: Build did NOT complete successfully
Sounds my clang-14 can't handle-fuse-ld=-debugger-tuning=lldb ,by the way,I found it can deal with-debugger-tuning=-fuse-ld=lldb.Maybe I should change the command -fuse-ld=-debugger-tuning=lldb in bazel-out?But I don‘t know how to change it.Have you ever had the same situation?
The text was updated successfully, but these errors were encountered:
bazel build //main:hello-world in m1 mac
Sounds my clang-14 can't handle
-fuse-ld=-debugger-tuning=lldb
,by the way,I found it can deal with-debugger-tuning=-fuse-ld=lldb
.Maybe I should change the command-fuse-ld=-debugger-tuning=lldb
in bazel-out?But I don‘t know how to change it.Have you ever had the same situation?The text was updated successfully, but these errors were encountered: