Title: node/deps/uv/src/uv-common.c fails to compile with current Xcode, needs libuv cherry-pick · Issue #63196 · nodejs/node · GitHub
Open Graph Title: node/deps/uv/src/uv-common.c fails to compile with current Xcode, needs libuv cherry-pick · Issue #63196 · nodejs/node
X Title: node/deps/uv/src/uv-common.c fails to compile with current Xcode, needs libuv cherry-pick · Issue #63196 · nodejs/node
Description: Version today's trunk Platform % uname -a Darwin Mac 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 arm64 Subsystem No response What steps will reproduce the bug? I hit this...
Open Graph Description: Version today's trunk Platform % uname -a Darwin Mac 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 arm64 Subsystem No response What ...
X Description: Version today's trunk Platform % uname -a Darwin Mac 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 arm64 Subsystem No response W...
Opengraph URL: https://github.com/nodejs/node/issues/63196
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"node/deps/uv/src/uv-common.c fails to compile with current Xcode, needs libuv cherry-pick","articleBody":"### Version\n\ntoday's trunk\n\n### Platform\n\n```text\n% uname -a\nDarwin Mac 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 arm64\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\nI hit this while building (using v8's node-ci repo):\n\n```\n% time make node\ntools/gn-gen.py out/Release\nicu_use_data_file = false\nis_debug=false\nsymbol_level=0\nis_component_build=false\nnode_use_node_code_cache=true\nv8_imminent_deprecation_warnings=false\nautoninja -C out/Release test_all\noffline mode\nninja: Entering directory `out/Release'\n[1947/5053] 15.17s F CC obj/node/deps/uv/uv/uv-common.o\nFAILED: 7d32fd66-6ea4-4423-9cf3-d221c32b72a2 \"./obj/node/deps/uv/uv/uv-common.o\" CC obj/node/deps/uv/uv/uv-common.o\nerr: exit=1\n../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/node/deps/uv/uv/uv-common.o.d -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=3 -D__ARM_NEON__=1 -DCR_XCODE_BUILD=17C52 -DCR_CLANG_REVISION=\\\"llvmorg-23-init-10931-g20b6ec66-1\\\" -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_INSTRUMENTED_WITH_ASAN=0 -DCR_LIBCXX_REVISION=cb9c06560a6821f4d8272805df1bb4eb39ba9a2c -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBUILDING_UV_SHARED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -DUSE_LIBCXX_MODULES -I../.. -Igen -I../../node/deps/uv/include -I../../node/deps/uv/src -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wgnu -Wno-gnu-anonymous-struct -Wno-gnu-conditional-omitted-operand -Wno-gnu-include-next -Wno-gnu-label-as-value -Wno-gnu-redeclared-enum -Wno-gnu-statement-expression -Wno-gnu-zero-variadic-macro-arguments -Wno-zero-length-array -Wthread-safety -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wno-nontrivial-memcall -Wno-uninitialized-const-pointer -Wno-unused-but-set-global -Wshadow -Werror -fno-delete-null-pointer-checks -fno-strict-overflow -fno-ident -fno-math-errno -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fdiagnostics-show-inlining-chain -fmerge-all-constants -fcrash-diagnostics-dir=../clang-crashreports -fno-lifetime-dse -mllvm -instcombine-lower-dbg-declare=0 -mllvm -split-threshold-for-reg-with-hint=0 -ffp-contract=off -fcomplete-member-pointers --target=arm64-apple-macos -mno-outline -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -Xclang -fmodule-file-home-is-cwd -Xclang -fmodules-cache-path=/not_exist_dummy_dir -ftrivial-auto-var-init=pattern -O2 -fno-omit-frame-pointer -g0 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk -mmacos-version-min=11.0 -fsanitize=array-bounds -fsanitize-trap=array-bounds -fsanitize-ignore-for-ubsan-feature=array-bounds -Wno-unsafe-buffer-usage-in-static-sized-array -fsanitize=return -fsanitize-trap=return -fsanitize-ignore-for-ubsan-feature=return -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -fvisibility=default -std=c11 -Wno-deprecated-declarations -Wno-extra-semi -Wno-implicit-fallthrough -Wno-missing-braces -Wno-sign-compare -Wno-string-conversion -Wno-shadow -Wno-unreachable-code -Wno-unreachable-code-return -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-result -Wno-unused-variable -c ../../node/deps/uv/src/uv-common.c -o obj/node/deps/uv/uv/uv-common.o\nbuild step: cc \"./obj/node/deps/uv/uv/uv-common.o\"\nstderr:\n../../node/deps/uv/src/uv-common.c:960:14: error: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]\n 960 | uv__free(cpu_infos[i].model);\n | ^~~~~~~~~~~~~~~~~~\n../../node/deps/uv/src/uv-common.c:81:21: note: passing argument to parameter 'ptr' here\n 81 | void uv__free(void* ptr) {\n | ^\n1 error generated.\n\nbuild failed\n```\n\nThis is fixed in upstream uv here: https://github.com/libuv/libuv/pull/5052 / https://github.com/libuv/libuv/commit/a43e543dbffba93f014fe8360a5edbe8d6ce8500\n\nNode might want to cherry-pick that commit.\n\n### How often does it reproduce? Is there a required condition?\n\nIt's a build error, so every time.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nShould build.\n\n### What do you see instead?\n\nSee above.\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/nico","@type":"Person","name":"nico"},"datePublished":"2026-05-08T12:35:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/63196/node/issues/63196"}
| 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:25a6713d-5915-2dc8-3b3d-7c3a580e393b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC42:1E311A:27A7ACE:3925FD9:6A4D2182 |
| html-safe-nonce | 028c413589b308d8ad3d93b463b620ef633ddd142eb5f9c6f6492a0545e45cf6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzQyOjFFMzExQToyN0E3QUNFOjM5MjVGRDk6NkE0RDIxODIiLCJ2aXNpdG9yX2lkIjoiMjQ3MzU1OTQzNTIwNjUzMzUwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a391be083982a7efb5865671e29cf82907e7ea19f3de59f32919007c9824eddc |
| hovercard-subject-tag | issue:4406432012 |
| 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/63196/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af909e4b9c37310f094ec4a6ba2d8928ac7ad993d78e6c93a1d6a044209ef032/nodejs/node/issues/63196 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af909e4b9c37310f094ec4a6ba2d8928ac7ad993d78e6c93a1d6a044209ef032/nodejs/node/issues/63196 |
| og:image:alt | Version today's trunk Platform % uname -a Darwin Mac 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 arm64 Subsystem No response What ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nico |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width