Skip to content

libatomic for s390x #27377

@nealef

Description

@nealef

Is your feature request related to a problem? Please describe.
Building node for s390x requires libatomic as the comment in v8.gyp reports:

       # Platforms that don't have Compare-And-Swap support need to link atomic
       # library to implement atomic memory access

Describe the solution you'd like
s390x has many atomic instructions including a few compare-and-swap instructions (differing on operand size).

Describe alternatives you've considered
I am curious as to which atomic operations are required and where in the code they are. I would look at adding them to eliminate the need for libatomic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.s390Issues and PRs related to the s390 architecture.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions