Skip to content

unix: reinstate preadv fallback code#4345

Merged
bnoordhuis merged 1 commit intolibuv:v1.xfrom
bnoordhuis:fix4332
Mar 20, 2024
Merged

unix: reinstate preadv fallback code#4345
bnoordhuis merged 1 commit intolibuv:v1.xfrom
bnoordhuis:fix4332

Conversation

@bnoordhuis
Copy link
Copy Markdown
Member

I removed the fallback code back in October but it prevents Node.js from upgrading libuv in their v20.x release line because they support systems older than we do. Bring back a dlsym-based fallback path.

Fixes: #4332

@bnoordhuis bnoordhuis force-pushed the fix4332 branch 2 times, most recently from 86a6b37 to 4c8312f Compare March 7, 2024 09:55
@santigimeno
Copy link
Copy Markdown
Member

I think we need to dynamically check for pwritev too. (would love to get rid of the fallback but Node.js considered it an API breakage :( )

I removed the fallback code back in October but it prevents Node.js
from upgrading libuv in their v20.x release line because they support
systems older than we do. Bring back a dlsym-based fallback path.

Fixes: libuv#4332
@bnoordhuis
Copy link
Copy Markdown
Member Author

I think we need to dynamically check for pwritev too.

Done.

@bnoordhuis
Copy link
Copy Markdown
Member Author

@santigimeno wanted to double-check, this LGTY?

Copy link
Copy Markdown
Member

@santigimeno santigimeno left a comment

Choose a reason for hiding this comment

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

LGTM, I just launched https://ci.nodejs.org/view/libuv/job/libuv-test-commit/2286/ just to be sure it doesn't break anything in the other platforms not supported via GH actions,

@bnoordhuis
Copy link
Copy Markdown
Member Author

The recurring test failure is a cgroups v1 thing I fixed in 91ba130 recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure with 1.48.0 on OSX x86

3 participants