#9 Improving debuginfo for .NET Core packages
Closed None Opened 7 years ago by omajid.

dotnet-clean doesn't produce a -debuginfo subpackage. We should fix that.

  • Don't disable -debuginfo subpackage
  • Don't produce .so.dbg files (or any other file containing native debug information)
  • Don't strip debug information from native binaries (including .so files) during build

I will look into this, hopefully before the weekend. :)

Relevant CoreCLR patch for putting debug info into .so files. (omajid)

debuginfo.patch

Had to make my own patch file, but included one made it very easy. The patch is in the tree. I'm not sure though, because I'm patching the rhel path. Maybe it is better to add 25 under Fedora and patch that?

New build is in dotnet-clean (just building now), and the relevant patch is in the tree. Package size went from 85MB to 45MB with a 40MB debuginfo RPM. :)

https://copr.fedorainfracloud.org/coprs/nmilosev/dotnet-clean/build/510147/

Didn't bump the spec version, so please reinstall.

Metadata Update from @rhea:
- Issue tagged with: package

Closing this one, solved!

Metadata Update from @rhea:
- Issue assigned to nmilosev
- Issue tagged with: package

5 years ago

Login to comment on this ticket.