FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: fix ffi dependency compilation by ShogunPanda · Pull Request #62731 · nodejs/node · GitHub

/ node Public

build: fix ffi dependency compilation - #62731

Merged
nodejs-github-bot merged 4 commits into
nodejs:mainfrom
ShogunPanda:ffi-compile
Apr 15, 2026
Merged

build: fix ffi dependency compilation#62731
nodejs-github-bot merged 4 commits into
nodejs:mainfrom
ShogunPanda:ffi-compile

Conversation

ShogunPanda commented Apr 14, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

This fix a little build regression introduced in #62072.

Signed-off-by: Paolo Insogna <paolo@cowtech.it>

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg

nodejs-github-bot added build Issues and PRs related to build files or the CI. dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run. labels Apr 14, 2026
ShogunPanda added the fast-track PRs that do not need to wait for 48 hours to land. label Apr 14, 2026

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @ShogunPanda. Please 👍 to approve.

aduh95 commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

I'm still getting an error when building with --shared-ffi on macOS:

../../src/node_metadata.cc:176:12: error: use of undeclared identifier 'FFI_VERSION_STRING'
  176 |   libffi = FFI_VERSION_STRING;
      |            ^~~~~~~~~~~~~~~~~~

Copy link
Copy Markdown
Contributor Author

@aduh95 That might happen if you have a local libffi lower than 3.5.x. Can you please verify that?

Signed-off-by: Paolo Insogna <paolo@cowtech.it>

aduh95 commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

@aduh95 That might happen if you have a local libffi lower than 3.5.x. Can you please verify that?

Yeah we have it set to an Apple fork that's on version 3.4.1-rc for some reason. I've opened #62737 to fix that, I've confirmed locally it does build on top of this PR.

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

mcollina added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 14, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 14, 2026

Copy link
Copy Markdown
Collaborator

Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Signed-off-by: Paolo Insogna <paolo@cowtech.it>

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

ShogunPanda added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Apr 15, 2026
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 15, 2026
nodejs-github-bot merged commit 3f52482 into nodejs:main Apr 15, 2026
65 checks passed

Copy link
Copy Markdown
Collaborator

Landed in 3f52482

ShogunPanda deleted the ffi-compile branch April 15, 2026 11:07
addaleax added the ffi Issues and PRs related to experimental Foreign Function Interface support. label Apr 20, 2026
aduh95 pushed a commit that referenced this pull request May 5, 2026
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
PR-URL: #62731
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. dependencies Pull requests that update a dependency file. fast-track PRs that do not need to wait for 48 hours to land. ffi Issues and PRs related to experimental Foreign Function Interface support. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants


Back | FazBrowse Home | New Git URL