Skip to content

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

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
ulofiai:fix/issue-58751
Aug 17, 2026
Merged

build: pass target architecture to small-icu genccode#65095
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
ulofiai:fix/issue-58751

Conversation

@ulofiai

@ulofiai ulofiai commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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 the i18n implementation. 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 that have at least one approval, no pending requests for changes, and a CI started. 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 Add this label to land a pull request using GitHub Actions. 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 Add this label to land a pull request using GitHub Actions. label Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. i18n-api Issues and PRs related to the i18n implementation. 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

6 participants