Skip to content

Suppress clang-16 warnings - #81573

Merged
jkotas merged 3 commits into
dotnet:mainfrom
am11:feature/native/clang-16
Feb 4, 2023
Merged

Suppress clang-16 warnings#81573
jkotas merged 3 commits into
dotnet:mainfrom
am11:feature/native/clang-16

Conversation

@am11

@am11am11 commented Feb 2, 2023

Copy link
Copy Markdown
Member

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

@ghost

ghost commented Feb 2, 2023

Copy link
Copy Markdown

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.

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

ghost commented Feb 2, 2023

Copy link
Copy Markdown

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:-

Comment threadeng/common/native/init-compiler.sh Outdated
Comment threadsrc/coreclr/dlls/mscordbi/CMakeLists.txt Outdated
Comment threadsrc/native/corehost/apphost/static/singlefilehost_freebsdexports.src Outdated
Comment threadeng/native/configurecompiler.cmake Outdated
Comment threadsrc/coreclr/dlls/mscordac/mscordac_unixexports.src Outdated
@am11
am11force-pushed the feature/native/clang-16 branch 2 times, most recently from 62669aa to 4fe0733CompareFebruary 4, 2023 01:10
@am11
am11force-pushed the feature/native/clang-16 branch from 646ba71 to dced5d0CompareFebruary 4, 2023 09:50
@am11

am11 commented Feb 4, 2023

Copy link
Copy Markdown
MemberAuthor

Mono failure is unrelated: #81123

@jkotas
jkotas merged commit b673aae into dotnet:mainFeb 4, 2023
mikem8361 pushed 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 pushed 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
@ghostghost locked as resolved and limited conversation to collaborators Mar 7, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructurecommunity-contributionIndicates 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

@am11@jkotas@mikem8361@janvorli@AaronRobinsonMSFT