-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[release/7.0] Suppress clang-16 warnings (backport #81573) #84444
[release/7.0] Suppress clang-16 warnings (backport #81573) #84444
Conversation
It needs the DBI fix: #82461. |
60dfa30
to
b5b3114
Compare
Done :) |
- Backports https://github.com/dotnet/runtime/pull/81573
+ Backports https://github.com/dotnet/runtime/pull/81573 and https://github.com/dotnet/runtime/pull/82461 Otherwise, LGTM. 👍 cc @mikem8361 |
The backport workflow has changed. I think this PR should target See: runtime/.github/workflows/backport.yml Line 33 in 531bf3c
|
7cce9c8
to
231f88f
Compare
@jeffschwMSFT do you know who can help champion this? Today is code complete for the May release. If we want to include this change in that release, we would need it to be ready to merge by 4pm PT today:
|
@tommcdon can you take a look and request folks to code review? Let's plan on having ready for review in tactics on Tue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that, LGTM
# other clang 16.0 suppressions | ||
add_compile_options(-Wno-single-bit-bitfield-constant-conversion) | ||
add_compile_options(-Wno-cast-function-type-strict) | ||
add_compile_options(-Wno-incompatible-function-pointer-types-strict) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know what needs this? I can't seem to find this needed in any other place. I also didn't see it on lld's man page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This came up when trying to build on Alpine Linux with clang 16. I reported it in #81577 to not forget to investigate.
do we understand the ci failures? |
A fair amount of them are #80619. Analysis is hard because of dotnet/arcade#13066 |
Adding @agocke for the nativeaot related changes |
There is no NativeAOT change in this PR. :) |
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsCustomer impactWithout this, .NET 7 fails to build on platforms that use clang-16 TestingTested on CI and manually on Alpine Linux edge. RiskLow. The flag that is set makes the compiler less strict.
|
Hey all, today is Code Complete for the June Release. If this good to merge, please help merge the PR. @agocke, @hoyosjs @mikem8361 . |
Backports #81573 and #82461
Customer impact
Without this, .NET 7 fails to build on platforms that use clang-16
Testing
Tested on CI and manually on Alpine Linux edge.
Risk
Low. The flag that is set makes the compiler less strict.
@am11 @omajid ptal.