Title: 26.0.0 fails to build on NetBSD: missing include · Issue #63146 · nodejs/node · GitHub
Open Graph Title: 26.0.0 fails to build on NetBSD: missing include · Issue #63146 · nodejs/node
X Title: 26.0.0 fails to build on NetBSD: missing include · Issue #63146 · nodejs/node
Description: Version 26.0.0 Platform NetBSD virtual 11.99.6 NetBSD 11.99.6 (GENERIC64) #0: Mon May 4 09:49:31 CEST 2026 Subsystem No response What steps will reproduce the bug? Build NodeJS 26.0.0 on NetBSD How often does it reproduce? Is there a req...
Open Graph Description: Version 26.0.0 Platform NetBSD virtual 11.99.6 NetBSD 11.99.6 (GENERIC64) #0: Mon May 4 09:49:31 CEST 2026 Subsystem No response What steps will reproduce the bug? Build NodeJS 26.0.0 on NetBSD How...
X Description: Version 26.0.0 Platform NetBSD virtual 11.99.6 NetBSD 11.99.6 (GENERIC64) #0: Mon May 4 09:49:31 CEST 2026 Subsystem No response What steps will reproduce the bug? Build NodeJS 26.0.0 on NetBSD How...
Opengraph URL: https://github.com/nodejs/node/issues/63146
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"26.0.0 fails to build on NetBSD: missing include","articleBody":"### Version\n\n26.0.0\n\n### Platform\n\n```text\nNetBSD virtual 11.99.6 NetBSD 11.99.6 (GENERIC64) #0: Mon May 4 09:49:31 CEST 2026\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\nBuild NodeJS 26.0.0 on NetBSD\n\n### How often does it reproduce? Is there a required condition?\n\nAlways\n\n### What is the expected behavior? Why is that the expected behavior?\n\nBuild proceeds\n\n### What do you see instead?\n\nBuild fails with:\n\n```\n../deps/v8/src/base/memcopy.h: In function 'void v8::base::SimdMemCopy(void*, const void*, size_t)':\n../deps/v8/src/base/memcopy.h:57:23: error: 'CHAR_BIT' was not declared in this scope\n 57 | sizeof(count) * CHAR_BIT - bits::CountLeadingZeros(count - 1);\n | ^~~~~~~~\n../deps/v8/src/base/memcopy.h:21:1: note: 'CHAR_BIT' is defined in header '\u003cclimits>'; this is probably fixable by adding '#include \u003cclimits>'\n```\n\n### Additional information\n\nFix:\n\n```\n--- deps/v8/src/base/memcopy.h.orig\t2026-05-06 07:22:58.678410124 +0000\n+++ deps/v8/src/base/memcopy.h\n@@ -5,6 +5,7 @@\n #ifndef V8_BASE_MEMCOPY_H_\n #define V8_BASE_MEMCOPY_H_\n \n+#include \u003cclimits>\n #include \u003cstdlib.h>\n \n #include \u003catomic>\n```","author":{"url":"https://github.com/moubctez","@type":"Person","name":"moubctez"},"datePublished":"2026-05-06T07:48:07Z","url":"https://github.com/nodejs/node/issues/63146"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1a59ab03-386c-1e5a-a957-12640bb2fcf5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC06:C8434:3F2E01:51E075:6AED2111 |
| html-safe-nonce | 76868e744252157669901498b839ae3d3897e74a449ce110156d1c7091cbd330 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzA2OkM4NDM0OjNGMkUwMTo1MUUwNzU6NkFFRDIxMTEiLCJ2aXNpdG9yX2lkIjoiMTAzMDM2NTQ5NTA3NzcwODA0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6198ee5f12fb45a80f4f974a6fee32b9c92826683b098930b448e4118241c633 |
| hovercard-subject-tag | issue:4389666139 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/63146/issue_layout |
| twitter:image | https://opengraph.githubassets.com/608de8b3f4f1293f932fd744927abc07390c459d6e73d4995de23ba6c5029bbd/nodejs/node/issues/63146 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/608de8b3f4f1293f932fd744927abc07390c459d6e73d4995de23ba6c5029bbd/nodejs/node/issues/63146 |
| og:image:alt | Version 26.0.0 Platform NetBSD virtual 11.99.6 NetBSD 11.99.6 (GENERIC64) #0: Mon May 4 09:49:31 CEST 2026 Subsystem No response What steps will reproduce the bug? Build NodeJS 26.0.0 on NetBSD How... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | moubctez |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 707a24b346ac8a82878b9c084efaa38a997660cb |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width