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
[SR-1202] Use instructions on Swift.org Do Not Work for Debug-enabled Toolchain #43810
Comments
Comment by Hitster GTD (JIRA) |
@gribozavr, Hitster's suspicion that the debugging symbols go on top of the release toolchain is correct, yes? |
Yes, debug symbols are an overlay package. |
hitstergtd (JIRA User) Note that the debug symbols are for debugging the toolchain itself. Just to confirm, is this what you are trying to do? |
Comment by Hitster GTD (JIRA) @belkadan, @gribozavr, There are two ways to fix this:
If the Swift website was on GitHub, I would just send a pull request. Now there is an idea. 🙂 |
CC amartini (JIRA User) and @natecook1000 for suggested website changes. |
Comment by Hitster GTD (JIRA) Thanks! Maybe we can close the two open SRs related to this as well, now that they are linked to this issue? |
Attachment: Download
Environment
Swift: Trunk Development (master)
OS X El Capitan
Darwin 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
Additional Detail from JIRA
md5: 80a37bffd10e910ba9d3ed6d2da0ed6d
cloned from:
relates to:
Issue Description:
Presently it is not possible to use the latest Debug-enabled toolchain with command-line tools as per the instructions at Swift.org/downloads.
Reproducing the Problem:
First error that happens:
After applying my workaround the following happens:
More information:
Why is it Happening?:
After some investigation earlier on, it seems this is happening because the Debug build of swift-latest is missing key files, but not been able to track down the commit as of yet.
Key files and symlinks that are present for LLDB in the Release build are not available in the Debug build called "Debugging Symbols", which affects the @rpath for dyld(1)
Required Files and Symlinks that are not present in the Swift Debug Build but should be:
Most of the Python/lldb module files are also missing in the Debug build
There may be other files missing as well; please see attached diff for breakdown of files missing in Debug the build
Summary:
If the Debugging Symbols package is meant to be installed AFTER the normal Release package, then this should be made very clear in the Swift.org instructions
Although, I can't see why we the Debugging Symbols package should not be self-sufficient download/package
The text was updated successfully, but these errors were encountered: