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

Fix source build (CLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE) #39417

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

mikem8361
Copy link
Member

@mikem8361 mikem8361 commented Jul 16, 2020

Summary
Fix #2014

Adds back ELF unwind info parsing code that has been around since 3.0 so it is fairly well tested. It is conditional on CLR_CMAKE_USE_SYSTEM_LIBUNWIND, otherwise, PAL_VirtualUnwindOutOfProc uses the new libunwind8 _OOP_find_proc_info function.

Customer Impact
The source build for RHEL will fail if they want to use the system libunwind instead of the one in our sources.

Regression
N/A

Risk
Very low. The code added back was in the product since 3.0.

Fixes issue ##2014

@hoyosjs Yes. This is for sourcebuild. The impact is that RedHat has requested that we use the local system's libunwind for portable builds. See dotnet/source-build#391 The OS that I'm using to build this is CentOS.

Adds back ELF unwind info parsing code that has been around since 3.0 so it is fairly well tested. It is conditional on CLR_CMAKE_USE_SYSTEM_LIBUNWIND, otherwise, PAL_VirtualUnwindOutOfProc uses the new libunwind8 _OOP_find_proc_info function.

Fixes issue #dotnet#2014

Adds back ELF unwind info parsing code that has been around since 3.0 so it is fairly well tested. It is conditional on CLR_CMAKE_USE_SYSTEM_LIBUNWIND, otherwise, PAL_VirtualUnwindOutOfProc uses the new libunwind8 _OOP_find_proc_info function.
@ghost
Copy link

ghost commented Jul 16, 2020

Tagging subscribers to this area: @tommcdon
Notify danmosemsft if you want to be subscribed.

@mikem8361 mikem8361 requested a review from sdmaclea July 16, 2020 06:20
@mikem8361
Copy link
Member Author

This PR is for preview 8.

@mikem8361
Copy link
Member Author

Summary

Fix #2014

Adds back ELF unwind info parsing code that has been around since 3.0 so it is fairly well tested. It is conditional on CLR_CMAKE_USE_SYSTEM_LIBUNWIND, otherwise, PAL_VirtualUnwindOutOfProc uses the new libunwind8 _OOP_find_proc_info function.

Customer Impact

The source build for RHEL will fail if they want to use the system libunwind instead of the one in our sources.

Regression

N/A

Risk

Very low. The code added back was in the product since 3.0.

@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Jul 16, 2020
@mikem8361 mikem8361 merged commit 5d0fbba into dotnet:release/5.0-preview8 Jul 16, 2020
@mikem8361 mikem8361 deleted the sourcebuild2 branch July 16, 2020 17:28
@jamshedd jamshedd added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jul 16, 2020
@jamshedd jamshedd added this to the 5.0 Preview 8 milestone Jul 16, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants