Skip to content

Re-enable nan test: typedarrays-test.js #28414

Closed

Description

@nornagon

The typedarrays-test.js test is failing due to an incompatibility between libc++ and libstdc++.

We should build these tests against libc++ to fix this and prevent future incompatibilities.

Activity

  1. VerteDinde commented on Apr 14, 2021

    @VerteDinde
    Member

    Some additional context on this issue (thanks @MarshallOfSound!):

    electron-rebuild already has an option to use the same clang compiler as Electron itself, and on Linux it will use the same sysroot as well. We should update these flags so that running electron-rebuild uses the same libc++ (and libc++ flags) as the normal Electron build.

    This is very open ended, as there are quite a few problems to solve here:

    • How do you ensure the build flags are the same?
    • How do you pull the right version of libc++?
    • Etc.

    The end goal here is that native node modules are built in the exact same way as Electron itself, to ensure maximum compatibility.

  2. self-assigned this
    on Apr 21, 2021
  3. self-assigned this
    on May 5, 2021
  4. added a commit that references this issue on May 5, 2021
    9a0334e
  5. added 2 commits that reference this issue on May 13, 2021
    8e7ccf6
    16cbfa9
  6. added 2 commits that reference this issue on May 22, 2021
    d033255
    b3c701a
  7. added a commit that references this issue on May 24, 2021
    cb798f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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