Skip to content

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

Open
ulofiai wants to merge 1 commit into
nodejs:mainfrom
ulofiai:fix/issue-58751
Open

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

Conversation

@ulofiai

@ulofiai ulofiai 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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

2 participants