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

Packaging-related issues for .NET 5.0 #1645

Closed
omajid opened this issue Jul 8, 2020 · 2 comments
Closed

Packaging-related issues for .NET 5.0 #1645

omajid opened this issue Jul 8, 2020 · 2 comments

Comments

@omajid
Copy link
Member

omajid commented Jul 8, 2020

I have started working on creating a .NET 5.0 package for Fedora based on source-build. I am using this issue to track all the individual issues. Some of them may also be tracked separately.

  1. The just-built SDK contains no native/unmanaged debug information. Looks like all information has been stripped from the just-built SDK.

    runtime somehow lost the ability to keep debug info. It also lost flags to configure whether to keep debug info.

    For now, hacking around the strip_symbol and install_with_stripped_symbols in runtime/eng/native/functions.cmake things work: https://gist.github.com/omajid/3033f0d77c4e6d58fd2fffb0da685c12#file-runtime-dont-strip-patch

    A more correct/flexible fix needs to be merged into runtime.

  2. Fedora's LDFLAGS break runtime build.

    I tried a quick hack (https://gist.github.com/omajid/3033f0d77c4e6d58fd2fffb0da685c12#file-cflags-patch) for Let builders provide customized CFLAGS for use by the runtime build  runtime#35727 and that seems to have fixed it 🤷

  3. Private.SourceBuilt.Artifacts.*.tar.gz is missing.

@omajid
Copy link
Member Author

omajid commented Jul 8, 2020

cc @tmds @RheaAyase @aslicerh

@omajid
Copy link
Member Author

omajid commented Jul 15, 2020

@omajid omajid closed this as completed Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant