You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This alone didn't fix the issue (no math.h generated in deps/v8/third_party/llvm-libc/), but I think something along those lines should be the way to go. For instance deps/v8/third_party/jsoncpp/generated/version.h is maybe generated in a similar manner, but I need to look at it further (and my understanding of GN is outdated, to put it mildly).
Activity
[-]`third_party/llvm-libc/src/shared/math.h` not found[/-][+]V8 started to depend on LLVM's libm[/+]joyeecheung commentedon May 12, 2026
@MayaLekova is going to take a look
targos commentedon May 12, 2026
I mentioned this on the v8-canary Slack channel. I have made some fixes that work locally.
targos commentedon May 12, 2026
Gyp change: nodejs/node@bd4661e
node-core-utils PR: nodejs/node-core-utils#1073
MayaLekova commentedon May 12, 2026
Thanks for including me!
I reproduced the missing header error locally and tried applying a change in
deps/v8/third_party/llvm-libc/BUILD.gnsimilar toas per advice in this CL: https://chromium-review.googlesource.com/c/v8/v8/+/7828379.
This alone didn't fix the issue (no
math.hgenerated indeps/v8/third_party/llvm-libc/), but I think something along those lines should be the way to go. For instancedeps/v8/third_party/jsoncpp/generated/version.his maybe generated in a similar manner, but I need to look at it further (and my understanding of GN is outdated, to put it mildly).joyeecheung commentedon May 13, 2026
Note that in Node.js we don't use gn, the builds are done through gyp.