-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Implement debug symbol generation during the build process for macOS. #21734
Comments
UpdateAfter the investigation I can be determined that |
UpdateAfter the modifications made in the code, we are getting the debug symbols separated from the binaries in
But in the compilation I am getting this output:
Initially I thought it was because in the branch I was testing it was not generating the debug symbols, but when testing it with the branch 21734-add-debug-symbols-macos, I also get this same message. I was verifying in this branch before adding the changes and when compiling, the resulting binaries do have the debug symbols as you can verify here:
And after having separated the debug symbols from the binaries, you get this output with
|
ETA is delayed because some checks failed in the PR and must be investigated and resolved, so there was not enough time for the review. |
UpdateAfter some tests, I was able to determine that with the changes that had been made previously, the This modification adds the following message at the end of the compilation:
Testing the compilation on Linux, the following message is generated:
At the moment I am still looking for the reason why the tests fail in the PR. |
UpdateIn the PR several checks have been failing, after analyzing it a lot and trying several things, I created a branch in the Local test execution
|
UpdateWhat happened was that as the last commit had been set before creating the branch in the |
ETA is delayed due to changes made to the base branch, from base branch |
UpdateChanges made in the |
Description
Currently, maxOS packages generated do not include debug symbols, which can hinder debugging efforts when issues arise. This issue aims to implement the necessary steps to generate packages with debug symbols for macOS packages.
Proposed Solution
Research guidelines
Research on how we are currently compiling for macOS should be done.
A good understanding of the compiling process (which is different on macOS than on Linux) will be necessary.
A fast search indicated that for macOS debug symbols are always created separated from the binary, and then must be joined by using the
dsymutil
tool to bring them together. This might simplify this issue if found to be true.Definition of Done
The text was updated successfully, but these errors were encountered: