-
Notifications
You must be signed in to change notification settings - Fork 13.4k
SanitizerCommon-ubsan-*-Linux :: sanitizer_coverage_*.cpp
test failures (glibc 2.39?)
#82883
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
Labels
Milestone
Comments
Also affects 18.1.0rc3, so it'd be nice to either have a last minute fix there, or an XFAIL. |
MaskRay
added a commit
that referenced
this issue
Mar 6, 2024
glibc 2.39 added `nonnull` attribute to most libio functions accepting a `FILE*` parameter, including fprintf[1]. The -fsanitize=undefined mode checks the argument to fprintf and has extra counters, not expected by two tests. Specify -fno-sanitize=nonnull-attribute to make the two tests pass. Fix #82883 [1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=64b1a44183a3094672ed304532bedb9acc707554 Pull Request: #84231
/cherry-pick c3acbf6 |
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Mar 6, 2024
glibc 2.39 added `nonnull` attribute to most libio functions accepting a `FILE*` parameter, including fprintf[1]. The -fsanitize=undefined mode checks the argument to fprintf and has extra counters, not expected by two tests. Specify -fno-sanitize=nonnull-attribute to make the two tests pass. Fix llvm#82883 [1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=64b1a44183a3094672ed304532bedb9acc707554 Pull Request: llvm#84231 (cherry picked from commit c3acbf6)
/pull-request #84239 |
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Mar 11, 2024
glibc 2.39 added `nonnull` attribute to most libio functions accepting a `FILE*` parameter, including fprintf[1]. The -fsanitize=undefined mode checks the argument to fprintf and has extra counters, not expected by two tests. Specify -fno-sanitize=nonnull-attribute to make the two tests pass. Fix llvm#82883 [1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=64b1a44183a3094672ed304532bedb9acc707554 Pull Request: llvm#84231 (cherry picked from commit c3acbf6)
qihangkong
pushed a commit
to rvgpu/llvm
that referenced
this issue
Apr 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Three new failures while testing HEAD as of 60a904b. I'm guessing this is because I've upgraded my system to glibc 2.39.
CC @MaskRay
The text was updated successfully, but these errors were encountered: