Skip to content

Hitting Classic PDB format is not supported on CoreCLR. while using 6.0 version of the ILASM package #45492

Closed

Description

@Anipik

Darc updated the ilasm package version to 6.0 and we started hitting this

EXEC : warning : Classic PDB format is not supported on CoreCLR. [C:\git\runtime3\src\libraries\System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj]

is this expected ?

@dotnet/runtime-infrastructure

Activity

  1. Dotnet-GitSync-Bot commented on Dec 2, 2020

    @Dotnet-GitSync-Bot
    Collaborator

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

  2. added
    untriaged
    on Dec 2, 2020
  3. added
    area-Infrastructure-coreclr
    on Dec 2, 2020
  4. safern commented on Dec 2, 2020

    @safern
    Member

    Maybe something changed in arcade? I saw we hit this on the arcade update, right?

  5. ericstj commented on Dec 2, 2020

    @ericstj
    Member

    Hmm, I'd expect us to be using portable PDBs (as opposed to classic) everywhere now.

  6. ViktorHofer commented on Dec 2, 2020

    @ViktorHofer
    Member

    I might be wrong but could this be connected to @ericstj's change where he stopped producing the old pdb format in libraries?

  7. ericstj commented on Dec 2, 2020

    @ericstj
    Member

    I changed it the other way. That warning indicates that the build is asking ILAsm to produce classic PDB which is not what we want.

  8. ericstj commented on Dec 2, 2020

    @ericstj
    Member

    So here is where the ILSDK maps DebugType property to commandline args to ILAsm, perhaps that needs some work?

    <_IlasmSwitches Condition="'$(DebugType)' == 'Full'">$(_IlasmSwitches) -DEBUG</_IlasmSwitches>
    <_IlasmSwitches Condition="'$(DebugType)' == 'Impl'">$(_IlasmSwitches) -DEBUG=IMPL</_IlasmSwitches>
    <_IlasmSwitches Condition="'$(DebugType)' == 'PdbOnly'">$(_IlasmSwitches) -DEBUG=OPT</_IlasmSwitches>

  9. akoeplinger commented on Dec 3, 2020

    @akoeplinger
    Member

    See the discussion in #45387 (comment)

  10. added
    blocking-clean-ci
    on Dec 3, 2020
  11. safern commented on Dec 3, 2020

    @safern
    Member

    @radical PR #45451 I don't think it hit this error, it actually hit a networking issue on the Browser leg and the other is a test failure (Unless I'm missing something).

    PR #45387 is the PR that is updating the version of ILASM causing this, so I'm going to remove blocking-clean-ci as this is an issue on the ILASM version that we're updating to, but not manifesting on all PRs, just the PR trying to update that version.

  12. removed
    blocking-clean-ci
    on Dec 3, 2020
  13. added and removed
    area-Infrastructure-coreclr
    on Dec 11, 2020
  14. jkotas commented on Dec 11, 2020

    @jkotas
    Member

    This warning is not useful. I think we should get rid of this warning and always emit the portable PDBs.

  15. added a commit that references this issue on Dec 11, 2020
    f85cdcb
  16. ghost added
    in-pr
    on Dec 11, 2020
  17. added a commit that references this issue on Dec 12, 2020
    0cb1b84
  18. ghost removed
    in-pr
    on Dec 12, 2020
  19. ghost locked as resolved and limited conversation to collaborators on Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-ILTools-coreclruntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions