Repository navigation
26.0.0 fails to build on NetBSD: missing include #63146
Copy link
Copy link
Open
Labels
armIssues and PRs related to the ARM architecture.Issues and PRs related to the ARM architecture.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
Activity
- changed the title
[-]26.0.0 fails to build: missing include[/-][+]26.0.0 fails to build on NetBSD: missing include[/+]on May 7, 2026 If helpful, I believe this is related to building with GCC 16. I believe in earlier GCC versions, including
<vector>or<algorithm>would transitively include<climits>. With 16, if a file uses CHAR_BIT, it must now explicitly#include <climits>.The same failure is also present when building with clang on aarch64 architecture.
Didn't look like anyone had opened an upstream issue yet.
- addedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.armIssues and PRs related to the ARM architecture.Issues and PRs related to the ARM architecture.
on May 13, 2026 github-actions commented
on Aug 12, 2026 on Aug 12, 2026 – with GitHub ActionsContributorMore actionsThis issue has been marked as stale due to 90 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.- addedstaleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
on Aug 12, 2026 Just to keep this from autoclosing: This is still an issue when building 26.7.0 on aarch64 with gcc 16.
- removedstaleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
on Aug 16, 2026 - linked a pull request that will close this issuedeps: V8: cherry-pick 8d14d49c4040 #66627
on Oct 9, 2026
Metadata
Metadata
Assignees
Labels
armIssues and PRs related to the ARM architecture.Issues and PRs related to the ARM architecture.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Version
26.0.0
Platform
Subsystem
No response
What steps will reproduce the bug?
Build NodeJS 26.0.0 on NetBSD
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Build proceeds
What do you see instead?
Build fails with:
Additional information
Fix: