WebAssembly / WebAssembly/binaryen
Does not compile on GCC versions < 5.0
Open
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 8.6k
- Forks
- 885
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 69
Description
In support/alloc.h the usage of aligned_alloc fails to compile on GCC versions older than GCC5, by checking for the feature flag in the preprocessor, we can drop to posix_memalign and it compiles just fine.
Contributor guide
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 in support/alloc.h and inspect how aligned_alloc is selected by the preprocessor. Check the relevant feature flag and the existing posix_memalign fallback, then verify that the project compiles with GCC versions older than 5.0 without breaking newer GCC builds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100