Conversation
|
Review requested:
|
|
Need #52152 otherwise ubsan doesn't run on the PR |
|
It landed so you can rebase on main now |
f150ab8 to
5efaa76
Compare
|
Run without this PR for comparison: https://github.com/nodejs/node/actions/runs/8372351086/job/22923148679 |
|
It took less time to compile, but it took much longer to test and it broke. I don't have much knowledge on this topic, so do you think there's something we can do to try and fix it, or does |
|
@lemire maybe has some knowledge on this |
|
To my knowledge, ubsan works with both clang and gcc. |
|
@H4ad Does it work locally for you, or does it only fail in CI? |
|
Here's part of the error log: |
|
@targos One of those warnings is legitimate: I don't think it is a bug per se because no compiler would do the wrong thing here. But it seems to indicate that the tool is doing its work. |
RafaelGSS
left a comment
There was a problem hiding this comment.
clang doesn't accept specific operators for suppression files. That's why I switched to g++. Are the actions running out of memory?
I just compiled locally but didn't try to run the tests for
No, I just thought we could use That being the case, I will close this PR, thanks for the feedback! |
Use
clanginstead ofg++as we do fortest-asansince it appears to use less memory, and probably should build faster too, refs: #32776