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

[SR-10439] Ship symbolicate-linux-fatal #290

Open
swift-ci opened this issue Apr 10, 2019 · 5 comments
Open

[SR-10439] Ship symbolicate-linux-fatal #290

swift-ci opened this issue Apr 10, 2019 · 5 comments

Comments

@swift-ci
Copy link

Previous ID SR-10439
Radar None
Original Reporter ianpartridge (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 5
Component/s Docker, Project Infrastructure
Labels Bug
Assignee None
Priority Medium

Watchers: @shahmishal

md5: b70e4bc8c5a95aa69789daa6406a012b

Issue Description:

https://github.com/apple/swift/blob/8e5dbcfde21fc8d708e607892497e3507483f878/utils/symbolicate-linux-fatal is a very useful script for symbolicating stacktraces on Linux.

Currently it is only available from GitHub and is not shipped as part of the Linux toolchains or releases.

We should include symbolicate-linux-fatal in our toolchains and releases - that way it will be available in the Swift Docker images.

A suitable location for it might be /usr/share/swift - where we already ship the LICENSE.

@swift-ci
Copy link
Author

Comment by Ian Partridge (JIRA)

If someone can point me at where the Linux .tar.gz package is created I can have a go at doing this.

@belkadan
Copy link

I feel a little weird shipping general symbolication utilities as part of Swift. Shouldn't that be provided by the platform? On the other hand, maybe we can consider it part of LLDB.

@swift-ci
Copy link
Author

Comment by Ian Partridge (JIRA)

Yeah we already ship LLDB (and the LLDB Python module) so I see this as part of the same story.

@swift-ci
Copy link
Author

Comment by Ian Partridge (JIRA)

@shahmishal Can you point me at where the Linux .tar.gz is created? Is the packaging OSS?

@shahmishal
Copy link
Member

ianpartridge (JIRA User) You can use https://github.com/apple/swift/blob/master/utils/build-toolchain to build the toolchain for macOS and Linux.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants