Github Action's Linux GNU build fails with missing <stdatomic.h>
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.9k
- Forks
- 412
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 64
Description
When targeting linux-gnu (64 & x86), I'm encountering the following error in the Github action:
warning: aws-lc-sys@0.39.1: In file included from /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.39.1/aws-lc/crypto/asn1/asn1_lib.c:14:0:
warning: aws-lc-sys@0.39.1: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.39.1/aws-lc/crypto/asn1/../internal.h:488:23: fatal error: stdatomic.h: No such file or directory
warning: aws-lc-sys@0.39.1: #include <stdatomic.h>
All build scripts point to using std=11 so I'm not too sure what to make of this one. My apologies if it's a trivial fix :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the GitHub Actions Linux GNU job and the build scripts that configure the C11 standard, then reproduce the failure for 64-bit x86. Check how the aws-lc-sys dependency is compiled and verify that the workflow completes without the missing stdatomic.h error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, linux, rust
- Domain
- build-system, ci-cd, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100