镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Backport fix of Wasm on arm64 (M1) to Node 16 #39327

Description

@surma

Version

16.3

Platform

Darwin SurmBook.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 arm64

Subsystem

No response

What steps will reproduce the bug?

Detailled reproduction can be found in this crbug: https://crbug.com/1224882

How often does it reproduce? Is there a required condition?

100%

What is the expected behavior?

Should execute the Wasm successfully.

What do you see instead?

E_BAD_ACCESS

Additional information

There are two CLs that landed in V8 that fix this problem:

They will be part of the next v8 release, but it might be worth back-porting them to Node 16 as it is the first release that support arm64 natively (as far as I know?)

Activity

  1. devsnek commented on Jul 9, 2021

    @devsnek
    Member

    These patches don't apply cleanly but I could try to manually apply the logical changes. Dunno what our policy is on that.

  2. mcollina commented on Jul 9, 2021

    @mcollina
    SponsorMember

    I would start with the backport and fix when they do not apply.

  3. targos commented on Jul 10, 2021

    @targos
    Member

    I'm able to cherry-pick cleanly if I add two other commits. Compiling locally...

  4. added a commit that references this issue on Jul 10, 2021
  5. targos commented on Jul 10, 2021

    @targos
    Member
  6. added a commit that references this issue on May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions