GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: update zlib to upstream 8bbd6c31 by lpinca · Pull Request #45387 · nodejs/node

Conversation

@lpinca

@lpinca lpinca commented Nov 9, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Update zlib to upstream 8bbd6c31.

Supersedes #44412.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss and baparham reacted with thumbs up emoji Neustradamus reacted with heart emoji
All reactions
  • 👍 2 reactions
  • ❤️ 1 reaction
@nodejs-github-bot nodejs-github-bot added dependencies PRs that add, update, or configure Node.js dependencies. needs-ci PRs that need a full CI run. zlib Issues and PRs related to the zlib module and its compression dependencies. labels Nov 9, 2022
@lpinca lpinca mentioned this pull request Nov 9, 2022
deps: update zlib to upstream 926ac23 #44412
Closed
@lpinca
lpinca force-pushed the update/zlib branch from 3ff3da2 to 155d705 Compare November 9, 2022 13:54
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 9, 2022
@lpinca

lpinca commented Nov 9, 2022

Copy link
Copy Markdown
Member Author

Benchmark CI: https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/1215/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 9, 2022
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
RafaelGSS
RafaelGSS approved these changes Nov 9, 2022
View reviewed changes

@RafaelGSS RafaelGSS left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

baparham reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@Neustradamus

Neustradamus commented Nov 10, 2022

Copy link
Copy Markdown

To follow

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Nov 10, 2022
CI Reliability 2022-11-10 nodejs/reliability#424
Open
20 tasks
@mscdex

mscdex commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

FWIW it looks like there is no difference in results after re-running the deflate benchmarks.

RafaelGSS reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@lpinca

lpinca commented Nov 10, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Build on Windows ARM fails, but I see no specific error.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@RaisinTen

RaisinTen commented Nov 10, 2022

Copy link
Copy Markdown
Member

If you view the logs as plain text and search for the last occurrence of error: you'll see:

C:\workspace\node-compile-windows\node\deps\zlib\cpu_features.c(55,1): fatal error C1189: #error:  cpu_features.c CPU feature detection in not defined for your platform [C:\workspace\node-compile-windows\node\deps\zlib\zlib.vcxproj]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca

lpinca commented Nov 10, 2022

Copy link
Copy Markdown
Member Author

@RaisinTen thanks. I'll take a look. We might need to patch the gyp file as suggested here #44412 (comment).

RaisinTen reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca
lpinca force-pushed the update/zlib branch 2 times, most recently from 5fe09af to 02dfc58 Compare November 10, 2022 09:21
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 10, 2022
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 10, 2022
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@lpinca
lpinca force-pushed the update/zlib branch from 02dfc58 to 4dca228 Compare November 10, 2022 10:10
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@lpinca
lpinca force-pushed the update/zlib branch from 4dca228 to 638653b Compare November 10, 2022 13:21
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@lpinca
lpinca force-pushed the update/zlib branch from 638653b to 718b068 Compare November 10, 2022 17:32
@github-actions github-actions Bot mentioned this pull request Nov 17, 2022
CI Reliability 2022-11-17 nodejs/reliability#431
Open
13 tasks
This was referenced Nov 17, 2022
deps: update chromium zlib 1.2.12 #42571
Closed
bundled zlib is missing an upstream UB fix #41744
Closed
Is maintaining-zlib document up-to-date? #44254
Closed
clang-12 + Release mode causes zlib failures (apparent data corruption) #39313
Closed
@github-actions github-actions Bot mentioned this pull request Nov 18, 2022
CI Reliability 2022-11-18 nodejs/reliability#432
Open
12 tasks
This was referenced Nov 21, 2022
CVE-2022-37434 (zlib) found on main nodejs/nodejs-dependency-vuln-assessments#50
Closed
Node.js Security WG Initiatives 2023 nodejs/security-wg#846
Closed
ruyadorno pushed a commit that referenced this pull request Nov 21, 2022
@lpinca @ruyadorno
deps: update zlib to upstream 8bbd6c31
c41e67f
Updated as described in doc/contributing/maintaining-zlib.md.

PR-URL: #45387
Reviewed-By: Rafael Gonzaga <[email protected]>
ruyadorno pushed a commit that referenced this pull request Nov 21, 2022
@addaleax @ruyadorno
deps: fix zlib compilation for CPUs without SIMD features
45ba14b
Fix the compile flags so that zlib can run on CPUs that do
not have SSSE3/SSE4.2/etc. Do not compile zlib with flags that
indicate that those features are available, and instead enable
them selectively for functions that use them.

There are probably better way to do this, e.g. through gyp file
modifications as suggested in the issue. However, this patch
should do just fine until that happens.

Fixes: #32553

PR-URL: #32627
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
PR-URL: #45387
Reviewed-By: Rafael Gonzaga <[email protected]>
@ruyadorno ruyadorno mentioned this pull request Nov 24, 2022
v19.2.0 proposal #45615
Merged
@danielleadams danielleadams mentioned this pull request Dec 30, 2022
v18.13.0 release proposal #46025
Merged
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
@lpinca @danielleadams
deps: update zlib to upstream 8bbd6c31
17893de
Updated as described in doc/contributing/maintaining-zlib.md.

PR-URL: #45387
Reviewed-By: Rafael Gonzaga <[email protected]>
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
@addaleax @danielleadams
deps: fix zlib compilation for CPUs without SIMD features
bbd60e2
Fix the compile flags so that zlib can run on CPUs that do
not have SSSE3/SSE4.2/etc. Do not compile zlib with flags that
indicate that those features are available, and instead enable
them selectively for functions that use them.

There are probably better way to do this, e.g. through gyp file
modifications as suggested in the issue. However, this patch
should do just fine until that happens.

Fixes: #32553

PR-URL: #32627
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
PR-URL: #45387
Reviewed-By: Rafael Gonzaga <[email protected]>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
@lpinca @danielleadams
deps: update zlib to upstream 8bbd6c31
978cfad
Updated as described in doc/contributing/maintaining-zlib.md.

PR-URL: #45387
Reviewed-By: Rafael Gonzaga <[email protected]>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
@addaleax @danielleadams
deps: fix zlib compilation for CPUs without SIMD features
43419ad
Fix the compile flags so that zlib can run on CPUs that do
not have SSSE3/SSE4.2/etc. Do not compile zlib with flags that
indicate that those features are available, and instead enable
them selectively for functions that use them.

There are probably better way to do this, e.g. through gyp file
modifications as suggested in the issue. However, this patch
should do just fine until that happens.

Fixes: #32553

PR-URL: #32627
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
PR-URL: #45387
Reviewed-By: Rafael Gonzaga <[email protected]>
@nappy

nappy commented Feb 20, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This (or maybe the other commit changing the gyp file) seems to break the Android arm64 build; zlib now references cpu-features.h on arm64 but this is not something provided by the platform it seems, but a module that needs to be compiled?!?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Adenilson

Adenilson commented Mar 9, 2023

Copy link
Copy Markdown

I noticed that it seems that node.js is lagging 4 months behind Chromium zlib (i.e. in sync with hash 8bbd6c31 from Nov 7th of 2022) at the time of this writing.

It may be a good idea to sync with ToT (Top of the Tree), since I landed last week an optimization that improved in average data decompression speed in average +12% to +16% for Intel processors.

In some cases (e.g. HTML) the improvement was massive (i.e. +46% faster decompression).

Is there someone within the node.js project that I could reach out from time to time to share whenever a sync with Chromium zlib may be in order (i.e. contact email)?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca lpinca mentioned this pull request Mar 18, 2023
deps: update zlib to upstream 5edb52d4 #47151
Closed
lpinca added a commit to lpinca/node that referenced this pull request Apr 4, 2023
@lpinca
deps: update zlib to upstream 5edb52d4
3e91e31
Updated as described in doc/contributing/maintaining-zlib.md.

Refs: nodejs#45387 (comment)
lpinca added a commit that referenced this pull request Apr 6, 2023
@lpinca
deps: update zlib to upstream 5edb52d4
be2791b
Updated as described in doc/contributing/maintaining-zlib.md.

Refs: #45387 (comment)
PR-URL: #47151
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
RafaelGSS pushed a commit that referenced this pull request Apr 13, 2023
@lpinca @RafaelGSS
deps: update zlib to upstream 5edb52d4
e7ca09f
Updated as described in doc/contributing/maintaining-zlib.md.

Refs: #45387 (comment)
PR-URL: #47151
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
@lpinca @danielleadams
deps: update zlib to upstream 5edb52d4
69a0050
Updated as described in doc/contributing/maintaining-zlib.md.

Refs: #45387 (comment)
PR-URL: #47151
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
@lpinca @MoLow
deps: update zlib to upstream 5edb52d4
443a72e
Updated as described in doc/contributing/maintaining-zlib.md.

Refs: nodejs#45387 (comment)
PR-URL: nodejs#47151
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@RafaelGSS RafaelGSS RafaelGSS approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. dependencies PRs that add, update, or configure Node.js dependencies. needs-ci PRs that need a full CI run. zlib Issues and PRs related to the zlib module and its compression dependencies.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@lpinca @nodejs-github-bot @Neustradamus @mscdex @RaisinTen @RafaelGSS @nappy @Adenilson @addaleax
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.