Skip to content

coreclr should use the system copy of libunwind for some builds #380

Closed

Description

@omajid

CoreCLR recently got a bundled copy of libunwind (dotnet/coreclr#17094). For source-build, we should look at whether we want portable builds or not (#302) and use that to decide whether we should use the bundled copy of libunwind or the system-installed copy (dotnet/coreclr#17164).

Effectively, once our copy of coreclr is updated, we should pass along -cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 to the coreclr build if PortableBuild is true.

cc @dleeapho @crummel @aslicerh

Activity

  1. dleeapho commented on Mar 26, 2018

    @dleeapho
    Contributor
  2. self-assigned this
    on Mar 26, 2018
  3. omajid commented on Mar 28, 2018

    @omajid
    MemberAuthor

    I opened up dotnet/coreclr#17250 to see if this can be done completely in coreclr itself.

  4. omajid commented on Apr 2, 2018

    @omajid
    MemberAuthor

    I opened up dotnet/coreclr#17250 to see if this can be done completely in coreclr itself.

    It looks like PortableBuild can not be directly associated with the second concept of UseSystemLibraries. It is possible for one to be true but not the other: dotnet/coreclr#17250 (comment)

    I will open a PR here to implement the second option directly.

  5. changed the title [-]coreclr should use the system copy of libunwind for portable builds[/-] [+]coreclr should use the system copy of libunwind for some builds[/+] on Apr 2, 2018
  6. omajid commented on Apr 12, 2018

    @omajid
    MemberAuthor

    Closing since this was fixed with #391. #416 disables this for Windows.

  7. added this to the milestone on Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions