grpc / grpc/grpc-dotnet

Regression: Protoc fails on Linux ARM64 with the latest versions

Open
#2,686 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
4.5k
Forks
836
Avg merge
6d 3h
Merged PRs (30d)
7

Description

### What version of gRPC and what language are you using?
`2.76.0` and C#.

### What operating system (Linux, Windows,...) and version?
Ubuntu 24.04 on ARM64 (Mac VM)

### What runtime / compiler are you using (e.g. .NET Core SDK version `dotnet --info`)
.NET 10 on local GitHub Runner.

### What did you do?
Building fails with protoc.

### What did you expect to see?
A success, like on the Mac.

### What did you see instead?
```
/media/psf/LinuxScratch/actions-runner/_work/_nuget/packages/grpc.tools/2.76.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6006: "/media/psf/LinuxScratch/actions-runner/_work/_nuget/packages/grpc.tools/2.76.0/tools/linux_arm64/protoc" exited with code 139.
```

### Anything else we should know about your project / environment?
I think this is the root cause: https://github.com/grpc/grpc/issues/38538, but this issue seems to be stale, hopefully this helps to move it forward. Currently I keep using version 2.67. Thanks.

Contributor guide

Open the contributing guide

Research direction

Start with the failing grpc.tools/2.76.0 path, especially Google.Protobuf.Tools.targets and the tools/linux_arm64/protoc executable named in the error. Compare the reported behavior with version 2.67 and read grpc/grpc issue 38538 for the suspected root cause. Done means the same Ubuntu 24.04 ARM64 build completes successfully with the current package.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, grpc, linux
Domain
build-system, operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.