-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASAN build does not work #55583
Comments
FWIW, the x86_64 linux asan build doesn't work either (for me, at least). It does build but hits an asan runtime bug when you start node. Does V8 have working asan builds in their CI matrix? |
https://ci.chromium.org/ui/p/v8/builders?q=asan I think so |
@codebytere Do you think it is because of Sequoia? I can build the whole thing w/ your config (using Ninja).
|
@juanarbol Confirmed as a macOS SDK issue - https://issues.chromium.org/issues/367764848. I'll try to see if I can fix it in Node.js. This line is the problem: node/deps/v8/src/heap/cppgc/platform.cc Line 97 in 1d29d81
|
Agree that this is a macOS SDK issue. But it seems like in Node.js, the issue is different from Chromium's since we don't link $ otool -L out/Release/node_mksnapshot
out/Release/node_mksnapshot:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 3107.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1800.101.0)
@rpath/libclang_rt.asan_osx_dynamic.dylib (compatibility version 0.0.0, current version 0.0.0) |
Huh, I'm taking a look. |
After removing CoreFoundation, System stills linking
|
I don't think we can get rid of
|
@juanarbol my understanding all we need is for |
Version
main
Platform
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior? Why is that the expected behavior?
The build to complete successfully.
What do you see instead?
With ninja
With ninja
With Cmake
Additional information
I can get it to build if i pass
--without-node-snapshot
, but then i hit the same runtime issue as @bnoordhuis.The text was updated successfully, but these errors were encountered: