Skip to content

Conversation

@omajid
Copy link
Member

@omajid omajid commented Mar 14, 2022

When packaging .NET on s390x through source-build, we want to keep debug
symbols enabled in the build. The package manager (debbuild, rpmbuild,
etc) generally strips the binaries to create distro-standard
-debug/-debuginfo packages. This was supported in coreclr via
--keepnativesymbols flag, but wasn't supported in mono (ie, s390x). Fix
that.

When packaging .NET on s390x through source-build, we want to keep debug
symbols enabled in the build. The package manager (debbuild, rpmbuild,
etc) generally strips the binaries to create distro-standard
-debug/-debuginfo packages. This was supported in coreclr via
--keepnativesymbols flag, but wasn't supported in mono (ie, s390x). Fix
that.
@omajid omajid requested a review from marek-safar as a code owner March 14, 2022 16:12
@ghost ghost added area-Build-mono community-contribution Indicates that the PR has been added by a community member labels Mar 14, 2022
@omajid
Copy link
Member Author

omajid commented Mar 14, 2022

@uweigand I only tested this on x64, can you help me confirm that this works on s390x as well? I have been building with

CXXFLAGS=-g CFLAGS=-g ./build.sh -c Release --keepnativesymbols true

And looking at the presence of debug symbols in "libcoreclr.so"

@omajid
Copy link
Member Author

omajid commented Mar 25, 2022

I have verified this on s390x.

The mono llvmfullaot errors look unrelated, can anyone confirm?

@omajid
Copy link
Member Author

omajid commented Apr 1, 2022

@marek-safar @uweigand can you please take a look at this?

@marek-safar marek-safar requested a review from directhex April 4, 2022 08:04
@marek-safar
Copy link
Contributor

@directhex how does this look to you?

@omajid
Copy link
Member Author

omajid commented Apr 13, 2022

@omajid
Copy link
Member Author

omajid commented May 10, 2022

Any thoughts, @directhex?

@directhex directhex merged commit 29e3bf0 into dotnet:main May 16, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Build-mono community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants