Skip to content

build: pass target architecture to small-icu genccode - #65095

Merged
nodejs-github-bot merged 1 commit into
mainfrom
unknown repository
Aug 17, 2026
Merged

build: pass target architecture to small-icu genccode#65095
nodejs-github-bot merged 1 commit into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Aug 7, 2026

Copy link
Copy Markdown

Fixes #58751.

Pass the target architecture to genccode when converting trimmed ICU data into a Windows object file. Windows builds use ClangCL, whose ICU COFF writer requires -c <target_arch>; without it, the small-ICU path passes a null architecture and genccode exits with an access violation.

The full-ICU Windows path already supplies the same option. This change makes the small-ICU path consistent.

Tests: GYP syntax validation and git apply --check against the specified base and Node.js v24.2.0. The Windows build command was not run in this environment.

Signed-off-by: ulofiai <monsterking@tutamail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp

@nodejs-github-bot nodejs-github-bot added i18n-api Issues and PRs related to Node.js internationalization support. icu Issues and PRs related to the ICU dependency. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. labels Aug 7, 2026
@aduh95 aduh95 added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. labels Aug 11, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 11, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@richardlau richardlau added the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 17, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 8b9f89f into nodejs:main Aug 17, 2026
79 of 80 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 8b9f89f

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 17, 2026
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: ulofiai <monsterking@tutamail.com>
PR-URL: #65095
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: ulofiai <monsterking@tutamail.com>
PR-URL: #65095
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
aduh95 pushed a commit that referenced this pull request Aug 27, 2026
Signed-off-by: ulofiai <monsterking@tutamail.com>
PR-URL: #65095
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. i18n-api Issues and PRs related to Node.js internationalization support. icu Issues and PRs related to the ICU dependency. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

window build failure with the latest node v24.2.0 for small-icu

5 participants