Skip to content
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

Suppress clang-16 warnings #81573

Merged
merged 3 commits into from
Feb 4, 2023
Merged

Suppress clang-16 warnings #81573

merged 3 commits into from
Feb 4, 2023

Conversation

am11
Copy link
Member

@am11 am11 commented Feb 2, 2023

Found these on Ubuntu 22.04 amd64 with clang-16 (RC1).

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Feb 2, 2023
@ghost
Copy link

ghost commented Feb 2, 2023

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

Found these on Ubuntu 22.04 amd64 with clang-16 (RC1).

Author: am11
Assignees: -
Labels:

area-Infrastructure, community-contribution

Milestone: -

@am11 am11 force-pushed the feature/native/clang-16 branch 2 times, most recently from 62669aa to 4fe0733 Compare February 4, 2023 01:10
@am11
Copy link
Member Author

am11 commented Feb 4, 2023

Mono failure is unrelated: #81123

@jkotas jkotas merged commit b673aae into dotnet:main Feb 4, 2023
mikem8361 added a commit to mikem8361/runtime that referenced this pull request Feb 22, 2023
Part of PR dotnet#81573 needed to be undone to build libmscordbi.so without
any undefined symbols from the DAC. The DAC_PAL_RegisterModule, etc. stubs I recommended didn't work and DBI
could not be loaded by SOS because of missing exports.

The double pass at the libraries from the `target_link_libraries(mscordbi ${COREDBI_LIBRARIES} ${COREDBI_LIBRARIES})`
cmake file needed to be restored. The stubs were not needed after that.
mikem8361 added a commit that referenced this pull request Feb 22, 2023
* Fix DBI loading problem on Linux

Part of PR #81573 needed to be undone to build libmscordbi.so without
any undefined symbols from the DAC. The DAC_PAL_RegisterModule, etc. stubs I recommended didn't work and DBI
could not be loaded by SOS because of missing exports.

The double pass at the libraries from the `target_link_libraries(mscordbi ${COREDBI_LIBRARIES} ${COREDBI_LIBRARIES})`
cmake file needed to be restored. The stubs were not needed after that.

* Fix clang16 build problems
@ghost ghost locked as resolved and limited conversation to collaborators Mar 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants