V8 started to depend on LLVM's libm

Open
#308 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp
Domain
build-system

Research direction

Start with the failing V8 build action and deps/v8/src/base/ieee754.cc, where the missing third_party/llvm-libc/src/shared/math.h include is reported. Review the linked Chromium change that introduced LLVM's libm dependency and inspect how this mirror obtains V8 sources. Done means the affected build completes without the missing-header error.

Written by the indexing model from the issue text.

Description

https://github.com/nodejs/node-v8/actions/runs/25719364307/job/75516558363

v8/out/Release/obj.target/v8_libbase/deps/v8/src/base/numbers/bignum-dtoa.o
../deps/v8/src/base/ieee754.cc:36:10: fatal error: 'third_party/llvm-libc/src/shared/math.h' file not found
   36 | #include "third_party/llvm-libc/src/shared/math.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Broken since May 9. Caused by https://chromium-review.googlesource.com/c/v8/v8/+/7828379 which started using LLVM's libm in V8

Dominant language
Shell
Stars
466
Forks
75
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodejs/node-v8

All issues in nodejs/node-v8

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.