WebAssembly / WebAssembly/binaryen

NaN flip a sign bit on ARM(el)

Open
#7,291 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

As can be seen in this build log

-[LoggingExternalInterface logging nan:0x7fff82]
+[LoggingExternalInterface logging -nan:0x7fff82]

The best I could find about this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Debian armel build log and the referenced Dart issue to understand the NaN sign-bit discrepancy. Then locate the Binaryen path responsible for the reported LoggingExternalInterface output and reproduce it on armel or an equivalent target. Done means the behavior is understood and the unintended sign-bit change is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.