Hi Team,
  I have installed go, bazel and protoc on my m1 Pro ,  I believe I have 
all the dependencies while running it on my local I could see the below 
error, 


go version go1.22.2 darwin/arm64

clang -v
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

gcc -v
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

g++ -v
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

bazel --version
bazel 6.4.0

protoc --version
libprotoc 26.1




3 warnings generated.
ERROR: 
/private/var/tmp/_bazel_anupam/3ba8bcaf74fb5272b05c82610657a6de/external/com_google_protobuf/BUILD:480:10:
 
Linking external/com_google_protobuf/protoc [for tool] failed: (Exit 1): 
cc_wrapper.sh failed: error executing command (from target 
@com_google_protobuf//:protoc) external/local_config_cc/cc_wrapper.sh 
@bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-e846b08c7501/bin/external/com_google_protobuf/protoc-2.params

Use --sandbox_debug to see verbose messages from the sandbox and retain the 
sandbox build root for debugging
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
Target //cmd/admin_service:admin_service failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 61.497s, Critical Path: 58.35s
INFO: 210 processes: 26 internal, 184 darwin-sandbox.
FAILED: Build did NOT complete successfully
ERROR: Build failed. Not running target

Thanks in Advance, 
Anupam

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/a16d7130-8ab0-4984-bfe6-f70337fe0babn%40googlegroups.com.

Reply via email to